次の方法で共有


CBasePropertyPage::OnDeactivate (Compact 2013)

3/26/2014

This method is called when the dialog box window is destroyed.

Syntax

virtual HRESULT OnDeactivate(void);

Return Value

The base-class implementation returns S_OK.

Remarks

The CBasePropertyPage::Deactivate method calls the CBasePropertyPage::OnDeactivate method. Override CBasePropertyPage::OnDeactivate to release any resources that the derived class obtained in the CBasePropertyPage::OnActivate method, or to perform other tasks as needed.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBasePropertyPage Class
CBasePropertyPage::SetObjects
CBasePropertyPage::OnActivate
CBasePropertyPage::OnApplyChanges
CBasePropertyPage::OnDisconnect

Other Resources

IUnknown
IUnknown::AddRef