Поделиться через


IKsTopologyInfo::get_Category

 
Microsoft DirectShow 9.0

IKsTopologyInfo::get_Category

This topic applies to Windows XP Service Pack 2 and later.

The get_Category method returns one of the filter categories for this stream class driver.

Syntax

  HRESULT get_Category(
  DWORD  dwIndex,
  GUID*  pCategory
);

Parameters

dwIndex

[in]  Index of the category GUID to retrieve. To find the number of categories, call the IKsTopologyInfo::get_NumCategories method.

pCategory

[out]  Receives a GUID that defines the category. Microsoft provides standard categories in the header files Ks.h and Ksmedia.h.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Requirements

Header: Include Vidcap.h.

Library: None.

See Also