Called when the status of a viewport changes.
HRESULT OnViewportStatusChanged( [in] IDirectManipulationViewport *viewport, [in] DIRECTMANIPULATION_STATUS current, [in] DIRECTMANIPULATION_STATUS previous );
- viewport [in]
The viewport for which status has changed.
- current [in]
The new status of the viewport.
- previous [in]
The previous status of the viewport.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
If you call GetStatus from within this handler, the status returned is not guaranteed to be the same as at the time of the call. This is because of the asynchronous nature of the notification.
Minimum supported client
|Windows 8 [desktop apps only]|
Minimum supported server
|Windows Server 2012 [desktop apps only]|