PERSIST_FOLDER_TARGET_INFO structure
Specifies a folder shortcut's target folder and its attributes. This structure is used by IPersistFolder3::GetFolderTargetInfo and IPersistFolder3::InitializeEx.
Syntax
typedef struct _PERSIST_FOLDER_TARGET_INFO { PIDLIST_ABSOLUTE pidlTargetFolder; WCHAR szTargetParsingName[MAX_PATH]; WCHAR szNetworkProvider[MAX_PATH]; DWORD dwAttributes; int csidl; } PERSIST_FOLDER_TARGET_INFO;
Members
- pidlTargetFolder
-
Type: PIDLIST_ABSOLUTE
-
A fully qualified PIDL of the target folder. Set pidlTargetFolder to NULL if not specified.
- szTargetParsingName
-
Type: WCHAR[MAX_PATH]
-
A null-terminated Unicode string with the target folder's parsing name. Set szTargetParsingName to an empty string if not specified.
- szNetworkProvider
-
Type: WCHAR[MAX_PATH]
-
A null-terminated Unicode string that specifies the type of network provider that will be used when binding to the target folder. The format is the same as that used by the WNet API. Set szNetworkProvider to an empty string if not specified.
- dwAttributes
-
Type: DWORD
-
A DWORD value that contains FILE_ATTRIBUTE_* flags as defined in Winnt.h. Set dwAttributes to -1 if not specified.
- csidl
-
Type: int
-
The target folder's CSIDL value, if it has one. Set csidl to -1 if the target folder does not have a CSIDL. In addition to the CSIDL value, you can also set the following two flags.
Remarks
Any or all of the pidlTargetFolder, szTargetParsingName, and csidl members can be used to specify the target folder's location.
Requirements
|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012