Condividi tramite


InvokeHelper::Invoke Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at InvokeHelper::Invoke Method.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

STDMETHOD(  
   Invoke  
)();  
STDMETHOD(  
   Invoke  
)(typename Traits;  
STDMETHOD(  
   Invoke  
)( typename Traits;  
STDMETHOD(  
   Invoke  
)( typename Traits;  
STDMETHOD(  
   Invoke  
)( typename Traits;  
STDMETHOD(  
   Invoke  
)( typename Traits;  
STDMETHOD(  
   Invoke  
)( typename Traits;  
STDMETHOD(  
   Invoke  
)( typename Traits;  
STDMETHOD(  
   Invoke  
)( typename Traits;  
STDMETHOD(  
   Invoke  
)( typename Traits;  

Parameters

arg1
Argument 1.

arg2
Argument 2.

arg3
Argument 3.

arg4
Argument 4.

arg5
Argument 5.

arg6
Argument 6.

arg7
Argument 7.

arg8
Argument 8.

arg9
Argument 9.

Return Value

S_OK if successful; otherwise, an HRESULT that describes the error.

Remarks

Calls the event handler whose signature contains the specified number of arguments.

Requirements

Header: event.h

Namespace: Microsoft::WRL::Details

See Also

InvokeHelper Structure
Microsoft::WRL::Details Namespace