Packet Sniffer SDK VCL Edition
HNAdapter :: Events :: OnAsyncRequest | | Previous Next |
Fires immediately after asynchronous NDIS request completed.
Syntax:
TOnAsyncRequest = procedure (Sender: TObject;
Key: Pointer;
RequestType: DWORD;
Oid: DWORD;
pBuffer: Pointer;
BufferSize: DWORD;
BytesUsed: DWORD;
BytesNeeded: DWORD;
NdisStatus: DWORD) of object;Parameters:
Key
[in] This parameter value has been passed to the
AsyncRequest 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
AsyncRequest function execution has been completed).