ReactOS 0.4.15-dev-8241-g63935f8
IOleCommandTarget Interface Reference
Inheritance diagram for IOleCommandTarget:
Collaboration diagram for IOleCommandTarget:

Classes

struct  _tagOLECMD
 
struct  _tagOLECMDTEXT
 

Public Types

enum  OLECMDF {
  OLECMDF_SUPPORTED = 0x1 , OLECMDF_ENABLED = 0x2 , OLECMDF_LATCHED = 0x4 , OLECMDF_NINCHED = 0x8 ,
  OLECMDF_INVISIBLE = 0x10 , OLECMDF_DEFHIDEONCTXTMENU = 0x20
}
 
enum  OLECMDTEXTF { OLECMDTEXTF_NONE = 0 , OLECMDTEXTF_NAME = 1 , OLECMDTEXTF_STATUS = 2 }
 
enum  OLECMDEXECOPT { OLECMDEXECOPT_DODEFAULT = 0 , OLECMDEXECOPT_PROMPTUSER = 1 , OLECMDEXECOPT_DONTPROMPTUSER = 2 , OLECMDEXECOPT_SHOWHELP = 3 }
 
enum  OLECMDID {
  OLECMDID_OPEN = 1 , OLECMDID_NEW = 2 , OLECMDID_SAVE = 3 , OLECMDID_SAVEAS = 4 ,
  OLECMDID_SAVECOPYAS = 5 , OLECMDID_PRINT = 6 , OLECMDID_PRINTPREVIEW = 7 , OLECMDID_PAGESETUP = 8 ,
  OLECMDID_SPELL = 9 , OLECMDID_PROPERTIES = 10 , OLECMDID_CUT = 11 , OLECMDID_COPY = 12 ,
  OLECMDID_PASTE = 13 , OLECMDID_PASTESPECIAL = 14 , OLECMDID_UNDO = 15 , OLECMDID_REDO = 16 ,
  OLECMDID_SELECTALL = 17 , OLECMDID_CLEARSELECTION = 18 , OLECMDID_ZOOM = 19 , OLECMDID_GETZOOMRANGE = 20 ,
  OLECMDID_UPDATECOMMANDS = 21 , OLECMDID_REFRESH = 22 , OLECMDID_STOP = 23 , OLECMDID_HIDETOOLBARS = 24 ,
  OLECMDID_SETPROGRESSMAX = 25 , OLECMDID_SETPROGRESSPOS = 26 , OLECMDID_SETPROGRESSTEXT = 27 , OLECMDID_SETTITLE = 28 ,
  OLECMDID_SETDOWNLOADSTATE = 29 , OLECMDID_STOPDOWNLOAD = 30 , OLECMDID_ONTOOLBARACTIVATED = 31 , OLECMDID_FIND = 32 ,
  OLECMDID_DELETE = 33 , OLECMDID_HTTPEQUIV = 34 , OLECMDID_HTTPEQUIV_DONE = 35 , OLECMDID_ENABLE_INTERACTION = 36 ,
  OLECMDID_ONUNLOAD = 37 , OLECMDID_PROPERTYBAG2 = 38 , OLECMDID_PREREFRESH = 39 , OLECMDID_SHOWSCRIPTERROR = 40 ,
  OLECMDID_SHOWMESSAGE = 41 , OLECMDID_SHOWFIND = 42 , OLECMDID_SHOWPAGESETUP = 43 , OLECMDID_SHOWPRINT = 44 ,
  OLECMDID_CLOSE = 45 , OLECMDID_ALLOWUILESSSAVEAS = 46 , OLECMDID_DONTDOWNLOADCSS = 47 , OLECMDID_UPDATEPAGESTATUS = 48 ,
  OLECMDID_PRINT2 = 49 , OLECMDID_PRINTPREVIEW2 = 50 , OLECMDID_SETPRINTTEMPLATE = 51 , OLECMDID_GETPRINTTEMPLATE = 52 ,
  OLECMDID_PAGEACTIONBLOCKED = 55 , OLECMDID_PAGEACTIONUIQUERY = 56 , OLECMDID_FOCUSVIEWCONTROLS = 57 , OLECMDID_FOCUSVIEWCONTROLSQUERY = 58 ,
  OLECMDID_SHOWPAGEACTIONMENU = 59 , OLECMDID_ADDTRAVELENTRY = 60 , OLECMDID_UPDATETRAVELENTRY = 61 , OLECMDID_UPDATEBACKFORWARDSTATE = 62 ,
  OLECMDID_OPTICAL_ZOOM = 63 , OLECMDID_OPTICAL_GETZOOMRANGE = 64 , OLECMDID_WINDOWSTATECHANGED = 65 , OLECMDID_ACTIVEXINSTALLSCOPE = 66 ,
  OLECMDID_UPDATETRAVELENTRY_DATARECOVERY = 67 , OLECMDID_SHOWTASKDLG = 68 , OLECMDID_POPSTATEEVENT = 69 , OLECMDID_VIEWPORT_MODE = 70 ,
  OLECMDID_LAYOUT_VIEWPORT_WIDTH = 71 , OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM = 72 , OLECMDID_USER_OPTICAL_ZOOM = 73 , OLECMDID_PAGEAVAILABLE = 74 ,
  OLECMDID_GETUSERSCALABLE = 75 , OLECMDID_UPDATE_CARET = 76 , OLECMDID_ENABLE_VISIBILITY = 77 , OLECMDID_MEDIA_PLAYBACK = 78
}
 
typedef IOleCommandTargetLPOLECOMMANDTARGET
 
typedef enum IOleCommandTarget::OLECMDF OLECMDF
 
typedef struct IOleCommandTarget::_tagOLECMD OLECMD
 
typedef struct IOleCommandTarget::_tagOLECMDTEXT OLECMDTEXT
 
typedef enum IOleCommandTarget::OLECMDTEXTF OLECMDTEXTF
 
typedef enum IOleCommandTarget::OLECMDEXECOPT OLECMDEXECOPT
 
typedef enum IOleCommandTarget::OLECMDID OLECMDID
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Public Member Functions

HRESULT QueryStatus ([in, unique] const GUID *pguidCmdGroup, [in] ULONG cCmds, [in, out, size_is(cCmds)] OLECMD prgCmds[], [in, out, unique] OLECMDTEXT *pCmdText)
 
HRESULT Exec ([in, unique] const GUID *pguidCmdGroup, [in] DWORD nCmdID, [in] DWORD nCmdexecopt, [in, unique] VARIANT *pvaIn, [in, out, unique] VARIANT *pvaOut)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Detailed Description

Definition at line 168 of file docobj.idl.

Member Typedef Documentation

◆ LPOLECOMMANDTARGET

◆ OLECMD

◆ OLECMDEXECOPT

◆ OLECMDF

◆ OLECMDID

◆ OLECMDTEXT

◆ OLECMDTEXTF

Member Enumeration Documentation

◆ OLECMDEXECOPT

Enumerator
OLECMDEXECOPT_DODEFAULT 
OLECMDEXECOPT_PROMPTUSER 
OLECMDEXECOPT_DONTPROMPTUSER 
OLECMDEXECOPT_SHOWHELP 

Definition at line 203 of file docobj.idl.

◆ OLECMDF

Enumerator
OLECMDF_SUPPORTED 
OLECMDF_ENABLED 
OLECMDF_LATCHED 
OLECMDF_NINCHED 
OLECMDF_INVISIBLE 
OLECMDF_DEFHIDEONCTXTMENU 

Definition at line 172 of file docobj.idl.

173 {
174 OLECMDF_SUPPORTED = 0x1,
175 OLECMDF_ENABLED = 0x2,
176 OLECMDF_LATCHED = 0x4,
177 OLECMDF_NINCHED = 0x8,
178 OLECMDF_INVISIBLE = 0x10,
180 } OLECMDF;
@ OLECMDF_DEFHIDEONCTXTMENU
Definition: docobj.idl:179

◆ OLECMDID

Enumerator
OLECMDID_OPEN 
OLECMDID_NEW 
OLECMDID_SAVE 
OLECMDID_SAVEAS 
OLECMDID_SAVECOPYAS 
OLECMDID_PRINT 
OLECMDID_PRINTPREVIEW 
OLECMDID_PAGESETUP 
OLECMDID_SPELL 
OLECMDID_PROPERTIES 
OLECMDID_CUT 
OLECMDID_COPY 
OLECMDID_PASTE 
OLECMDID_PASTESPECIAL 
OLECMDID_UNDO 
OLECMDID_REDO 
OLECMDID_SELECTALL 
OLECMDID_CLEARSELECTION 
OLECMDID_ZOOM 
OLECMDID_GETZOOMRANGE 
OLECMDID_UPDATECOMMANDS 
OLECMDID_REFRESH 
OLECMDID_STOP 
OLECMDID_HIDETOOLBARS 
OLECMDID_SETPROGRESSMAX 
OLECMDID_SETPROGRESSPOS 
OLECMDID_SETPROGRESSTEXT 
OLECMDID_SETTITLE 
OLECMDID_SETDOWNLOADSTATE 
OLECMDID_STOPDOWNLOAD 
OLECMDID_ONTOOLBARACTIVATED 
OLECMDID_FIND 
OLECMDID_DELETE 
OLECMDID_HTTPEQUIV 
OLECMDID_HTTPEQUIV_DONE 
OLECMDID_ENABLE_INTERACTION 
OLECMDID_ONUNLOAD 
OLECMDID_PROPERTYBAG2 
OLECMDID_PREREFRESH 
OLECMDID_SHOWSCRIPTERROR 
OLECMDID_SHOWMESSAGE 
OLECMDID_SHOWFIND 
OLECMDID_SHOWPAGESETUP 
OLECMDID_SHOWPRINT 
OLECMDID_CLOSE 
OLECMDID_ALLOWUILESSSAVEAS 
OLECMDID_DONTDOWNLOADCSS 
OLECMDID_UPDATEPAGESTATUS 
OLECMDID_PRINT2 
OLECMDID_PRINTPREVIEW2 
OLECMDID_SETPRINTTEMPLATE 
OLECMDID_GETPRINTTEMPLATE 
OLECMDID_PAGEACTIONBLOCKED 
OLECMDID_PAGEACTIONUIQUERY 
OLECMDID_FOCUSVIEWCONTROLS 
OLECMDID_FOCUSVIEWCONTROLSQUERY 
OLECMDID_SHOWPAGEACTIONMENU 
OLECMDID_ADDTRAVELENTRY 
OLECMDID_UPDATETRAVELENTRY 
OLECMDID_UPDATEBACKFORWARDSTATE 
OLECMDID_OPTICAL_ZOOM 
OLECMDID_OPTICAL_GETZOOMRANGE 
OLECMDID_WINDOWSTATECHANGED 
OLECMDID_ACTIVEXINSTALLSCOPE 
OLECMDID_UPDATETRAVELENTRY_DATARECOVERY 
OLECMDID_SHOWTASKDLG 
OLECMDID_POPSTATEEVENT 
OLECMDID_VIEWPORT_MODE 
OLECMDID_LAYOUT_VIEWPORT_WIDTH 
OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM 
OLECMDID_USER_OPTICAL_ZOOM 
OLECMDID_PAGEAVAILABLE 
OLECMDID_GETUSERSCALABLE 
OLECMDID_UPDATE_CARET 
OLECMDID_ENABLE_VISIBILITY 
OLECMDID_MEDIA_PLAYBACK 

Definition at line 211 of file docobj.idl.

212 {
213 OLECMDID_OPEN = 1,
214 OLECMDID_NEW = 2,
215 OLECMDID_SAVE = 3,
216 OLECMDID_SAVEAS = 4,
218 OLECMDID_PRINT = 6,
221 OLECMDID_SPELL = 9,
223 OLECMDID_CUT = 11,
224 OLECMDID_COPY = 12,
225 OLECMDID_PASTE = 13,
227 OLECMDID_UNDO = 15,
228 OLECMDID_REDO = 16,
231 OLECMDID_ZOOM = 19,
234 OLECMDID_REFRESH = 22,
235 OLECMDID_STOP = 23,
244 OLECMDID_FIND = 32,
245 OLECMDID_DELETE = 33,
252 /* iexplorer uses ... 44 */
258 OLECMDID_CLOSE = 45,
262 OLECMDID_PRINT2 = 49,
290 } OLECMDID;
@ OLECMDID_SETPRINTTEMPLATE
Definition: docobj.idl:264
@ OLECMDID_SHOWSCRIPTERROR
Definition: docobj.idl:253
@ OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM
Definition: docobj.idl:283
@ OLECMDID_PAGEACTIONUIQUERY
Definition: docobj.idl:267
@ OLECMDID_WINDOWSTATECHANGED
Definition: docobj.idl:276
@ OLECMDID_GETPRINTTEMPLATE
Definition: docobj.idl:265
@ OLECMDID_UPDATEBACKFORWARDSTATE
Definition: docobj.idl:273
@ OLECMDID_PAGEACTIONBLOCKED
Definition: docobj.idl:266
@ OLECMDID_UPDATETRAVELENTRY_DATARECOVERY
Definition: docobj.idl:278
@ OLECMDID_LAYOUT_VIEWPORT_WIDTH
Definition: docobj.idl:282
@ OLECMDID_SETDOWNLOADSTATE
Definition: docobj.idl:241
@ OLECMDID_USER_OPTICAL_ZOOM
Definition: docobj.idl:284
@ OLECMDID_FOCUSVIEWCONTROLS
Definition: docobj.idl:268
@ OLECMDID_FOCUSVIEWCONTROLSQUERY
Definition: docobj.idl:269
@ OLECMDID_ENABLE_VISIBILITY
Definition: docobj.idl:288
@ OLECMDID_UPDATEPAGESTATUS
Definition: docobj.idl:261
@ OLECMDID_DONTDOWNLOADCSS
Definition: docobj.idl:260
@ OLECMDID_SHOWPAGEACTIONMENU
Definition: docobj.idl:270
@ OLECMDID_SETPROGRESSTEXT
Definition: docobj.idl:239
@ OLECMDID_ACTIVEXINSTALLSCOPE
Definition: docobj.idl:277
@ OLECMDID_OPTICAL_GETZOOMRANGE
Definition: docobj.idl:275
@ OLECMDID_UPDATETRAVELENTRY
Definition: docobj.idl:272
@ OLECMDID_ONTOOLBARACTIVATED
Definition: docobj.idl:243
@ OLECMDID_ALLOWUILESSSAVEAS
Definition: docobj.idl:259
@ OLECMDID_GETUSERSCALABLE
Definition: docobj.idl:286
@ OLECMDID_ENABLE_INTERACTION
Definition: docobj.idl:248

◆ OLECMDTEXTF

Enumerator
OLECMDTEXTF_NONE 
OLECMDTEXTF_NAME 
OLECMDTEXTF_STATUS 

Definition at line 196 of file docobj.idl.

Member Function Documentation

◆ Exec()

◆ QueryStatus()

HRESULT IOleCommandTarget::QueryStatus ( [in, unique] const GUID pguidCmdGroup,
[in] ULONG  cCmds,
[in, out, size_is(cCmds)] OLECMD  prgCmds[],
[in, out, unique] OLECMDTEXT pCmdText 
)

The documentation for this interface was generated from the following file: