OLECMDTEXT

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;
 

Members

cmdtextf
A value from the OLECMDTEXTF enumeration describing whether the rgwz parameter contains a command name or status text.
cwActual
The number of characters actually written into the rgwz buffer before QueryStatus returns.
cwBuf
The number of elements in the rgwz array.
rgwz
A caller-allocated array of wide characters to receive the command name or status text.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in docobj.h.

See Also

IOleCommandTarget::QueryStatus, OLECMDTEXTF