INameSpaceTreeControlEvents::OnItemStateChanging method
Called before the state of an item changes.
Syntax
HRESULT OnItemStateChanging( [in] IShellItem *psi, [in] NSTCITEMSTATE nstcisMask, [in] NSTCITEMSTATE nstcisState );
Parameters
- psi [in]
-
Type: IShellItem*
A pointer to the Shell item for which the state is going to change.
- nstcisMask [in]
-
Type: NSTCITEMSTATE
One or more values from the NSTCITEMSTATE enumeration that indicate which pieces of information the calling application wants to set.
- nstcisState [in]
-
Type: NSTCITEMSTATE
One or more values from the NSTCITEMSTATE enumeration that indicate the values that are to be set.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: