Events

  • OnChangeDevList

void OnChangeDevList();

Routine description:
Notifies an application of a change to the hardware configuration.

Arguments:
None.

Return Value:
None.

  • OnDataRecieve

void OnDataRecieve(VARIANT* pIrpContext, long nBufferSize, long nIrpNum, short bDirection, BOOL bIs64, long nStatus, VARIANT* pInformation, VARIANT* pDate);

Routine description:
Notifies an application when I/O request is received.

Arguments:
pIrpContext – IRP descriptor which is used in subsequent operations with I/O request;
nBufferSize – buffer size;
nIrpNum – I/O request number;
bDirection – I/O request direction (1 – incoming, 0 – outgoing);
bIs64 – TRUE if I/O request is received by 64-bit driver, FALSE otherwise;
nStatus – status of I/O request;
pInformation – value stored in IoStatus.Information;
pDate – time in FILETIME format.

Return Value:
None.

  • GetErrorDescr

void GetErrorDescr(long errCode, BSTR * pErrDescr)

Routine description:
Returns error code.

Arguments:
errCode – error code;
pErrDescr – error description.

Return Value:
None.