Export (0) Print
Expand All
Expand Minimize

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 codeDescription
S_OK

Indicates success.

E_INVALIDARG

Indicates that pointer argument is NULL.

MIME_E_NOT_FOUND

Indicates that file name extension is not recognized in the registry.

E_FAIL

Indicates data not returned.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Outlook Express 6.0

Header

Mimeole.h

Library

Inetcomm.lib

DLL

Inetcomm.dll (version 6.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2011

Community Additions

ADD
Show:
© 2014 Microsoft