IASImageMenu::put_ID

This method sets the identifier for a menu item.

Syntax

HRESULT put_ID( long index, short wID );

Parameters

index
[in] Index of the item.
wID
[in] User-defined item identifier.

Return Values

NOERROR indicates success. E_INVALIDARG indicates that the argument is invalid.