Freigeben über


ViewFilter.InnerExec(Guid, UInt32, UInt32, IntPtr, IntPtr) Method

Definition

Executes an IOleCommandTarget command.

protected:
 virtual int InnerExec(Guid % guidCmdGroup, System::UInt32 nCmdId, System::UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut);
protected virtual int InnerExec (ref Guid guidCmdGroup, uint nCmdId, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut);
abstract member InnerExec : Guid * uint32 * uint32 * nativeint * nativeint -> int
override this.InnerExec : Guid * uint32 * uint32 * nativeint * nativeint -> int
Protected Overridable Function InnerExec (ByRef guidCmdGroup As Guid, nCmdId As UInteger, nCmdexecopt As UInteger, pvaIn As IntPtr, pvaOut As IntPtr) As Integer

Parameters

guidCmdGroup
Guid

The GUID of the command group to which the command belongs.

nCmdId
UInt32

The command ID.

nCmdexecopt
UInt32

Values from the OLECMDEXECOPT enumeration, which specify how to execute the command.

pvaIn
IntPtr

nativeint

A pointer to a VARIANTARG structure containing input arguments. Can be null.

pvaOut
IntPtr

nativeint

A pointer to a VARIANTARG structure to receive command output. Can be null.

Returns

S_OK if the method succeeded, otherwise an error code.

Applies to