ApiSetQueryApiSetPresenceEx - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTMISC_H

/**
 * The ApiSetQueryApiSetPresenceEx routine determines whether an API set is present and defined in the API set schema.
 *
 * \param[in] Namespace The API set namespace name to query.
 * \param[out] IsInSchema Pointer to a variable that receives TRUE if the API set is defined in the schema.
 * \param[out] Present Pointer to a variable that receives TRUE if the API set is present.
 * \return NTSTATUS Successful or errant status; inspect the separate BOOLEAN outputs for presence.
 * \remarks Distinguishes schema membership from a usable host mapping without loading a DLL. The native
 * entry returns NTSTATUS; IsInSchema and Present are separate one-byte BOOLEAN outputs. Malformed contract syntax returns STATUS_INVALID_PARAMETER with both outputs FALSE.
 */
NTSYSAPI
NTSTATUS
NTAPI
ApiSetQueryApiSetPresenceEx(
    _In_ PCUNICODE_STRING Namespace,
    _Out_ PBOOLEAN IsInSchema,
    _Out_ PBOOLEAN Present
    );

#endif

View code on GitHub
BOOL WINAPI ApiSetQueryApiSetPresenceEx(
  _In_ PCUNICODE_STRING Namespace,
  _Out_ PBOOLEAN IsInSchema,
  _Out_ PBOOLEAN Present
);
View the official Win32 development documentation

NtDoc

No description available.

Win32 development documentation (apisetqueryapisetpresenceex)

ApiSetQueryApiSetPresenceEx function

This API is intended for internal use only and should not be used in your code.

Parameters

Namespace [in]

IsInSchema [out]

Present [out]

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header N/A
Library Api-ms-win-core-apiquery-l1.lib;
Api-ms-win-core-apiquery-l1-1-0.lib
DLL Api-ms-win-core-apiquery-l1-1-0.dll