OLECMDTEXT structure (docobj.h)
Specifies a text name or status string for a single command identifier.
Syntax
typedef struct _tagOLECMDTEXT {
DWORD cmdtextf;
ULONG cwActual;
ULONG cwBuf;
wchar_t rgwz[1];
} OLECMDTEXT;
Members
cmdtextf
A value from the OLECMDTEXTF enumeration describing whether the rgwz member contains a command name or status text.
cwActual
The number of characters actually written into the rgwz buffer before IOleCommandTarget::QueryStatus returns.
cwBuf
The number of elements in the rgwz array.
rgwz[1]
A caller-allocated array of wide characters to receive the command name or status text.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | docobj.h |