McOpenDriver
Establishes the communication of the application process with the MultiCam driver.
[C] |
Parameters
MultiCamName
This argument is reserved for future functionality. Specify a NULL pointer.
Remarks
- If an application successfully calls McOpenDriver several times, it must call McCloseDriver the same number of times, to adequately close the communication with the MultiCam driver.
- Starting with MultiCam 6, on Windows operating systems, MultiCam relies on a service named "MultiCam Service". This service is automatically started when the computer boots.
- Software should only access MultiCam when this service is started. McOpenDriver will return MC_SERVICE_ERROR if the MultiCam service is not started when called.
- To check when the service is started, the application has to call the McOpenDriver function in a loop until the function returns MC_OK.
- Do not call McOpenDriver:
- inside the constructor of a global or static object;
- inside the DLL entry point (DllMain).
See Also