Microsoft DirectX 9.0 |
The OnUpdateSize method informs the application that the size of the video rectangle is about to change.
Syntax
HRESULT OnUpdateSize(
DWORD dwWidth, DWORD dwHeight,
DWORD dwARWidth,
DWORD dwARHeight
);
Parameters
dwWidth
[in] The new width, in pixels, of the video stream.
dwHeight
[in] The new height, in pixels, of the video stream.
dwARWidth
[in] The new horizontal value of the aspect ratio.
dwARHeight
[in] The new vertical value of the aspect ratio.
Return Value
Returns an HRESULT value.
Remarks
This method is called when the size of the rectangle in the video stream changes, for example from 704x480 to 640x480.
See Also