The OLECMD structure associates command flags from the OLECMDF enumeration with a command identifer through a call to IOleCommandTarget::QueryStatus.
typedef struct _tagOLECMD
{
ULONG cmdID;
DWORD cmdf;
}OLECMDF;
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in docobj.h.
OLECMDF, IOleCommandTarget::QueryStatus