Partager via


IMediaParamInfo::GetParamCount

The GetParamCount method retrieves the number of parameters that the object supports.

Syntax

HRESULT GetParamCount(
    DWORD *pdwParams
);

Parameters

pdwParams

[out] Pointer to a variable that receives the number of parameters.

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.