Share via


CBasePropertyPage::Apply

 
Microsoft DirectShow 9.0

CBasePropertyPage::Apply

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.

Requirements

**  Header:** Declared in Cprop.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also