Microsoft DirectX 9.0

IMediaSeeking::QueryPreferredFormat

The QueryPreferredFormat method retrieves the preferred time format for seeking.

Syntax

HRESULT QueryPreferredFormat(
  GUID *pFormat
);

Parameters

pFormat

[out] Pointer to a variable that receives a GUID specifying the time format. See Time Format GUIDs.

Return Value

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_NOTIMPL Not implemented.
E_POINTER NULL pointer argument.

See Also