Markus wrote:
- HKEY key_handle;
- LPCSTR searchSubKey = "SOFTWARE\Microsoft\DirectDraw";
- LPCSTR dataSubKey = "EmulationOnly";
I don't see anywhere Wine using this key. How did you came up with this key?
- V_VT(&v) = VT_BOOL; V_BOOL(&v) = get_ddraw_acceleration();
- IDxDiagContainerImpl_AddProp( pDisplayAdapterSubCont, b3DAccelerationEnabled, &v );
- VariantClear(&v);
Why don't you use add_prop_bool()?
Vitaliy