DMOGetName
This function retrieves the registered name of a DMO.
HRESULT DMOGetName(
REFCLSID clsidDMO,
WCHAR szName[]
);
Parameters
- clsidDMO
Class identifier (CLSID) of the DMO. - szName
Array of 80 Unicode characters that receives the name of the DMO. The caller must allocate the array. The name is a null-terminated string.
Return Values
Returns an HRESULT value. Possible values include the following.
Value | Description |
---|---|
S_FALSE | No name was registered for this DMO, or the name has zero length. |
S_OK | Success. |
E_FAIL | Failure. |
Remarks
If the method returns S_FALSE, szName is set to \0.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Msdmo.lib
See Also
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.