Packet Sniffer SDK DLL Edition
Events :: OnAsyncRequest | | Previous Next |
Fires immediately after asynchronous NDIS request completed.
Syntax:
void __stdcall OnAsyncRequest(DWORD_PTR Param, DWORD_PTR Key, DWORD RequestType, DWORD Oid,
LPVOID pBuffer, DWORD BufferSize, DWORD BytesUsed, DWORD BytesNeeded, DWORD NdisStatus);
Parameters:
Param
[in] OnAsyncRequest event handler parameter. May be set by the
AdpSetOnAsyncRequest function call.
Key
[in] This parameter value has been passed to the
AdpAsyncRequest function.
RequestType
[in] The type of the NDIS request to the network adapter (see NDIS REQUEST TYPE).
Oid
[in] The code of the NDIS request to the network adapter (see NDIS OIDs).
pBuffer
[in] Buffer containing NDIS request input parameters, also may be used for request results.
BufferSize
[in] Data buffer size.
BytesUsed
[in] Contains the size of the sent/received data in bytes after request is completed.
BytesNeeded
NdisStatus
[in] NDIS request completion status (see NDIS STATUS)
Description:
PSSDK library fires OnAsyncRequest immediately after NDIS request completion (after
AdpAsyncRequest function execution has been completed).