Version: 3.3.4
Loading...
Searching...
No Matches
wxActiveXEventNativeMSW Struct Reference

#include <wx/msw/ole/activex.h>

Detailed Description

Native MSW/OLE parameters of an ActiveX event.

wxActiveXEvent::GetNativeParameters() returns this struct for event handlers that need to process event parameters directly as they were passed to IDispatch::Invoke(), for example when wxVariant conversion is not sufficient.

The returned pointer and all pointer members are only valid while the event handler is being executed.

Availability:  only available for the wxMSW port.

Library:  wxCore
Category:  Events

Public Attributes

DISPID dispIdMember
 Dispatch identifier of the invoked event.
REFIID riid
 Interface identifier passed to IDispatch::Invoke().
LCID lcid
 Locale context passed to IDispatch::Invoke().
WORD wFlags
 Invocation flags passed to IDispatch::Invoke().
DISPPARAMS * pDispParams
 Event arguments and named arguments.
VARIANT * pVarResult
 Location for the event return value, if any.
EXCEPINFO * pExcepInfo
 Location for exception information if an error is returned.
unsigned int * puArgErr
 Location for the index of an argument with an error, if any.

Member Data Documentation

◆ dispIdMember

DISPID wxActiveXEventNativeMSW::dispIdMember

Dispatch identifier of the invoked event.

◆ lcid

LCID wxActiveXEventNativeMSW::lcid

Locale context passed to IDispatch::Invoke().

◆ pDispParams

DISPPARAMS* wxActiveXEventNativeMSW::pDispParams

Event arguments and named arguments.

◆ pExcepInfo

EXCEPINFO* wxActiveXEventNativeMSW::pExcepInfo

Location for exception information if an error is returned.

◆ puArgErr

unsigned int* wxActiveXEventNativeMSW::puArgErr

Location for the index of an argument with an error, if any.

◆ pVarResult

VARIANT* wxActiveXEventNativeMSW::pVarResult

Location for the event return value, if any.

◆ riid

REFIID wxActiveXEventNativeMSW::riid

Interface identifier passed to IDispatch::Invoke().

◆ wFlags

WORD wxActiveXEventNativeMSW::wFlags

Invocation flags passed to IDispatch::Invoke().