Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Do not use. Returns file information for a supplied Unicode file path string.
Syntax
HRESULT MimeOleGetFileInfoW(
_In_ LPWSTR pszFilePath,
_Out_ LPWSTR *ppszCntType,
_Out_ LPWSTR *ppszSubType,
_Out_ LPWSTR *ppszCntDesc,
_Out_ LPWSTR *ppszFileName,
_Out_ LPWSTR *ppszExtension
);
Parameters
-
pszFilePath [in]
-
Type: LPWSTR
Specifies an LPWSTR that contains the file path.
-
ppszCntType [out]
-
Type: LPWSTR*
Receives a pointer to an LPWSTR that contains the primary Content-Type.
-
ppszSubType [out]
-
Type: LPWSTR*
Receives a pointer to an LPWSTR that contains the secondary Content-Type.
-
ppszCntDesc [out]
-
Type: LPWSTR*
Receives a pointer to an LPWSTR that may contain the following descriptions: SHGFI_USEFILEATTRIBUTES, SHGFI_DISPLAYNAME, SHGFI_TYPENAME. See shellapi.h.
-
ppszFileName [out]
-
Type: LPWSTR*
Receives a pointer to an LPWSTR that contains the file name.
-
ppszExtension [out]
-
Type: LPWSTR*
Receives a pointer to an LPWSTR that contains the file name extension.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
Indicates success. |
|
Indicates that a pointer parameter is NULL. |
|
Indicates that an allocation failed. |
Remarks
Enter NULL for any parameter you do not wish to obtain info for. However, any parameter that is not NULL must be a valid pointer.
Note
Both ppszCntType and ppszSubType must be present and valid to receive info for either one.
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 |
|