oleaut32 topic
OLE Automation API
OLE Automation APIs.
Functions
-
DosDateTimeToVariantTime(
int wDosDate, int wDosTime, Pointer< oleaut32Double> pvtime) → int - Converts the MS-DOS representation of time to the date and time representation stored in a variant.
-
GetActiveObject(
Pointer< oleaut32GUID> rclsid, Pointer<NativeType> pvReserved, Pointer<Pointer< ppunk) → intCOMObject> > - Retrieves a pointer to a running object that has been registered with OLE.
-
SysAllocString(
Pointer< oleaut32Utf16> psz) → Pointer<Utf16> - Allocates a new string and copies the passed string into it.
-
SysAllocStringByteLen(
Pointer< oleaut32Utf8> psz, int len) → Pointer<Utf16> - Takes an ANSI string as input, and returns a BSTR that contains an ANSI string. Does not perform any ANSI-to-Unicode translation.
-
SysAllocStringLen(
Pointer< oleaut32Utf16> strIn, int ui) → Pointer<Utf16> - Allocates a new string, copies the specified number of characters from the passed string, and appends a null-terminating character.
-
SysFreeString(
Pointer< oleaut32Utf16> bstrString) → void - Deallocates a string allocated previously by SysAllocString, SysAllocStringByteLen, SysReAllocString, SysAllocStringLen, or SysReAllocStringLen.
-
SysReAllocString(
Pointer< oleaut32Pointer< pbstr, Pointer<Utf16> >Utf16> psz) → int - Reallocates a previously allocated string to be the size of a second string and copies the second string into the reallocated memory.
-
SysReAllocStringLen(
Pointer< oleaut32Pointer< pbstr, Pointer<Utf16> >Utf16> psz, int len) → int - Creates a new BSTR containing a specified number of characters from an old BSTR, and frees the old BSTR.
-
SysReleaseString(
Pointer< oleaut32Utf16> bstrString) → void - Decreases the pinning reference count for the specified string by one. When that count reaches 0, the memory for that string is no longer prevented from being freed.
-
SysStringByteLen(
Pointer< oleaut32Utf16> bstr) → int - Returns the length (in bytes) of a BSTR.
-
SysStringLen(
Pointer< oleaut32Utf16> pbstr) → int - Returns the length of a BSTR.
-
VarBstrCat(
Pointer< oleaut32Utf16> bstrLeft, Pointer<Utf16> bstrRight, Pointer<Pointer< pbstrResult) → intUint16> > - Converts a variant from one type to another.
-
VarBstrCmp(
Pointer< oleaut32Utf16> bstrLeft, Pointer<Utf16> bstrRight, int lcid, int dwFlags) → int - Compares two variants of type BSTR.
-
VariantChangeType(
Pointer< oleaut32VARIANT> pvargDest, Pointer<VARIANT> pvarSrc, int wFlags, int vt) → int - Converts a variant from one type to another.
-
VariantClear(
Pointer< oleaut32VARIANT> pvarg) → int - Clears a variant.
-
VariantCopy(
Pointer< oleaut32VARIANT> pvargDest, Pointer<VARIANT> pvargSrc) → int - Frees the destination variant and makes a copy of the source variant.
-
VariantInit(
Pointer< oleaut32VARIANT> pvarg) → void - Initializes a variant.
-
VariantTimeToDosDateTime(
double vtime, Pointer< oleaut32Uint16> pwDosDate, Pointer<Uint16> pwDosTime) → int - Converts the variant representation of a date and time to MS-DOS date and time values.
-
VariantTimeToSystemTime(
double vtime, Pointer< oleaut32SYSTEMTIME> lpSystemTime) → int - Converts the variant representation of time to system time values.