Click or drag to resize

Ole32FuncCoRegisterClassObject Method

Registers a class factory with COM.

Namespace: Altaxo.UnmanagedApi.Ole32
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static int CoRegisterClassObject(
	in Guid rclsid,
	Object pUnk,
	uint dwClsContext,
	uint flags,
	out uint lpdwRegister
)

Parameters

rclsid  Guid
The CLSID of the class object to register.
pUnk  Object
The class factory object to register.
dwClsContext  UInt32
The execution context in which the class object runs.
flags  UInt32
The registration flags.
lpdwRegister  UInt32
When this method returns, contains the registration token.

Return Value

Int32
The HRESULT returned by COM.
See Also