MimeOleGetContentTypeExt function
Do not use. Returns the file name extension for a supplied content type.
Syntax
HRESULT MimeOleGetContentTypeExt(
_In_ LPCSTR pszContentType,
_Out_ LPSTR *ppszExtension
);
Parameters
-
pszContentType [in]
-
Type: LPCSTR
Specifies a content type.
-
ppszExtension [out]
-
Type: LPSTR*
Returns pointer to string containing extension. Note: ppszExtension must point to a valid LPSTR before this function is called and user is responsible for freeing what this parameter points to.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates pointer parameter is NULL. |
|
Indicates allocation failed. |
|
Indicates content type not found in registry. |
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 |
|