Compartilhar via


CBasePropertyPage::OnDisconnect (Compact 2013)

3/26/2014

This method is called when the property page should release the associated object.

Syntax

virtual HRESULT OnDisconnect(void);

Return Value

The base-class implementation returns S_OK.

Remarks

The CBasePropertyPage::SetObjects method calls the CBasePropertyPage::OnDisconnect method. Override CBasePropertyPage::OnDisconnect to release any pointers that were obtained in the CBasePropertyPage::OnConnect method.

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::OnConnect