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(
_In_ GUID clsidFolderID,
_Out_ LPWSTR *lppwstrPath
);
Parameters
clsidFolderID [in]
A 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.
Return code | Description |
---|---|
S_OK | Success. |
E_ACCESSDENIED | The process cannot write to the requested folder. |
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Product |
Internet Explorer 7 |
Header |
Iepmapi.h |
Library |
Iepmapi.lib |
DLL |
Ieframe.dll |