The OLECMDTEXT structure specifies a text name or status string for a single command identifier. This structure is used with IOleCommandTarget::QueryStatus.
typedef struct _tagOLECMDTEXT
{
DWORD cmdtextf;
ULONG cwActual;
ULONG cwBuf;
wchar_t rgwz[1];
}OLECMDTEXT;
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in docobj.h.
IOleCommandTarget::QueryStatus, OLECMDTEXTF