you can use directx to control them. IDirect3D8::CreateDevice Creates a device to represent the display adapter.HRESULT CreateDevice( UINT Adapter, D3DDEVTYPE DeviceType, HWND hFocusWindow, DWORD BehaviorFlags, D3DPRESENT_PARAMETERS* pPresentationParameters, IDirect3DDevice8** ppReturnedDeviceInterface );Parameters Adapter [in] Ordinal number that denotes the display adapter. D3DADAPTER_DEFAULT is always the primary display adapter. //this parameter defines which display adapter should be used.
IDirect3D8::CreateDevice
Creates a device to represent the display adapter.HRESULT CreateDevice(
UINT Adapter,
D3DDEVTYPE DeviceType,
HWND hFocusWindow,
DWORD BehaviorFlags,
D3DPRESENT_PARAMETERS* pPresentationParameters,
IDirect3DDevice8** ppReturnedDeviceInterface
);Parameters
Adapter
[in] Ordinal number that denotes the display adapter. D3DADAPTER_DEFAULT is always the primary display adapter. //this parameter defines which display adapter should be used.