IASPowerListBoxItem::get_Type

This method retrieves the item type.

Syntax

HRESULT get_Type( long *plType );

Parameters

plType
Pointer to the long integer that contains the item type. It is one of the following values:
ASFC_PWRLB_TYPE_COMMAND
Specifies a command.
ASFC_PWRLB_TYPE_EDIT
Specifies an edit box.
ASFC_PWRLB_TYPE_STRINGSPINNER
Specifies a string spinner.
ASFC_PWRLB_TYPE_INTSPINNER
Specifies an integer spinner.

Return Values

NOERROR indicates success. E_OUTOFMEMORY indicates that the system is out of memory.