IKnownFolder::GetIDList method
Gets the location of the Shell namespace folder in the IDList (ITEMIDLIST) form.
Syntax
HRESULT GetIDList(
[in] DWORD dwFlags,
[out] PIDLIST_ABSOLUTE *ppidl
);
Parameters
- dwFlags [in]
-
Type: DWORD
Flags that specify special retrieval options. This value can be 0; otherwise, one or more of the KNOWN_FOLDER_FLAG values.
- ppidl [out]
-
Type: PIDLIST_ABSOLUTE*
When this method returns, contains the address of an absolute PIDL. This parameter is passed uninitialized. The calling application is responsible for freeing this resource when it is no longer needed.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Equivalent to SHGetKnownFolderIDList.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
Show: