| Microsoft DirectX 8.1 (C++) | 
The Deactivate method destroys the dialog window. This method implements the IPropertyPage::Deactivate method.
Syntax
HRESULT Deactivate(void);
Return Value
Returns an HRESULT value. Possible values include the following.
| Value | Description | 
| S_OK | Success. | 
| E_UNEXPECTED | Unexpected failure. | 
See Also