Export (0) Print
Expand All

IAMPluginControl::SetPreferredClsid method

Adds a class identifier (CLSID) to the preferred list or removes a CLSID from the list.

Syntax


HRESULT SetPreferredClsid(
  [in]  REFGUID subType,
  [in]  const CLSID *clsid
);

Parameters

subType [in]

A media subtype GUID to associate with the CLSID.

clsid [in]

Pointer to the CLSID to add to the list. If this parameter is NULL, the entry associated with subType is removed from the list

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Strmif.h (include Dshow.h)

IDL

Axextend.idl

See also

Intelligent Connect
IAMPluginControl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft