MimeOleGetExtClassId function
Do not use. On success, returns the class ID for a given file name extension string.
Syntax
HRESULT MimeOleGetExtClassId(
_In_ LPCSTR pszExtension,
_Out_ LPCLSID pclsid
);
Parameters
-
pszExtension [in]
-
Type: LPCSTR
Specifies a file name extension as a string.
-
pclsid [out]
-
Type: LPCLSID
Returns a class ID pointer. NOTE: user is responsible for freeing pointer.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that pointer argument is NULL. |
|
Indicates that file name extension is not recognized in the registry. |
|
Indicates data not returned. |
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
Library |
|
DLL |
|