HRESULT AddViewport(LPDIRECT3DVIEWPORT lpDirect3DViewport);
Adds the specified viewport to the list of viewport objects associated with the device.
·Returns D3D_OK if successful, or an error otherwise, which may be one of the following values:
lpDirect3DViewport
Address of the IDirect3DViewport interface that should be associated with this Direct3DDevice object.