ScsiPortQuerySystemTime function (srb.h)
The ScsiPortQuerySystemTime routine obtains the current system time.
Note The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
Syntax
SCSIPORT_API VOID ScsiPortQuerySystemTime(
[out] PLARGE_INTEGER CurrentTime
);
Parameters
[out] CurrentTime
Pointer to the current time, on return.
Return value
None
Remarks
The system time returned in CurrentTime is the number of 100-nanosecond intervals that have elapsed since January 1, 1601. System time is typically updated approximately every ten milliseconds. This value is computed for the GMT time zone.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | srb.h |
Library | Scsiport.lib |
IRQL | Any level |