PFN_SENSORSCXSENSORHISTORYRETRIEVALCOMPLETED callback function (sensorscx.h)
Indicates that the history retrieval has completed.
Syntax
PFN_SENSORSCXSENSORHISTORYRETRIEVALCOMPLETED PfnSensorscxsensorhistoryretrievalcompleted;
VOID * PfnSensorscxsensorhistoryretrievalcompleted(
[in] PSENSORSCX_DRIVER_GLOBALS DriverGlobals,
[in] SENSOROBJECT Sensor,
[in] ULONG BytesWritten,
[in] NTSTATUS InStatus
)
{...}
Parameters
[in] DriverGlobals
Global definitions for the driver.
[in] Sensor
A reference to a sensor object.
[in] BytesWritten
The number of bytes written to the sensor object's history.
[in] InStatus
The current status of the sensor object.
Return value
This function returns an NTSTATUS with different values. Some values that may be returned are:
- STATUS_SUCCESS is returned if the function completes successfully.
- STATUS_UNSUCCESSFUL is returned if the function does not complete successfully.
- STATUS_INVALID_PARAMETER is returned if any of the _In_ parameters are NULL.
Requirements
Requirement | Value |
---|---|
Header | sensorscx.h |