Microsoft DirectX 8.1 (C++) |
The Apply method applies the current property page values to the object associated with the property page. This method implements the IPropertyPage::Apply method.
Syntax
HRESULT Apply(void);
Return Value
Returns an HRESULT value. Possible values include the following.
Value | Description |
S_OK | Success. |
E_UNEXPECTED | Unexpected failure. |
Remarks
If the CBasePropertyPage::m_bDirty flag is TRUE, this method calls the CBasePropertyPage::OnApplyChanges method. Override OnApplyChanges to apply the changes to the object.
See Also