[dxdiagn] Implemented retrieval of b3DAccelerationEnabled property

Vitaliy Margolen wine-devel at kievinfo.com
Mon Jan 12 10:50:27 CST 2009


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



More information about the wine-devel mailing list