Microsoft DirectX 8.1 (C++) |
The BreakConnect method releases the pin from a connection.
Syntax
virtual HRESULT BreakConnect(void);
Return Value
Returns S_OK.
Remarks
This method is called during pin disconnection by the CBasePin::Disconnect method. It is also called during a connection attempt if the CBasePin::CheckConnect method fails.
This method must free any resources that were obtained by the CheckConnect method. For example, if CheckConnect allocates memory, BreakConnect should free the memory. If CheckConnect queries the connecting pin for an interface, BreakConnect should free the interface.
See Also