VIOInitialize

This function initializes the vehicle input/output (I/O) API for a process.

Syntax

HRESULT VIOInitialize (LPVOID pvReserved);

Parameters

pvReserved
Reserved; set to NULL.

Return Values

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

Value
Description
S_OK API was initialized successfully.
CLASS_E_CLASSNOTAVAILABLE Vehicle I/O device manager is not registered.
E_ABORT Startup of the API was aborted.

Remarks

VIOInitialize may be called multiple times by a process. However, if there are no corresponding calls to VIOUninitialize, resources in use by the process may not be freed when the process ends.