VIORegisterMinidriverManager

This function enables support for a set of vehicle I/O mini-drivers by the vehicle I/O API.

Syntax

HRESULT VIORegisterMinidriverManager( REFCLSID rclsidManager, BOOL bRegister );

Parameters

rclsidManager
Class identifier (CLSID) of the mini-driver manager object.
bRegister
Boolean that is set to TRUE to register the mini-driver manager, or to FALSE to deregister it.

Return Values

One of the values described in the following table is returned.

Value
Description
S_OK Object is registered or deregistered successfully.
S_FALSE Object is already registered or deregistered.
E_FAIL Failed to register or deregister object.
E_OUTOFMEMORY Application is out of memory.
E_UNEXPECTED An unexpected error occurred.

Remarks

The mini-driver manager object is responsible for initializing communication with the vehicle by means of the vehicle I/O device, and any other vehicle I/O mini-driver-specific initializations necessary. The mini-driver manager object is initialized by the vehicle I/O API during VIOInitialize.