Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Initializes the DMO Wrapper filter with the specified DMO.

Syntax

HRESULT Init(
  REFCLSID 
clsidDMO, 
  REFCLSID 
catDMO
);

Parameters

clsidDMO

Class identifier (CLSID) of the DMO.

catDMO

CLSID that specifies the category of the DMO.

Return Value

Returns S_OK if successful. Otherwise, returns an HRESULT value indicating the cause of the error.

Remarks

For a list of DMO categories, see Category GUIDs. In some cases, the DMO Wrapper filter performs optimizations based on the category.

Requirements

Header Dmodshow.h
Library dmoguids.lib
Windows Embedded CE Windows CE .NET 4.1 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also