Group: COM - Library: ole32
Custom GDI+ class
How to generate GUID values
Enumerating devices installed on the local machine
HRESULT CLSIDFromString(
LPOLESTR lpsz,
LPCLSID pclsid
);
DECLARE INTEGER CLSIDFromString IN ole32;
STRING lpsz,;
STRING @ pclsid
lpsz [in] Pointer to the string representation of the CLSID.
pclsid [out] Pointer to the CLSID on return.
Returns NOERROR (0) if the CLSID was obtained successfully.
LOCAL cBuffer, iidImageList
See also: StringFromGUID2
cBuffer = REPLICATE(CHR(0), 16)
iidImageList = "{46EB5926-582E-4017-9FDF-E8998DAA0950}"
= CLSIDFromString(STRCONV(iidImageList,5), @cBuffer)
? cBuffer