Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Releases all resources that are used by the viewport and prepares it for destruction from memory.
Syntax
HRESULT Abandon();
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Once Abandon has been called, do not make subsequent function calls on the viewport. If a function is called after Abandon, E_INVALID_STATE will be returned.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | directmanipulation.h |