pub const D3DHALSTATE_GET_RENDER: i32 = 4i32;