IShellView::SelectItem method
Changes the selection state of one or more items within the Shell view window.
Syntax
HRESULT SelectItem( PCUITEMID_CHILD pidlItem, UINT uFlags );
Parameters
- pidlItem
-
Type: PCUITEMID_CHILD
The address of the ITEMIDLIST structure.
- uFlags
-
Type: UINT
One of the _SVSIF constants that specify the type of selection to apply.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Notes to Implementers
This method is used to implement the Target command from the File menu of the Shell shortcut property sheet.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
Show: