Index   Commented   Search   About

CoIsOle1Class

Determines if a given CLSID represents an OLE 1 object. This is one of several OLE compatibility functions. You can use these functions to determine if an object class is from OLE 1 and to convert objects between OLE 1 and OLE 2 storage formats.

BOOL CoIsOle1Class(

REFCLSID rclsid,
//CLSID to check
);

Parameter

rclsid

Indicates the reference to the CLSID to check.

Return Values

S_TRUE

Indicates that the CLSID refers to an OLE 1 object.

S_FALSE

Indicates that the CLSID does not refer to an OLE 1 object.

Comments

The CoIsOle1Class function is useful for preventing linking to embedded OLE 1 objects within a container. Once a container has determined that copied data represents an embedded object, CoIsOle1Class can be called to determine whether the embedded object is an OLE 1 object. If CoIsOle1Class returns S_TRUE, the container does not offer Link Source.

See Also

OleConvertIStorageToOLESTREAM, OleConvertIStorageToOLESTREAMEx, OleConvertOLESTREAMToIStorage, OleConvertOLESTREAMToIStorageEx

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