Microsoft DirectX 8.1 (C++) |
The DMOUnregister function unregisters a DMO.
Requirements
Declared in Dmoreg.h; include Dmo.h. Link to Msdmo.lib.
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. |
See Also