Index   Commented   Search   About

CoIsHandlerConnected

Determines if a remote object is connected to its corresponding object.

BOOL CoIsHandlerConnected(

LPUNKNOWN pUnk
//Points to the remoted object
);

Parameter

pUnk

Specifies the object in question.

Return Values

TRUE

Indicates the object either is not remote or is remote and is still valid (it is still connected to its remote handler).

FALSE

Indicates the object is remote and is invalid (no longer connected to its remote handler).

Comments

The CoIsHandlerConnected function determines the validity of a remote object specified by a pointer to its controlling unknown interface (the pUnk parameter). If the specified remote object is remote and is still connected to its remote handler, or is not a remote object, the function returns TRUE. If the specified object is still remote but is not connected to its remote handler, the function returns FALSE, and the caller should respond by releasing the object.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun