Share via


IATSC_STT::GetGpsUtcOffset

 
Microsoft DirectShow 9.0

IATSC_STT::GetGpsUtcOffset

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005 and later.

The GetGpsUtcOffset method returns the current offset between Global Positioning Satellite (GPS) time and Universal Time Coordinated (UTC), in seconds.

Syntax

  HRESULT GetGpsUtcOffset(
  BYTE*  pbVal
);

Parameters

pbVal

[out]  Receives the GPS_UTC_offset field.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Return code Description
E_POINTER NULL pointer argument.
S_OK The method succeeded.

Remarks

GPS time is measured in seconds since January 6, 1980, and is not adjusted for leap seconds. To convert GPS time to UTC, which is adjusted for leap seconds, subtract the offset from GPS time.

Requirements

Header: Include atscpsipparser.h.

See Also