#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
#if (PHNT_VERSION >= PHNT_WINDOWS_8)
/**
* The NtUpdateWnfStateData routine updates the data associated with a WNF state name.
*
* \param StateName Pointer to the WNF_STATE_NAME to update.
* \param Buffer Pointer to the data buffer to write.
* \param Length Length, in bytes, of the data buffer.
* \param TypeId Optional pointer to a WNF_TYPE_ID structure specifying the type of the state data.
* \param ExplicitScope Optional pointer to a security identifier (SID) for explicit scope.
* \param MatchingChangeStamp The change stamp to match for update.
* \param CheckStamp If TRUE, the change stamp is checked before updating.
* \return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtUpdateWnfStateData(
_In_ PCWNF_STATE_NAME StateName,
_In_reads_bytes_opt_(Length) const VOID* Buffer,
_In_opt_ ULONG Length,
_In_opt_ PCWNF_TYPE_ID TypeId,
_In_opt_ PCSID ExplicitScope,
_In_ WNF_CHANGE_STAMP MatchingChangeStamp,
_In_ LOGICAL CheckStamp
);
View code on GitHub#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwUpdateWnfStateData(
_In_ PCWNF_STATE_NAME StateName,
_In_reads_bytes_opt_(Length) const VOID* Buffer,
_In_opt_ ULONG Length,
_In_opt_ PCWNF_TYPE_ID TypeId,
_In_opt_ const VOID* ExplicitScope,
_In_ WNF_CHANGE_STAMP MatchingChangeStamp,
_In_ LOGICAL CheckStamp
);
View code on GitHubNo description available.