DMOUnregister function

The DMOUnregister function unregisters a DMO.

Syntax

HRESULT DMOUnregister(
  REFCLSID clsidDMO,
  REFGUID  guidCategory
);

Parameters

clsidDMO

Class identifier (CLSID) of the DMO.

guidCategory

GUID that specifies the category from which to remove the DMO. Use GUID_NULL to unregister the DMO from every category. See DMO GUIDs for a list of category GUIDs.

Return value

Returns an HRESULT value. Possible values include the following.

Result Code Description
E_INVALIDARG Invalid argument
S_FALSE This CLSID was not registered in the specified category.
S_OK Success

Requirements

   
Target Platform Windows
Header dmoreg.h (include Dmo.h)
Library Msdmo.lib
DLL Msdmo.dll

See also

DMO Functions