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_OK | Success. |
| E_ACCESSDENIED | The process cannot write to the requested folder. |
Function Information
| Stock Implementation | ieframe.dll |
|---|
| Custom Implementation | No |
|---|
| Header | iepmapi.h |
|---|
| Import library | iepmapi.lib |
|---|
| Minimum availability | Internet Explorer
7 |
|---|
| Minimum operating systems |
Windows Vista |
|---|