ZeroMemory(&d3dpp, sizeof(D3DPRESENT_PARAMETERS));