Partager via


OLE Functions (Windows CE 5.0)

Send Feedback

The following table shows the OLE functions with a description of the purpose of each.

Programming element Description
CreateOleAdviseHolder This function instantiates an advise holder object for managing compound document notifications.
CreateStreamOnHGlobal This function creates a stream object stored in global memory.
GetHGlobalFromStream This function retrieves the global memory handle to a stream that was created through a call to the CreateStreamOnHGlobal function.
OleCreate This function creates an embedded object identified by a CLSID.
OleDraw This helper function provides a convenient way to draw objects by encapsulating the IViewObject::Draw method and other related maintenance functions for the drawing rectangle.
OleIsRunning This function determines whether a compound document object is currently in the running state.
OleLoadFromStream This function loads an object from the stream.
OleRun This function puts an OLE compound document object into the running state.
OleSave This function saves an object opened in transacted mode into the specified storage object.
OleSaveToStream This function saves an object with the IPersistStream interface on it to the specified stream.
OleSetContainedObject This function notifies an object embedded in an OLE container to ensure correct reference.
OleSetMenuDescriptor This function installs or removes OLE dispatching code from the container's frame window.
ReleaseStgMedium This function frees the specified storage medium.
VarBoolFromI1 This function converts variant data types to BOOL from char.
VarBoolFromUI2 This function converts variant data types to BOOL from unsigned short.
VarBoolFromUI4 This function converts variant data types to BOOL from unsigned long.
VarBstrFromI1 This function converts variant data types to BSTR from char.
VarBstrFromUI2 This function converts variant data types to BSTR from unsigned short.
VarBstrFromUI4 This function converts variant data types to BSTR from unsigned long.
VarCyFromI1 This function converts variant data types to CURRENCY from char.
VarCyFromUI2 This function converts variant data types to CURRENCY from unsigned short.
VarCyFromUI4 This function converts variant data types to CURRENCY from unsigned long.
VarDateFromI1 This function converts variant data types to DATE from char.
VarDateFromUI2 This function converts variant data types to DATE from unsigned short.
VarDateFromUI4 This function converts variant data types to DATE from unsigned long.
VarDecFromI1 This function converts variant data types to DECIMAL from char.
VarDecFromUI2 This function converts variant data types to DECIMAL from unsigned short.
VarDecFromUI4 This function converts variant data types to DECIMAL from unsigned long.
VarI1FromBool This function converts variant data types to char from BOOL.
VarI1FromCy This function converts variant data types to char from CURRENCY.
VarI1FromDate This function converts variant data types to char from DATE.
VarI1FromDec This function converts variant data types to char from DECIMAL.
VarI1FromDisp This function converts variant data types to char from IDispatch:IUnknown.
VarI1FromI2 This function converts variant data types to char from short.
VarI1FromI4 This function converts variant data types to char from long.
VarI1FromR4 This function converts variant data types to char from float.
VarI1FromR8 This function converts variant data types to char from double.
VarI1FromStr This function converts variant data types to char from BSTR.
VarI1FromUI1 This function converts variant data types to char from BYTE.
VarI1FromUI2 This function converts variant data types to char from unsigned short.
VarI1FromUI4 This function converts variant data types to char from unsigned long.
VarI2FromI1 This function converts variant data types to short from CHAR.
VarI2FromUI2 This function converts variant data types to short from unsigned short.
VarI2FromUI4 This function converts variant data types to short from unsigned long.
VarI4FromI1 This function converts variant data types to long from CHAR.
VarI4FromUI2 This function converts variant data types to long from unsigned short.
VarI4FromUI4 This function converts variant data types to long from unsigned long.
VarR4FromI1 This function converts variant data types to float from double.
VarR4FromUI2 This function converts variant data types to float from unsigned short.
VarR4FromUI4 This function converts variant data types to float from unsigned Long.
VarR8FromI1 This function converts variant data types to double from char.
VarR8FromUI2 This function converts variant data types to double from unsigned short.
VarR8FromUI4 This function converts variant data types to double from unsigned long.
VarUI1FromI1 This function converts variant data types to BYTE from char.
VarUI1FromUI2 This function converts variant data types to BYTE from unsigned short.
VarUI1FromUI4 This function converts variant data types to BYTE from unsigned long.
VarUI2FromBool This function converts variant data types to unsigned short from BOOL.
VarUI2FromCy This function converts variant data types to unsigned short from CURRENCY.
VarUI2FromDate This function converts variant data types to unsigned short from DATE.
VarUI2FromDec This function converts variant data types to unsigned short from DECIMAL.
VarUI2FromDisp This function converts variant data types to unsigned short from IDispatch.
VarUI2FromI1 This function converts variant data types to unsigned short from char.
VarUI2FromI2 This function converts variant data types to unsigned short from short.
VarUI2FromI4 This function converts variant data types to unsigned short from long.
VarUI2FromR4 This function converts variant data types to unsigned short from float.
VarUI2FromR8 This function converts variant data types to unsigned short from double.
VarUI2FromStr This function converts variant data types to unsigned short from BSTR.
VarUI2FromUI1 This function converts variant data types to unsigned short from BYTE.
VarUI2FromUI4 This function converts variant data types to unsigned short from unsigned long.
VarUI4FromBool This function converts variant data types to unsigned long from BOOL.
VarUI4FromCy This function converts variant data types to unsigned long from CURRENCY.
VarUI4FromDate This function converts variant data types to unsigned long from DATE.
VarUI4FromDec This function converts variant data types to unsigned long from DECIMAL.
VarUI4FromDisp This function converts variant data types to unsigned long from IDispatch.
VarUI4FromI1 This function converts variant data types to unsigned long from char.
VarUI4FromI2 This function converts variant data types to unsigned long from short.
VarUI4FromI4 This function converts variant data types to unsigned long from long.
VarUI4FromR4 This function converts variant data types to unsigned long from float.
VarUI4FromR8 This function converts variant data types to unsigned long from double.
VarUI4FromStr This function converts variant data types to unsigned long from BSTR.
VarUI4FromUI1 This function converts variant data types to unsigned long from BYTE.
VarUI4FromUI2 This function converts variant data types to unsigned long from unsigned short.

See Also

OLE Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.