Condividi tramite


Metodo INameSpaceTreeControlEvents::OnItemAdded (shobjidl.h)

Chiamato dopo l'aggiunta di un oggetto IShellItem .

Sintassi

HRESULT OnItemAdded(
  [in] IShellItem *psi,
  [in] BOOL       fIsRoot
);

Parametri

[in] psi

Tipo: IShellItem*

Puntatore a IShellItem aggiunto.

[in] fIsRoot

Tipo: BOOL

Specifica se L'oggetto IShellItem aggiunto è una radice.

Valore restituito

Tipo: HRESULT

Se questo metodo ha esito positivo, restituisce S_OK. In caso contrario, restituisce un codice di errore HRESULT .

Requisiti

Requisito Valore
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Windows Server 2008 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione shobjidl.h

Vedi anche

INameSpaceTreeControlEvents

IShellItem