This method gets the flags associated with a shell menu item.
HRESULT get_ItemFlags( long index unsigned char *pbFlags );
NOERROR indicates success. E_INVALIDARG indicates that an invalid argument has been entered.
IASShellMenu::put_ItemFlags