OLECMDTEXTOLECMDTEXT*
*



Contents  *



Index  *Topic Contents
*Previous Topic: OLECMD
*Next Topic: PAGERANGE

OLECMDTEXT

typedef struct _tagOLECMDTEXT
{
    DWORD cmdtextf;
    ULONG cwActual;
    ULONG cwBuf;
    wchar_t rgwz[1];
}OLECMDTEXT;

Specifies a text name or status string for a single command identifier. This structure is used with the IOleCommandTarget::QueryStatus method.

cmdtextf
Value from the OLECMDTEXTF enumeration describing whether the rgwz member contains a command name or status text.
cwActual
Number of characters actually written into the rgwz buffer before IOleCommandTarget::QueryStatus returns.
cwBuf
Number of elements in the rgwz buffer.
rgwz
Caller-allocated wide character buffer to receive the command name or status text.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.