Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Performing Adaptor and Device SDK Initialization

Every adaptor must include an initializeAdaptor() function. In this function, you should perform any initialization required by your adaptor or your device's SDK. Check the documentation that came with your device to find out what, if any, initialization the SDK requires.

For example, some device SDKs provide a function that loads required DLLs into memory. Not every device's SDK requires initialization; however, every adaptor must include the initializeAdaptor() function, even if it is an empty implementation.

Example

As defined by the adaptor kit, the initializeAdaptor() function accepts no arguments and does not return a value. The following example implements an empty initializeAdaptor() function.

void initializeAdaptor()
{ 
     // Perform initialization required by adaptor or device SDK.

}
Was this topic helpful?