pub const D3DHAL_STATESETEND: u32 = 1u32;