OLECMD structure (docobj.h)

Associates command flags from the OLECMDF enumeration with a command identifier through a call to IOleCommandTarget::QueryStatus.

Syntax

typedef struct _tagOLECMD {
  ULONG cmdID;
  DWORD cmdf;
} OLECMD;

Members

cmdID

A command identifier; taken from the OLECMDID enumeration.

cmdf

Flags associated with cmdID; taken from the OLECMDF enumeration.

Requirements

Requirement Value
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

OLECMDF