# IComDll Struct Reference
[COM Interfaces]

Inheritance diagram for IComDll:

List of all members.

## Public Member Functions
virtual void MCCOMAPI | LoadDLL ()=0
| Loads and initializes the dll.
virtual void MCCOMAPI | UnloadDLL ()=0
| Cleans up and unloads the dll.
virtual void MCCOMAPI | CoCreateInstance (const MCCLSID &rclsid, IMCUnknown *pUnkOuter, const MCIID &riid, void **ppv)=0

## Detailed Description

Interface for a com dll. It should be created with gShSafeUtilities, then loaded and asked to create an object

## Member Function Documentation

virtual void MCCOMAPI IComDll::CoCreateInstance | ( | const MCCLSID & | rclsid,
|  | IMCUnknown * | pUnkOuter,
|  | const MCIID & | riid,
|  | void ** | ppv |
| ) |  |  | `[pure virtual]`

Manually creates a component from the dll.

Parameters:

  | rclsid | Class ID of the component to create
  | pUnkOuter | Pointer to the controlling Unknown object (Used for COM aggregation). You can pass null
  | riid | Interface ID for the interface we want (can be the same than rclsid)
  | ppv | Points to the resulting interface of the component created

virtual void MCCOMAPI IComDll::LoadDLL | ( |  | ) | `[pure virtual]`

Loads and initializes the dll.

virtual void MCCOMAPI IComDll::UnloadDLL | ( |  | ) | `[pure virtual]`

Cleans up and unloads the dll.

The documentation for this struct was generated from the following file:

- IComDll.h