|
OleQueryLinkFromData
The OleQueryLinkFromData function determines whether an OLE linked object (rather than an OLE embedded
object) can be created from a clipboard data object.
STDAPI OleQueryLinkFromData(
IDataObject * pSrcDataObject
| //Points to the clipboard data object to be used to create the new object
| );
|
|
Parameter
pSrcDataObject
Points to the clipboard data object from which the object is to be created.
Return Value
Returns S_OK if the OleCreateLinkFromData function can be used to create the linked object; otherwise S_FALSE.
Comments
The OleQueryLinkFromData function is similar to the OleQueryCreateFromData function, but determines whether an OLE linked object (rather than an OLE
embedded object) can be created from the clipboard data object. If the return
value is S_OK, the application can then attempt to create the object with a call to OleCreateLinkFromData, although this is not guaranteed to create a link successfully.
Related LinksSoftware 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
|