次の方法で共有


IMediaParamInfo::GetNumTimeFormats

The GetNumTimeFormats method retrieves the number of time formats that the object supports.

Syntax

HRESULT GetNumTimeFormats(
    DWORD *pdwNumTimeFormats
);

Parameters

pdwNumTimeFormats

[out] Pointer to a variable that receives the number of supported time formats.

Return Values

Returns an HRESULT value. Possible values include the following.

Return Code Description
E_POINTER NULL pointer argument.
S_OK Success.

Requirements

  Header: Medparam.h
  Library: Dmoguids.lib.

See Also

© 2004 Microsoft Corporation. All rights reserved.