OLECMDTEXT

Returns a text name or status string for a single command identifier. Used with IOleCommandTarget::QueryStatus.

typedef struct _tagOLECMDTEXT
{
    DWORD cmdtextf;
    ULONG cwactual;
    ULONG cwbuf;
    wchar_t rgwz[1];
}OLECMDTEXTF;
 

Members

cmdtextf
Filled on input; a value from the OLECMDTEXTF enumeration describing the information the caller wishes to receive in return.
cwActual
Filled on output; the number of characters actually written into the rgwz buffer before QueryStatus returns.
cwBuf
Filled on input; the size of the string buffer in cwBuf.
rgwz
A caller-allocated array of wide characters to receive the string on output.

See Also

IOleCommandTarget::QueryStatus, OLECMDTEXTF