次の方法で共有


CMediaPosition::GetTypeInfoCount (Compact 2013)

3/26/2014

Retrieves the number of type-information interfaces provided by an object.

Syntax

HRESULT GetTypeInfoCount(
  UINT* pctinfo 
);

Parameters

  • pctinfo
    Pointer to the location that receives the number of type-information interfaces that the object provides.

    If the object provides type information, this number is 1; otherwise, the number is 0.

Return Value

Returns E_POINTER if pctinfo is invalid; otherwise, returns S_OK.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CMediaPosition Class