ModuleController

Overview

Module controller is an entry point of a module, module controller supply's host with information about stored plugins and provides a methods that allows host to instantiate and work with plugins.

Location


 

CreateInstance

Creates a new instance of the plugin whose name is specified by the aPluginName parameter.

 

method CreateInstance(aPluginName: OleString; out aResult: IHYCrossPlatformPlugin): HRESULT

 

HRESULT CreateInstance(OleString aPluginName, out IHYCrossPlatformPlugin aResult)

 

func CreateInstance(_ aPluginName: OleString, _ aResult: IHYCrossPlatformPlugin) -> HRESULT

 

Function CreateInstance(aPluginName As OleString, <OutAttribute> ByRef aResult As IHYCrossPlatformPlugin) As HRESULT

Parameters:

  • aPluginName: Name of the plugin
  • aResult: result

get_Host

Returns the reference to the plugin host interface.

 

method get_Host(out aResult: IHYCrossPlatformHost): HRESULT

 

HRESULT get_Host(out IHYCrossPlatformHost aResult)

 

func get_Host(_ aResult: IHYCrossPlatformHost) -> HRESULT

 

Function get_Host(<OutAttribute> ByRef aResult As IHYCrossPlatformHost) As HRESULT

Parameters:

  • aResult: result

get_Plugin

Returns the reference to a plugin descriptor with specified index.

 

method get_Plugin(aIndex: Int32; out aResult: IHYCrossPlatformPluginDescriptor): HRESULT

 

HRESULT get_Plugin(Int32 aIndex, out IHYCrossPlatformPluginDescriptor aResult)

 

func get_Plugin(_ aIndex: Int32, _ aResult: IHYCrossPlatformPluginDescriptor) -> HRESULT

 

Function get_Plugin(aIndex As Int32, <OutAttribute> ByRef aResult As IHYCrossPlatformPluginDescriptor) As HRESULT

Parameters:

  • aIndex: Index of the plugin.
  • aResult: result

get_PluginCount

Returns the number of plugins in the current module.

 

method get_PluginCount(out aResult: Int32): HRESULT

 

HRESULT get_PluginCount(out Int32 aResult)

 

func get_PluginCount(_ aResult: Int32) -> HRESULT

 

Function get_PluginCount(<OutAttribute> ByRef aResult As Int32) As HRESULT

Parameters:

  • aResult: result

GetIDsOfNames    (declared in FakeIDispatch)

Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs. Empty.

 

// Island-Ubuntu
method GetIDsOfNames(riid: REFIID; rgszNames: ^^Char; cNames: UInt32; lcid: UInt32; rgDispId: ^Int32): HRESULT
// Island-Windows
method GetIDsOfNames(riid: REFIID; rgszNames: ^^WCHAR; cNames: UINT; lcid: LCID; rgDispId: ^DISPID): HRESULT

 

// Island-Ubuntu
HRESULT GetIDsOfNames(REFIID riid, Char** rgszNames, UInt32 cNames, UInt32 lcid, Int32* rgDispId)
// Island-Windows
HRESULT GetIDsOfNames(REFIID riid, WCHAR** rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId)

 

// Island-Ubuntu
func GetIDsOfNames(_ riid: REFIID, _ rgszNames: UnsafeMutablePointer<UnsafeMutablePointer<Char>>, _ cNames: UInt32, _ lcid: UInt32, _ rgDispId: UnsafeMutablePointer<Int32>) -> HRESULT
// Island-Windows
func GetIDsOfNames(_ riid: REFIID, _ rgszNames: UnsafeMutablePointer<UnsafeMutablePointer<WCHAR>>, _ cNames: UINT, _ lcid: LCID, _ rgDispId: UnsafeMutablePointer<DISPID>) -> HRESULT

 

// Island-Ubuntu
Function GetIDsOfNames(riid As REFIID, rgszNames As Ptr(Of Ptr(Of Char)), cNames As UInt32, lcid As UInt32, rgDispId As Ptr(Of Int32)) As HRESULT
// Island-Windows
Function GetIDsOfNames(riid As REFIID, rgszNames As Ptr(Of Ptr(Of WCHAR)), cNames As UINT, lcid As LCID, rgDispId As Ptr(Of DISPID)) As HRESULT

Parameters:

  • riid: Reserved for future use. Must be IID_NULL.
  • rgszNames: The array of names to be mapped.
  • cNames: The count of the names to be mapped.
  • lcid: The locale context in which to interpret the names.
  • rgDispId: Caller-allocated array, each element of which contains an identifier (ID) corresponding to one of the names passed in the rgszNames array.

GetLargeImages

Returns a handle of a "large images" image list.Returns a handle of a "large images" image list.

 

method GetLargeImages(out aResult: IntPtr): HRESULT

 

HRESULT GetLargeImages(out IntPtr aResult)

 

func GetLargeImages(_ aResult: IntPtr) -> HRESULT

 

Function GetLargeImages(<OutAttribute> ByRef aResult As IntPtr) As HRESULT

Parameters:

  • aResult: result

GetModuleController

Returns the interface of the current module controller.

 

method GetModuleController(out aResult: IHYCrossPlatformModuleController): HRESULT

 

HRESULT GetModuleController(out IHYCrossPlatformModuleController aResult)

 

func GetModuleController(_ aResult: IHYCrossPlatformModuleController) -> HRESULT

 

Function GetModuleController(<OutAttribute> ByRef aResult As IHYCrossPlatformModuleController) As HRESULT

Parameters:

  • aResult: result

GetSmallImages

Returns a handle of a "small images" image list.

 

method GetSmallImages(out aResult: IntPtr): HRESULT

 

HRESULT GetSmallImages(out IntPtr aResult)

 

func GetSmallImages(_ aResult: IntPtr) -> HRESULT

 

Function GetSmallImages(<OutAttribute> ByRef aResult As IntPtr) As HRESULT

Parameters:

  • aResult: result

GetTypeInfo    (declared in FakeIDispatch)

Retrieves the type information for an object, which can then be used to get the type information for an interface. Empty.

 

// Island-Ubuntu
method GetTypeInfo(iTInfo: UInt32; lcid: UInt32; ppTInfo: ^ITypeInfo): HRESULT
// Island-Windows
method GetTypeInfo(iTInfo: UINT; lcid: LCID; ppTInfo: ^ITypeInfo): HRESULT

 

// Island-Ubuntu
HRESULT GetTypeInfo(UInt32 iTInfo, UInt32 lcid, ITypeInfo* ppTInfo)
// Island-Windows
HRESULT GetTypeInfo(UINT iTInfo, LCID lcid, ITypeInfo* ppTInfo)

 

// Island-Ubuntu
func GetTypeInfo(_ iTInfo: UInt32, _ lcid: UInt32, _ ppTInfo: UnsafeMutablePointer<ITypeInfo>) -> HRESULT
// Island-Windows
func GetTypeInfo(_ iTInfo: UINT, _ lcid: LCID, _ ppTInfo: UnsafeMutablePointer<ITypeInfo>) -> HRESULT

 

// Island-Ubuntu
Function GetTypeInfo(iTInfo As UInt32, lcid As UInt32, ppTInfo As Ptr(Of ITypeInfo)) As HRESULT
// Island-Windows
Function GetTypeInfo(iTInfo As UINT, lcid As LCID, ppTInfo As Ptr(Of ITypeInfo)) As HRESULT

Parameters:

  • iTInfo: Index of the type information to return.
  • lcid: The locale identifier for the type information.
  • ppTInfo: The requested type information object.

GetTypeInfoCount    (declared in FakeIDispatch)

Retrieves the number of type information interfaces that an object provides (either 0 or 1). Empty

 

// Island-Ubuntu
method GetTypeInfoCount(pctinfo: ^UInt32): HRESULT
// Island-Windows
method GetTypeInfoCount(pctinfo: ^UINT): HRESULT

 

// Island-Ubuntu
HRESULT GetTypeInfoCount(UInt32* pctinfo)
// Island-Windows
HRESULT GetTypeInfoCount(UINT* pctinfo)

 

// Island-Ubuntu
func GetTypeInfoCount(_ pctinfo: UnsafeMutablePointer<UInt32>) -> HRESULT
// Island-Windows
func GetTypeInfoCount(_ pctinfo: UnsafeMutablePointer<UINT>) -> HRESULT

 

// Island-Ubuntu
Function GetTypeInfoCount(pctinfo As Ptr(Of UInt32)) As HRESULT
// Island-Windows
Function GetTypeInfoCount(pctinfo As Ptr(Of UINT)) As HRESULT

Parameters:

  • pctinfo: The number of type information interfaces provided by the object. If the object provides type information, this number is 1; otherwise the number is 0.

Host

Referense to a host interface.

 

property Host: IHYCrossPlatformHost read;

 

IHYCrossPlatformHost Host { get; }

 

var Host: IHYCrossPlatformHost { get{} }

 

ReadOnly Property Host() As IHYCrossPlatformHost

HostChanged  virtual

This event is fired whenever host property is changed. Use this even to get access to a host reference.

 

method HostChanged(value: IHYCrossPlatformHost)

 

void HostChanged(IHYCrossPlatformHost value)

 

func HostChanged(_ value: IHYCrossPlatformHost)

 

Sub HostChanged(value As IHYCrossPlatformHost)

Parameters:

  • value: host reference

Invoke    (declared in FakeIDispatch)

Provides access to properties and methods exposed by an object. Empty.

 

// Island-Ubuntu
method Invoke(dispIdMember: Int32; riid: REFIID; lcid: UInt32; wFlags: UInt16; pDispParams: ^DISPPARAMS; pVarResult: ^VARIANT; pExcepInfo: ^EXCEPINFO; puArgErr: ^UInt32): HRESULT
// Island-Windows
method Invoke(dispIdMember: DISPID; riid: REFIID; lcid: LCID; wFlags: WORD; pDispParams: ^DISPPARAMS; pVarResult: ^VARIANT; pExcepInfo: ^EXCEPINFO; puArgErr: ^UINT): HRESULT

 

// Island-Ubuntu
HRESULT Invoke(Int32 dispIdMember, REFIID riid, UInt32 lcid, UInt16 wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UInt32* puArgErr)
// Island-Windows
HRESULT Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr)

 

// Island-Ubuntu
func Invoke(_ dispIdMember: Int32, _ riid: REFIID, _ lcid: UInt32, _ wFlags: UInt16, _ pDispParams: UnsafeMutablePointer<DISPPARAMS>, _ pVarResult: UnsafeMutablePointer<VARIANT>, _ pExcepInfo: UnsafeMutablePointer<EXCEPINFO>, _ puArgErr: UnsafeMutablePointer<UInt32>) -> HRESULT
// Island-Windows
func Invoke(_ dispIdMember: DISPID, _ riid: REFIID, _ lcid: LCID, _ wFlags: WORD, _ pDispParams: UnsafeMutablePointer<DISPPARAMS>, _ pVarResult: UnsafeMutablePointer<VARIANT>, _ pExcepInfo: UnsafeMutablePointer<EXCEPINFO>, _ puArgErr: UnsafeMutablePointer<UINT>) -> HRESULT

 

// Island-Ubuntu
Function Invoke(dispIdMember As Int32, riid As REFIID, lcid As UInt32, wFlags As UInt16, pDispParams As Ptr(Of DISPPARAMS), pVarResult As Ptr(Of VARIANT), pExcepInfo As Ptr(Of EXCEPINFO), puArgErr As Ptr(Of UInt32)) As HRESULT
// Island-Windows
Function Invoke(dispIdMember As DISPID, riid As REFIID, lcid As LCID, wFlags As WORD, pDispParams As Ptr(Of DISPPARAMS), pVarResult As Ptr(Of VARIANT), pExcepInfo As Ptr(Of EXCEPINFO), puArgErr As Ptr(Of UINT)) As HRESULT

Parameters:

  • dispIdMember: Identifies the member.
  • riid: Reserved for future use. Must be IID_NULL.
  • lcid: The locale context in which to interpret arguments.
  • wFlags: Flags describing the context of the Invoke call.
  • pDispParams: Pointer to a DISPPARAMS structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.
  • pVarResult: Pointer to the location where the result is to be stored, or nil if the caller expects no result.
  • pExcepInfo: Pointer to a structure that contains exception information.
  • puArgErr: The index within rgvarg of the first argument that has an error.

LargeImages

Image list that holds a collection of "large images".

 

// Island-Ubuntu
property LargeImages: ^void read write;
// Island-Windows
property LargeImages: HIMAGELIST read write;

 

// Island-Ubuntu
void* LargeImages { get; set; }
// Island-Windows
HIMAGELIST LargeImages { get; set; }

 

// Island-Ubuntu
var LargeImages: UnsafeMutablePointer<void> { get{} set{} }
// Island-Windows
var LargeImages: HIMAGELIST { get{} set{} }

 

// Island-Ubuntu
Property LargeImages() As Ptr(Of Void)
// Island-Windows
Property LargeImages() As HIMAGELIST

set_Host

Set the reference to the plugin host interface.

 

method set_Host(value: IHYCrossPlatformHost): HRESULT

 

HRESULT set_Host(IHYCrossPlatformHost value)

 

func set_Host(_ value: IHYCrossPlatformHost) -> HRESULT

 

Function set_Host(value As IHYCrossPlatformHost) As HRESULT

Parameters:

  • value: host

SmallImages

Image list that holds a collection of "small images".

 

// Island-Ubuntu
property SmallImages: ^void read write;
// Island-Windows
property SmallImages: HIMAGELIST read write;

 

// Island-Ubuntu
void* SmallImages { get; set; }
// Island-Windows
HIMAGELIST SmallImages { get; set; }

 

// Island-Ubuntu
var SmallImages: UnsafeMutablePointer<void> { get{} set{} }
// Island-Windows
var SmallImages: HIMAGELIST { get{} set{} }

 

// Island-Ubuntu
Property SmallImages() As Ptr(Of Void)
// Island-Windows
Property SmallImages() As HIMAGELIST

 

Host

Referense to a host interface.

 

property Host: IHYCrossPlatformHost read;

 

IHYCrossPlatformHost Host { get; }

 

var Host: IHYCrossPlatformHost { get{} }

 

ReadOnly Property Host() As IHYCrossPlatformHost

LargeImages

Image list that holds a collection of "large images".

 

// Island-Ubuntu
property LargeImages: ^void read write;
// Island-Windows
property LargeImages: HIMAGELIST read write;

 

// Island-Ubuntu
void* LargeImages { get; set; }
// Island-Windows
HIMAGELIST LargeImages { get; set; }

 

// Island-Ubuntu
var LargeImages: UnsafeMutablePointer<void> { get{} set{} }
// Island-Windows
var LargeImages: HIMAGELIST { get{} set{} }

 

// Island-Ubuntu
Property LargeImages() As Ptr(Of Void)
// Island-Windows
Property LargeImages() As HIMAGELIST

SmallImages

Image list that holds a collection of "small images".

 

// Island-Ubuntu
property SmallImages: ^void read write;
// Island-Windows
property SmallImages: HIMAGELIST read write;

 

// Island-Ubuntu
void* SmallImages { get; set; }
// Island-Windows
HIMAGELIST SmallImages { get; set; }

 

// Island-Ubuntu
var SmallImages: UnsafeMutablePointer<void> { get{} set{} }
// Island-Windows
var SmallImages: HIMAGELIST { get{} set{} }

 

// Island-Ubuntu
Property SmallImages() As Ptr(Of Void)
// Island-Windows
Property SmallImages() As HIMAGELIST

 

CreateInstance

Creates a new instance of the plugin whose name is specified by the aPluginName parameter.

 

method CreateInstance(aPluginName: OleString; out aResult: IHYCrossPlatformPlugin): HRESULT

 

HRESULT CreateInstance(OleString aPluginName, out IHYCrossPlatformPlugin aResult)

 

func CreateInstance(_ aPluginName: OleString, _ aResult: IHYCrossPlatformPlugin) -> HRESULT

 

Function CreateInstance(aPluginName As OleString, <OutAttribute> ByRef aResult As IHYCrossPlatformPlugin) As HRESULT

Parameters:

  • aPluginName: Name of the plugin
  • aResult: result

get_Host

Returns the reference to the plugin host interface.

 

method get_Host(out aResult: IHYCrossPlatformHost): HRESULT

 

HRESULT get_Host(out IHYCrossPlatformHost aResult)

 

func get_Host(_ aResult: IHYCrossPlatformHost) -> HRESULT

 

Function get_Host(<OutAttribute> ByRef aResult As IHYCrossPlatformHost) As HRESULT

Parameters:

  • aResult: result

get_Plugin

Returns the reference to a plugin descriptor with specified index.

 

method get_Plugin(aIndex: Int32; out aResult: IHYCrossPlatformPluginDescriptor): HRESULT

 

HRESULT get_Plugin(Int32 aIndex, out IHYCrossPlatformPluginDescriptor aResult)

 

func get_Plugin(_ aIndex: Int32, _ aResult: IHYCrossPlatformPluginDescriptor) -> HRESULT

 

Function get_Plugin(aIndex As Int32, <OutAttribute> ByRef aResult As IHYCrossPlatformPluginDescriptor) As HRESULT

Parameters:

  • aIndex: Index of the plugin.
  • aResult: result

get_PluginCount

Returns the number of plugins in the current module.

 

method get_PluginCount(out aResult: Int32): HRESULT

 

HRESULT get_PluginCount(out Int32 aResult)

 

func get_PluginCount(_ aResult: Int32) -> HRESULT

 

Function get_PluginCount(<OutAttribute> ByRef aResult As Int32) As HRESULT

Parameters:

  • aResult: result

GetIDsOfNames    (declared in FakeIDispatch)

Maps a single member and an optional set of argument names to a corresponding set of integer DISPIDs. Empty.

 

// Island-Ubuntu
method GetIDsOfNames(riid: REFIID; rgszNames: ^^Char; cNames: UInt32; lcid: UInt32; rgDispId: ^Int32): HRESULT
// Island-Windows
method GetIDsOfNames(riid: REFIID; rgszNames: ^^WCHAR; cNames: UINT; lcid: LCID; rgDispId: ^DISPID): HRESULT

 

// Island-Ubuntu
HRESULT GetIDsOfNames(REFIID riid, Char** rgszNames, UInt32 cNames, UInt32 lcid, Int32* rgDispId)
// Island-Windows
HRESULT GetIDsOfNames(REFIID riid, WCHAR** rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId)

 

// Island-Ubuntu
func GetIDsOfNames(_ riid: REFIID, _ rgszNames: UnsafeMutablePointer<UnsafeMutablePointer<Char>>, _ cNames: UInt32, _ lcid: UInt32, _ rgDispId: UnsafeMutablePointer<Int32>) -> HRESULT
// Island-Windows
func GetIDsOfNames(_ riid: REFIID, _ rgszNames: UnsafeMutablePointer<UnsafeMutablePointer<WCHAR>>, _ cNames: UINT, _ lcid: LCID, _ rgDispId: UnsafeMutablePointer<DISPID>) -> HRESULT

 

// Island-Ubuntu
Function GetIDsOfNames(riid As REFIID, rgszNames As Ptr(Of Ptr(Of Char)), cNames As UInt32, lcid As UInt32, rgDispId As Ptr(Of Int32)) As HRESULT
// Island-Windows
Function GetIDsOfNames(riid As REFIID, rgszNames As Ptr(Of Ptr(Of WCHAR)), cNames As UINT, lcid As LCID, rgDispId As Ptr(Of DISPID)) As HRESULT

Parameters:

  • riid: Reserved for future use. Must be IID_NULL.
  • rgszNames: The array of names to be mapped.
  • cNames: The count of the names to be mapped.
  • lcid: The locale context in which to interpret the names.
  • rgDispId: Caller-allocated array, each element of which contains an identifier (ID) corresponding to one of the names passed in the rgszNames array.

GetLargeImages

Returns a handle of a "large images" image list.Returns a handle of a "large images" image list.

 

method GetLargeImages(out aResult: IntPtr): HRESULT

 

HRESULT GetLargeImages(out IntPtr aResult)

 

func GetLargeImages(_ aResult: IntPtr) -> HRESULT

 

Function GetLargeImages(<OutAttribute> ByRef aResult As IntPtr) As HRESULT

Parameters:

  • aResult: result

GetModuleController

Returns the interface of the current module controller.

 

method GetModuleController(out aResult: IHYCrossPlatformModuleController): HRESULT

 

HRESULT GetModuleController(out IHYCrossPlatformModuleController aResult)

 

func GetModuleController(_ aResult: IHYCrossPlatformModuleController) -> HRESULT

 

Function GetModuleController(<OutAttribute> ByRef aResult As IHYCrossPlatformModuleController) As HRESULT

Parameters:

  • aResult: result

GetSmallImages

Returns a handle of a "small images" image list.

 

method GetSmallImages(out aResult: IntPtr): HRESULT

 

HRESULT GetSmallImages(out IntPtr aResult)

 

func GetSmallImages(_ aResult: IntPtr) -> HRESULT

 

Function GetSmallImages(<OutAttribute> ByRef aResult As IntPtr) As HRESULT

Parameters:

  • aResult: result

GetTypeInfo    (declared in FakeIDispatch)

Retrieves the type information for an object, which can then be used to get the type information for an interface. Empty.

 

// Island-Ubuntu
method GetTypeInfo(iTInfo: UInt32; lcid: UInt32; ppTInfo: ^ITypeInfo): HRESULT
// Island-Windows
method GetTypeInfo(iTInfo: UINT; lcid: LCID; ppTInfo: ^ITypeInfo): HRESULT

 

// Island-Ubuntu
HRESULT GetTypeInfo(UInt32 iTInfo, UInt32 lcid, ITypeInfo* ppTInfo)
// Island-Windows
HRESULT GetTypeInfo(UINT iTInfo, LCID lcid, ITypeInfo* ppTInfo)

 

// Island-Ubuntu
func GetTypeInfo(_ iTInfo: UInt32, _ lcid: UInt32, _ ppTInfo: UnsafeMutablePointer<ITypeInfo>) -> HRESULT
// Island-Windows
func GetTypeInfo(_ iTInfo: UINT, _ lcid: LCID, _ ppTInfo: UnsafeMutablePointer<ITypeInfo>) -> HRESULT

 

// Island-Ubuntu
Function GetTypeInfo(iTInfo As UInt32, lcid As UInt32, ppTInfo As Ptr(Of ITypeInfo)) As HRESULT
// Island-Windows
Function GetTypeInfo(iTInfo As UINT, lcid As LCID, ppTInfo As Ptr(Of ITypeInfo)) As HRESULT

Parameters:

  • iTInfo: Index of the type information to return.
  • lcid: The locale identifier for the type information.
  • ppTInfo: The requested type information object.

GetTypeInfoCount    (declared in FakeIDispatch)

Retrieves the number of type information interfaces that an object provides (either 0 or 1). Empty

 

// Island-Ubuntu
method GetTypeInfoCount(pctinfo: ^UInt32): HRESULT
// Island-Windows
method GetTypeInfoCount(pctinfo: ^UINT): HRESULT

 

// Island-Ubuntu
HRESULT GetTypeInfoCount(UInt32* pctinfo)
// Island-Windows
HRESULT GetTypeInfoCount(UINT* pctinfo)

 

// Island-Ubuntu
func GetTypeInfoCount(_ pctinfo: UnsafeMutablePointer<UInt32>) -> HRESULT
// Island-Windows
func GetTypeInfoCount(_ pctinfo: UnsafeMutablePointer<UINT>) -> HRESULT

 

// Island-Ubuntu
Function GetTypeInfoCount(pctinfo As Ptr(Of UInt32)) As HRESULT
// Island-Windows
Function GetTypeInfoCount(pctinfo As Ptr(Of UINT)) As HRESULT

Parameters:

  • pctinfo: The number of type information interfaces provided by the object. If the object provides type information, this number is 1; otherwise the number is 0.

HostChanged  virtual

This event is fired whenever host property is changed. Use this even to get access to a host reference.

 

method HostChanged(value: IHYCrossPlatformHost)

 

void HostChanged(IHYCrossPlatformHost value)

 

func HostChanged(_ value: IHYCrossPlatformHost)

 

Sub HostChanged(value As IHYCrossPlatformHost)

Parameters:

  • value: host reference

Invoke    (declared in FakeIDispatch)

Provides access to properties and methods exposed by an object. Empty.

 

// Island-Ubuntu
method Invoke(dispIdMember: Int32; riid: REFIID; lcid: UInt32; wFlags: UInt16; pDispParams: ^DISPPARAMS; pVarResult: ^VARIANT; pExcepInfo: ^EXCEPINFO; puArgErr: ^UInt32): HRESULT
// Island-Windows
method Invoke(dispIdMember: DISPID; riid: REFIID; lcid: LCID; wFlags: WORD; pDispParams: ^DISPPARAMS; pVarResult: ^VARIANT; pExcepInfo: ^EXCEPINFO; puArgErr: ^UINT): HRESULT

 

// Island-Ubuntu
HRESULT Invoke(Int32 dispIdMember, REFIID riid, UInt32 lcid, UInt16 wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UInt32* puArgErr)
// Island-Windows
HRESULT Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr)

 

// Island-Ubuntu
func Invoke(_ dispIdMember: Int32, _ riid: REFIID, _ lcid: UInt32, _ wFlags: UInt16, _ pDispParams: UnsafeMutablePointer<DISPPARAMS>, _ pVarResult: UnsafeMutablePointer<VARIANT>, _ pExcepInfo: UnsafeMutablePointer<EXCEPINFO>, _ puArgErr: UnsafeMutablePointer<UInt32>) -> HRESULT
// Island-Windows
func Invoke(_ dispIdMember: DISPID, _ riid: REFIID, _ lcid: LCID, _ wFlags: WORD, _ pDispParams: UnsafeMutablePointer<DISPPARAMS>, _ pVarResult: UnsafeMutablePointer<VARIANT>, _ pExcepInfo: UnsafeMutablePointer<EXCEPINFO>, _ puArgErr: UnsafeMutablePointer<UINT>) -> HRESULT

 

// Island-Ubuntu
Function Invoke(dispIdMember As Int32, riid As REFIID, lcid As UInt32, wFlags As UInt16, pDispParams As Ptr(Of DISPPARAMS), pVarResult As Ptr(Of VARIANT), pExcepInfo As Ptr(Of EXCEPINFO), puArgErr As Ptr(Of UInt32)) As HRESULT
// Island-Windows
Function Invoke(dispIdMember As DISPID, riid As REFIID, lcid As LCID, wFlags As WORD, pDispParams As Ptr(Of DISPPARAMS), pVarResult As Ptr(Of VARIANT), pExcepInfo As Ptr(Of EXCEPINFO), puArgErr As Ptr(Of UINT)) As HRESULT

Parameters:

  • dispIdMember: Identifies the member.
  • riid: Reserved for future use. Must be IID_NULL.
  • lcid: The locale context in which to interpret arguments.
  • wFlags: Flags describing the context of the Invoke call.
  • pDispParams: Pointer to a DISPPARAMS structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.
  • pVarResult: Pointer to the location where the result is to be stored, or nil if the caller expects no result.
  • pExcepInfo: Pointer to a structure that contains exception information.
  • puArgErr: The index within rgvarg of the first argument that has an error.

set_Host

Set the reference to the plugin host interface.

 

method set_Host(value: IHYCrossPlatformHost): HRESULT

 

HRESULT set_Host(IHYCrossPlatformHost value)

 

func set_Host(_ value: IHYCrossPlatformHost) -> HRESULT

 

Function set_Host(value As IHYCrossPlatformHost) As HRESULT

Parameters:

  • value: host