OLECMDTEXT structure

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

A caller-allocated array of wide characters to receive the command name or status text.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

DocObj.h

See also

IOleCommandTarget::QueryStatus
OLECMDTEXTF

 

 

Community Additions

ADD
Show:
© 2014 Microsoft