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:
The following groups of flags cannot be used together:
Remarks
Call this function to modify a menu item before it is inserted into the context menu of the snap-in object.