© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
185
Example window handle
//------------------------------------
// Handle to window
//------------------------------------
// Set new window handle for image display
is_DirectRenderer (hCam, DR_SET_HWND,
(void*)&hWnd, sizeof (hWnd));
Example compatibility
//------------------------------------
// Compatibility
//------------------------------------
// Check graphics card compatibility
INT nRet = is_DirectRenderer (hCam, DR_CHECK_COMPATIBILITY, NULL, NULL);
if (nRet == IS_DR_DEVICE_CAPS_INSUFFICIENT )
// Graphics card does not support Direct3D