You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I called the function below twice, but only can create one virtual display, the second time it returned "SwDeviceCreate failed with 0x800700b7". Anyone knows how to create second virtual display?
HRESULT hr = SwDeviceCreate(L"IddSampleDriver",
L"HTREE\ROOT\0",
&createInfo,
0,
nullptr,
CreationCallback,
&hEvent,
&hSwDevice);
The text was updated successfully, but these errors were encountered:
You need to set this one to 3:
static constexpr DWORD IDD_SAMPLE_MONITOR_COUNT = 3; // If monitor count > ARRAYSIZE(s_SampleMonitors), we create edid-less monitors
I called the function below twice, but only can create one virtual display, the second time it returned "SwDeviceCreate failed with 0x800700b7". Anyone knows how to create second virtual display?
HRESULT hr = SwDeviceCreate(L"IddSampleDriver",
L"HTREE\ROOT\0",
&createInfo,
0,
nullptr,
CreationCallback,
&hEvent,
&hSwDevice);
The text was updated successfully, but these errors were encountered: