D3DPRESENT_PARAMETERS d3dpp;
ZeroMemory(&d3dpp, sizeof(d3dpp));


D3DPRESENT_PARAMETERS d3dpp = {0};

結果に違いはありますか?