ApiSetQueryApiSetPresence - NtDoc

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

/**
 * The ApiSetQueryApiSetPresence routine determines whether an API set is present on the system.
 *
 * \param[in] Namespace The API set namespace name to query.
 * \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 Queries whether an API-set contract resolves to a nonempty host in the current process schema; it
 * does not load that host. The ntdll entry returns NTSTATUS (STATUS_SUCCESS is zero), not a
 * Boolean success indicator. Present is a separate one-byte BOOLEAN output.
 */
NTSYSAPI
NTSTATUS
NTAPI
ApiSetQueryApiSetPresence(
    _In_ PCUNICODE_STRING Namespace,
    _Out_ PBOOLEAN Present
    );

#endif

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

NtDoc

No description available.

Win32 development documentation (apisetqueryapisetpresence)

ApiSetQueryApiSetPresence function

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

Parameters

Namespace [in]

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