IDirectManipulationViewport::SetViewportSize method
[This documentation is preliminary and is subject to change.]
Applies to: desktop apps only
Sets the viewport inside the HWND for this viewport.
Syntax
HRESULT SetViewportSize(
[in] const RECT *viewport
);
Parameters
- viewport [in]
The viewport relative to the viewport’s HWND. The default value for the viewport is the full extent of the HWND.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The default value for the viewport’s viewport is {0, 0, hwndWidth, hwndHeight}.
Requirements
Minimum supported client |
Windows Developer Preview |
Minimum supported server |
Windows Server Developer Preview |
IDL |
DirectManipulation.idl |
See also
Build date: 12/12/2011