Compartilhar via


CBasePropertyPage::Apply (Compact 2013)

3/26/2014

This 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 CBasePropertyPage::OnApplyChanges to apply the changes to the object.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBasePropertyPage Class
CBasePropertyPage::m_bDirty
CBasePropertyPage::OnApplyChanges