IKnownFolderManager::FolderIdFromCsidl method
Gets the KNOWNFOLDERID that is the equivalent of a legacy CSIDL value.
Syntax
HRESULT FolderIdFromCsidl( [in] int nCsidl, [out] KNOWNFOLDERID *pfid );
Parameters
- nCsidl [in]
-
Type: int
The CSIDL value.
- pfid [out]
-
Type: KNOWNFOLDERID*
When this method returns, contains a pointer to the KNOWNFOLDERID. This pointer is passed uninitialized.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
To call this method, the caller must have at least User privileges.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
Show: