ComObjectFactory

Overview

Location


 

constructor  protected    (declared in InterfacedObject)

 

constructor

 

ComObjectFactory()

 

init()

 

ComObjectFactory()

 

Sub New()

 

constructor(aComServer: ComServerObject; aComClass: Type; aClassID: Guid; aName: String; aDescription: String; aInstancing: ClassInstancing; aThreadingModel: ThreadingModel)

 

ComObjectFactory(ComServerObject aComServer, Type aComClass, Guid aClassID, String aName, String aDescription, ClassInstancing aInstancing, ThreadingModel aThreadingModel)

 

init(_ aComServer: ComServerObject, _ aComClass: Type, _ aClassID: Guid, _ aName: String, _ aDescription: String, _ aInstancing: ClassInstancing, _ aThreadingModel: ThreadingModel)

 

ComObjectFactory(ComServerObject aComServer, Type aComClass, Guid aClassID, String aName, String aDescription, ClassInstancing aInstancing, ThreadingModel aThreadingModel)

 

Sub New(aComServer As ComServerObject, aComClass As Type, aClassID As Guid, aName As String, aDescription As String, aInstancing As ClassInstancing, aThreadingModel As ThreadingModel)

Parameters:

  • aComServer:
  • aComClass:
  • aClassID:
  • aName:
  • aDescription:
  • aInstancing:
  • aThreadingModel:

 

constructor(aComServer: ComServerObject; aComClass: Type; aClassID: Guid; aName: String; aVersion: String; aDescription: String; aInstancing: ClassInstancing; aThreadingModel: ThreadingModel)

 

ComObjectFactory(ComServerObject aComServer, Type aComClass, Guid aClassID, String aName, String aVersion, String aDescription, ClassInstancing aInstancing, ThreadingModel aThreadingModel)

 

init(_ aComServer: ComServerObject, _ aComClass: Type, _ aClassID: Guid, _ aName: String, _ aVersion: String, _ aDescription: String, _ aInstancing: ClassInstancing, _ aThreadingModel: ThreadingModel)

 

ComObjectFactory(ComServerObject aComServer, Type aComClass, Guid aClassID, String aName, String aVersion, String aDescription, ClassInstancing aInstancing, ThreadingModel aThreadingModel)

 

Sub New(aComServer As ComServerObject, aComClass As Type, aClassID As Guid, aName As String, aVersion As String, aDescription As String, aInstancing As ClassInstancing, aThreadingModel As ThreadingModel)

Parameters:

  • aComServer:
  • aComClass:
  • aClassID:
  • aName:
  • aVersion:
  • aDescription:
  • aInstancing:
  • aThreadingModel:

AddRef  virtual

 

method AddRef: ULONG

 

ULONG AddRef()

 

func AddRef() -> ULONG

 

ULONG AddRef()

 

Function AddRef() As ULONG

ClassID

 

property ClassID: Guid read;

 

Guid ClassID { get; }

 

var ClassID: Guid { get{} }

 

Guid ClassID { __get; }

 

ReadOnly Property ClassID() As Guid

ClassName

 

property ClassName: String read;

 

String ClassName { get; }

 

var ClassName: String { get{} }

 

String ClassName { __get; }

 

ReadOnly Property ClassName() As String

ClassVersion

 

property ClassVersion: String read;

 

String ClassVersion { get; }

 

var ClassVersion: String { get{} }

 

String ClassVersion { __get; }

 

ReadOnly Property ClassVersion() As String

ComClass

 

property ComClass: Type read;

 

Type ComClass { get; }

 

var ComClass: Type { get{} }

 

Type ComClass { __get; }

 

ReadOnly Property ComClass() As Type

ComDispose

 

method ComDispose

 

void ComDispose()

 

func ComDispose()

 

void ComDispose()

 

Sub ComDispose()

ComServer

 

property ComServer: ComServerObject read;

 

ComServerObject ComServer { get; }

 

var ComServer: ComServerObject { get{} }

 

ComServerObject ComServer { __get; }

 

ReadOnly Property ComServer() As ComServerObject

CreateComObject  virtual

 

method CreateComObject: ComObject

 

ComObject CreateComObject()

 

func CreateComObject() -> ComObject

 

ComObject CreateComObject()

 

Function CreateComObject() As ComObject

CreateInstance  stdcall

 

method CreateInstance(pUnkOuter: IUnknown; riid: REFIID; ppvObject: ^^void): HRESULT

 

HRESULT CreateInstance(IUnknown pUnkOuter, REFIID riid, void** ppvObject)

 

func CreateInstance(_ pUnkOuter: IUnknown, _ riid: REFIID, _ ppvObject: UnsafeMutablePointer<UnsafeMutablePointer<void>>) -> HRESULT

 

HRESULT CreateInstance(IUnknown pUnkOuter, REFIID riid, void** ppvObject)

 

Function CreateInstance(pUnkOuter As IUnknown, riid As REFIID, ppvObject As Ptr(Of Ptr(Of Void))) As HRESULT

Parameters:

  • pUnkOuter:
  • riid:
  • ppvObject:

CreateInstanceLic  stdcall

 

method CreateInstanceLic(pUnkOuter: IUnknown; pUnkReserved: IUnknown; riid: REFIID; bstrKey: ^WCHAR; ppvObj: ^PVOID): HRESULT

 

HRESULT CreateInstanceLic(IUnknown pUnkOuter, IUnknown pUnkReserved, REFIID riid, WCHAR* bstrKey, PVOID* ppvObj)

 

func CreateInstanceLic(_ pUnkOuter: IUnknown, _ pUnkReserved: IUnknown, _ riid: REFIID, _ bstrKey: UnsafeMutablePointer<WCHAR>, _ ppvObj: UnsafeMutablePointer<PVOID>) -> HRESULT

 

HRESULT CreateInstanceLic(IUnknown pUnkOuter, IUnknown pUnkReserved, REFIID riid, WCHAR* bstrKey, PVOID* ppvObj)

 

Function CreateInstanceLic(pUnkOuter As IUnknown, pUnkReserved As IUnknown, riid As REFIID, bstrKey As Ptr(Of WCHAR), ppvObj As Ptr(Of PVOID)) As HRESULT

Parameters:

  • pUnkOuter:
  • pUnkReserved:
  • riid:
  • bstrKey:
  • ppvObj:

DefaultQueryInterface  override virtual

 

method DefaultQueryInterface(var riid: Guid; out ppvObject: ^void): Boolean

 

Boolean DefaultQueryInterface(ref Guid riid, out void* ppvObject)

 

func DefaultQueryInterface(_ riid: Guid, _ ppvObject: UnsafeMutablePointer<void>) -> Boolean

 

Boolean DefaultQueryInterface(__ref Guid riid, __out void* ppvObject)

 

Function DefaultQueryInterface(ByRef riid As Guid, <OutAttribute> ByRef ppvObject As Ptr(Of Void)) As Boolean

Parameters:

  • riid:
  • ppvObject:

Description

 

property Description: String read;

 

String Description { get; }

 

var Description: String { get{} }

 

String Description { __get; }

 

ReadOnly Property Description() As String

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

ErrorIID

 

property ErrorIID: Guid read write;

 

Guid ErrorIID { get; set; }

 

var ErrorIID: Guid { get{} set{} }

 

Guid ErrorIID { __get; __set; }

 

Property ErrorIID() As Guid

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetLicInfo  stdcall

 

method GetLicInfo(pLicInfo: ^LICINFO): HRESULT

 

HRESULT GetLicInfo(LICINFO* pLicInfo)

 

func GetLicInfo(_ pLicInfo: UnsafeMutablePointer<LICINFO>) -> HRESULT

 

HRESULT GetLicInfo(LICINFO* pLicInfo)

 

Function GetLicInfo(pLicInfo As Ptr(Of LICINFO)) As HRESULT

Parameters:

  • pLicInfo:

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

Instancing

 

property Instancing: ClassInstancing read;

 

ClassInstancing Instancing { get; }

 

var Instancing: ClassInstancing { get{} }

 

ClassInstancing Instancing { __get; }

 

ReadOnly Property Instancing() As ClassInstancing

LockServer  stdcall

 

method LockServer(fLock: BOOL): HRESULT

 

HRESULT LockServer(BOOL fLock)

 

func LockServer(_ fLock: BOOL) -> HRESULT

 

HRESULT LockServer(BOOL fLock)

 

Function LockServer(fLock As BOOL) As HRESULT

Parameters:

  • fLock:

ProgID

 

property ProgID: String read;

 

String ProgID { get; }

 

var ProgID: String { get{} }

 

String ProgID { __get; }

 

ReadOnly Property ProgID() As String

QueryInterface  virtual

 

method QueryInterface(riid: Guid; out ppvObject: ^void): Boolean

 

Boolean QueryInterface(Guid riid, out void* ppvObject)

 

func QueryInterface(_ riid: Guid, _ ppvObject: UnsafeMutablePointer<void>) -> Boolean

 

Boolean QueryInterface(Guid riid, __out void* ppvObject)

 

Function QueryInterface(riid As Guid, <OutAttribute> ByRef ppvObject As Ptr(Of Void)) As Boolean

Parameters:

  • riid:
  • ppvObject:

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

Release  virtual

 

method Release: ULONG

 

ULONG Release()

 

func Release() -> ULONG

 

ULONG Release()

 

Function Release() As ULONG

RequestLicKey  stdcall

 

method RequestLicKey(dwReserved: DWORD; pBstrKey: ^^WCHAR): HRESULT

 

HRESULT RequestLicKey(DWORD dwReserved, WCHAR** pBstrKey)

 

func RequestLicKey(_ dwReserved: DWORD, _ pBstrKey: UnsafeMutablePointer<UnsafeMutablePointer<WCHAR>>) -> HRESULT

 

HRESULT RequestLicKey(DWORD dwReserved, WCHAR** pBstrKey)

 

Function RequestLicKey(dwReserved As DWORD, pBstrKey As Ptr(Of Ptr(Of WCHAR))) As HRESULT

Parameters:

  • dwReserved:
  • pBstrKey:

ThreadingModel

 

property ThreadingModel: ThreadingModel read;

 

ThreadingModel ThreadingModel { get; }

 

var ThreadingModel: ThreadingModel { get{} }

 

ThreadingModel ThreadingModel { __get; }

 

ReadOnly Property ThreadingModel() As ThreadingModel

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

UpdateRegistry

 

method UpdateRegistry(Value: Boolean)

 

void UpdateRegistry(Boolean Value)

 

func UpdateRegistry(_ Value: Boolean)

 

void UpdateRegistry(Boolean Value)

 

Sub UpdateRegistry(Value As Boolean)

Parameters:

  • Value:

 

ClassID

 

property ClassID: Guid read;

 

Guid ClassID { get; }

 

var ClassID: Guid { get{} }

 

Guid ClassID { __get; }

 

ReadOnly Property ClassID() As Guid

ClassName

 

property ClassName: String read;

 

String ClassName { get; }

 

var ClassName: String { get{} }

 

String ClassName { __get; }

 

ReadOnly Property ClassName() As String

ClassVersion

 

property ClassVersion: String read;

 

String ClassVersion { get; }

 

var ClassVersion: String { get{} }

 

String ClassVersion { __get; }

 

ReadOnly Property ClassVersion() As String

ComClass

 

property ComClass: Type read;

 

Type ComClass { get; }

 

var ComClass: Type { get{} }

 

Type ComClass { __get; }

 

ReadOnly Property ComClass() As Type

ComServer

 

property ComServer: ComServerObject read;

 

ComServerObject ComServer { get; }

 

var ComServer: ComServerObject { get{} }

 

ComServerObject ComServer { __get; }

 

ReadOnly Property ComServer() As ComServerObject

Description

 

property Description: String read;

 

String Description { get; }

 

var Description: String { get{} }

 

String Description { __get; }

 

ReadOnly Property Description() As String

ErrorIID

 

property ErrorIID: Guid read write;

 

Guid ErrorIID { get; set; }

 

var ErrorIID: Guid { get{} set{} }

 

Guid ErrorIID { __get; __set; }

 

Property ErrorIID() As Guid

Instancing

 

property Instancing: ClassInstancing read;

 

ClassInstancing Instancing { get; }

 

var Instancing: ClassInstancing { get{} }

 

ClassInstancing Instancing { __get; }

 

ReadOnly Property Instancing() As ClassInstancing

ProgID

 

property ProgID: String read;

 

String ProgID { get; }

 

var ProgID: String { get{} }

 

String ProgID { __get; }

 

ReadOnly Property ProgID() As String

ThreadingModel

 

property ThreadingModel: ThreadingModel read;

 

ThreadingModel ThreadingModel { get; }

 

var ThreadingModel: ThreadingModel { get{} }

 

ThreadingModel ThreadingModel { __get; }

 

ReadOnly Property ThreadingModel() As ThreadingModel

 

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

 

constructor  protected    (declared in InterfacedObject)

 

constructor

 

ComObjectFactory()

 

init()

 

ComObjectFactory()

 

Sub New()

 

constructor(aComServer: ComServerObject; aComClass: Type; aClassID: Guid; aName: String; aDescription: String; aInstancing: ClassInstancing; aThreadingModel: ThreadingModel)

 

ComObjectFactory(ComServerObject aComServer, Type aComClass, Guid aClassID, String aName, String aDescription, ClassInstancing aInstancing, ThreadingModel aThreadingModel)

 

init(_ aComServer: ComServerObject, _ aComClass: Type, _ aClassID: Guid, _ aName: String, _ aDescription: String, _ aInstancing: ClassInstancing, _ aThreadingModel: ThreadingModel)

 

ComObjectFactory(ComServerObject aComServer, Type aComClass, Guid aClassID, String aName, String aDescription, ClassInstancing aInstancing, ThreadingModel aThreadingModel)

 

Sub New(aComServer As ComServerObject, aComClass As Type, aClassID As Guid, aName As String, aDescription As String, aInstancing As ClassInstancing, aThreadingModel As ThreadingModel)

Parameters:

  • aComServer:
  • aComClass:
  • aClassID:
  • aName:
  • aDescription:
  • aInstancing:
  • aThreadingModel:

 

constructor(aComServer: ComServerObject; aComClass: Type; aClassID: Guid; aName: String; aVersion: String; aDescription: String; aInstancing: ClassInstancing; aThreadingModel: ThreadingModel)

 

ComObjectFactory(ComServerObject aComServer, Type aComClass, Guid aClassID, String aName, String aVersion, String aDescription, ClassInstancing aInstancing, ThreadingModel aThreadingModel)

 

init(_ aComServer: ComServerObject, _ aComClass: Type, _ aClassID: Guid, _ aName: String, _ aVersion: String, _ aDescription: String, _ aInstancing: ClassInstancing, _ aThreadingModel: ThreadingModel)

 

ComObjectFactory(ComServerObject aComServer, Type aComClass, Guid aClassID, String aName, String aVersion, String aDescription, ClassInstancing aInstancing, ThreadingModel aThreadingModel)

 

Sub New(aComServer As ComServerObject, aComClass As Type, aClassID As Guid, aName As String, aVersion As String, aDescription As String, aInstancing As ClassInstancing, aThreadingModel As ThreadingModel)

Parameters:

  • aComServer:
  • aComClass:
  • aClassID:
  • aName:
  • aVersion:
  • aDescription:
  • aInstancing:
  • aThreadingModel:

AddRef  virtual

 

method AddRef: ULONG

 

ULONG AddRef()

 

func AddRef() -> ULONG

 

ULONG AddRef()

 

Function AddRef() As ULONG

ComDispose

 

method ComDispose

 

void ComDispose()

 

func ComDispose()

 

void ComDispose()

 

Sub ComDispose()

CreateComObject  virtual

 

method CreateComObject: ComObject

 

ComObject CreateComObject()

 

func CreateComObject() -> ComObject

 

ComObject CreateComObject()

 

Function CreateComObject() As ComObject

CreateInstance  stdcall

 

method CreateInstance(pUnkOuter: IUnknown; riid: REFIID; ppvObject: ^^void): HRESULT

 

HRESULT CreateInstance(IUnknown pUnkOuter, REFIID riid, void** ppvObject)

 

func CreateInstance(_ pUnkOuter: IUnknown, _ riid: REFIID, _ ppvObject: UnsafeMutablePointer<UnsafeMutablePointer<void>>) -> HRESULT

 

HRESULT CreateInstance(IUnknown pUnkOuter, REFIID riid, void** ppvObject)

 

Function CreateInstance(pUnkOuter As IUnknown, riid As REFIID, ppvObject As Ptr(Of Ptr(Of Void))) As HRESULT

Parameters:

  • pUnkOuter:
  • riid:
  • ppvObject:

CreateInstanceLic  stdcall

 

method CreateInstanceLic(pUnkOuter: IUnknown; pUnkReserved: IUnknown; riid: REFIID; bstrKey: ^WCHAR; ppvObj: ^PVOID): HRESULT

 

HRESULT CreateInstanceLic(IUnknown pUnkOuter, IUnknown pUnkReserved, REFIID riid, WCHAR* bstrKey, PVOID* ppvObj)

 

func CreateInstanceLic(_ pUnkOuter: IUnknown, _ pUnkReserved: IUnknown, _ riid: REFIID, _ bstrKey: UnsafeMutablePointer<WCHAR>, _ ppvObj: UnsafeMutablePointer<PVOID>) -> HRESULT

 

HRESULT CreateInstanceLic(IUnknown pUnkOuter, IUnknown pUnkReserved, REFIID riid, WCHAR* bstrKey, PVOID* ppvObj)

 

Function CreateInstanceLic(pUnkOuter As IUnknown, pUnkReserved As IUnknown, riid As REFIID, bstrKey As Ptr(Of WCHAR), ppvObj As Ptr(Of PVOID)) As HRESULT

Parameters:

  • pUnkOuter:
  • pUnkReserved:
  • riid:
  • bstrKey:
  • ppvObj:

DefaultQueryInterface  override virtual

 

method DefaultQueryInterface(var riid: Guid; out ppvObject: ^void): Boolean

 

Boolean DefaultQueryInterface(ref Guid riid, out void* ppvObject)

 

func DefaultQueryInterface(_ riid: Guid, _ ppvObject: UnsafeMutablePointer<void>) -> Boolean

 

Boolean DefaultQueryInterface(__ref Guid riid, __out void* ppvObject)

 

Function DefaultQueryInterface(ByRef riid As Guid, <OutAttribute> ByRef ppvObject As Ptr(Of Void)) As Boolean

Parameters:

  • riid:
  • ppvObject:

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetLicInfo  stdcall

 

method GetLicInfo(pLicInfo: ^LICINFO): HRESULT

 

HRESULT GetLicInfo(LICINFO* pLicInfo)

 

func GetLicInfo(_ pLicInfo: UnsafeMutablePointer<LICINFO>) -> HRESULT

 

HRESULT GetLicInfo(LICINFO* pLicInfo)

 

Function GetLicInfo(pLicInfo As Ptr(Of LICINFO)) As HRESULT

Parameters:

  • pLicInfo:

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

LockServer  stdcall

 

method LockServer(fLock: BOOL): HRESULT

 

HRESULT LockServer(BOOL fLock)

 

func LockServer(_ fLock: BOOL) -> HRESULT

 

HRESULT LockServer(BOOL fLock)

 

Function LockServer(fLock As BOOL) As HRESULT

Parameters:

  • fLock:

QueryInterface  virtual

 

method QueryInterface(riid: Guid; out ppvObject: ^void): Boolean

 

Boolean QueryInterface(Guid riid, out void* ppvObject)

 

func QueryInterface(_ riid: Guid, _ ppvObject: UnsafeMutablePointer<void>) -> Boolean

 

Boolean QueryInterface(Guid riid, __out void* ppvObject)

 

Function QueryInterface(riid As Guid, <OutAttribute> ByRef ppvObject As Ptr(Of Void)) As Boolean

Parameters:

  • riid:
  • ppvObject:

Release  virtual

 

method Release: ULONG

 

ULONG Release()

 

func Release() -> ULONG

 

ULONG Release()

 

Function Release() As ULONG

RequestLicKey  stdcall

 

method RequestLicKey(dwReserved: DWORD; pBstrKey: ^^WCHAR): HRESULT

 

HRESULT RequestLicKey(DWORD dwReserved, WCHAR** pBstrKey)

 

func RequestLicKey(_ dwReserved: DWORD, _ pBstrKey: UnsafeMutablePointer<UnsafeMutablePointer<WCHAR>>) -> HRESULT

 

HRESULT RequestLicKey(DWORD dwReserved, WCHAR** pBstrKey)

 

Function RequestLicKey(dwReserved As DWORD, pBstrKey As Ptr(Of Ptr(Of WCHAR))) As HRESULT

Parameters:

  • dwReserved:
  • pBstrKey:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

UpdateRegistry

 

method UpdateRegistry(Value: Boolean)

 

void UpdateRegistry(Boolean Value)

 

func UpdateRegistry(_ Value: Boolean)

 

void UpdateRegistry(Boolean Value)

 

Sub UpdateRegistry(Value As Boolean)

Parameters:

  • Value: