CSnapInItemImpl::UpdateMenuState

void UpdateMenuState( UINT id, LPTSTR pBuf, UINT *flags );

Parameters

id

[in] The ID of the menu item to be set.

pBuf

[in] A pointer to the string for the menu item to be updated.

flags

[in] Specifies the new state flags. This can be a combination of the following flags:

Remarks

Call this function to modify a menu item before it is inserted into the context menu of the snap-in object.

CSnapInItemImpl OverviewClass Members