Share via


IMediaSeeking::QueryPreferredFormat

 
Microsoft DirectShow 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 Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_NOTIMPL Not implemented.
E_POINTER NULL pointer argument.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also