Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a wait completion packet object with the specified access rights and attributes.
Syntax
NTSTATUS NtCreateWaitCompletionPacket (
_Out_ PHANDLE WaitCompletionPacketHandle,
_In_ ACCESS_MASK DesiredAccess,
_In_opt_ POBJECT_ATTRIBUTES ObjectAttributes
)
Parameters
WaitCompletionPacketHandle [out]
A pointer to a variable that receives the wait completion packet handle.
DesiredAccess [in]
The desired types of access for the wait completion packet.
ObjectAttributes [in]
A pointer to an object attributes structure.
Return value
An NTSTATUS code. For more information, see Using NTSTATUS values.
Remarks
This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions. The API is exported from ntdll.dll.
Requirements
Requirement | Value |
---|---|
DLL | ntdll.dll |