Share via


IXtfConsoleControlClient::GetSystemTime

Retrieves the system time from the current development console.

Syntax

HRESULT GetSystemTime(
         XTFSYSTEMTIME *pSystemTime
)  

Parameters

pSystemTime
Type: XTFSYSTEMTIME*

A pointer to an XTFSYSTEMTIME structure that receives the system time from the current development console.

Return value

Type: HRESULT

Returns S_OK if successful; otherwise, returns an HRESULT error code.

Remarks

This function retrieves the system date and time from the current development console as an XTFSYSTEMTIME structure. The structure represents the system date and time in its various components, from year to millisecond. For more information about viewing the current system time on a development console, see Developer Home on the console (Dev Home) (NDA topic)Authorization required.

Requirements

Header: xtfconsolecontrol.h

Library: xtfconsolecontrol.lib

Supported platforms: Windows (for Xbox console tools)

See also

XTFSYSTEMTIME
IXtfConsoleControlClient
XtfConsoleControl