NtQueryWnfStateNameInformation - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
#if (PHNT_VERSION >= PHNT_WINDOWS_8)

/**
 * The NtQueryWnfStateNameInformation routine queries information about a WNF state name.
 *
 * \param StateName Pointer to the WNF_STATE_NAME to query.
 * \param NameInfoClass The information class to query (see WNF_STATE_NAME_INFORMATION).
 * \param ExplicitScope Optional pointer to a security identifier (SID) for explicit scope.
 * \param Buffer Pointer to a buffer that receives the requested information.
 * \param BufferLength The size, in bytes, of the buffer.
 * \return NTSTATUS Successful or errant status.
 */
NTSYSCALLAPI
NTSTATUS
NTAPI
NtQueryWnfStateNameInformation(
    _In_ PCWNF_STATE_NAME StateName,
    _In_ WNF_STATE_NAME_INFORMATION NameInfoClass,
    _In_opt_ PCSID ExplicitScope,
    _Out_writes_bytes_(BufferLength) PVOID Buffer,
    _In_ ULONG BufferLength
    );

#endif
#endif
#endif

View code on GitHub
#ifndef _NTZWAPI_H

NTSYSCALLAPI
NTSTATUS
NTAPI
ZwQueryWnfStateNameInformation(
    _In_ PCWNF_STATE_NAME StateName,
    _In_ WNF_STATE_NAME_INFORMATION NameInfoClass,
    _In_opt_ const VOID* ExplicitScope,
    _Out_writes_bytes_(BufferLength) PVOID Buffer,
    _In_ ULONG BufferLength
    );

#endif

View code on GitHub

NtDoc

No description available.