Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetTime method retrieves the current reference time read from the master clock.
Syntax
NTSTATUS GetTime(
[out] REFERENCE_TIME *pTime
);
Parameters
[out] pTime
Output pointer for the reference time. This parameter points to a caller-allocated variable into which the method writes the reference time. Reference time is measured in 100-nanosecond units.
Return value
GetTime returns S_OK if the call was successful. Otherwise, the method returns an appropriate error code.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | dmusicks.h (include Dmusicks.h) |
| IRQL | Any level |