The OLECMDTEXTF enumeration specifies the type of information that an object should store in the OLECMDTEXT structure passed in IOleCommandTarget::QueryStatus. One value from this enumeration is stored the cmdtextf member of the OLECMDTEXT structure to indicate the desired information.
typedef enum
{
OLECMDTEXTF_NONE = 0,
OLECMDTEXTF_NAME = 1,
OLECMDTEXTF_STATUS = 2
} OLECMDTEXTF;
IOleCommandTarget::QueryStatus, OLECMDTEXT