IEGetWriteableFolderPath Function

Returns the current location of the specified folder. In protected mode, the path points to a location where the user has write permissions.

Syntax

HRESULT IEGetWriteableFolderPath(      
    GUID clsidFolderID,     LPWSTR *lppwstrPath );

Parameters

clsidFolderID
[in] A class identifier (CLSID) value that identifies the folder from which a path is retrieved (as specified in knownfolders.h).
lppwstrPath
[out] A pointer that receives the address of the buffer containing the requested path. When no longer required, call CoTaskMemFree to release it. If an error occurs, the pointer is not modified.

Return Value

Returns one of the following values.

S_OKSuccess.
E_ACCESSDENIEDThe process cannot write to the requested folder.

Function Information

Stock Implementationieframe.dll
Custom ImplementationNo
Headeriepmapi.h
Import libraryiepmapi.lib
Minimum availabilityInternet Explorer 7
Minimum operating systems Windows Vista
Tags :


Page view tracker