Using Win32 functions in Visual FoxPro Image Gallery
COM
..msdn
CLSIDFromString
CoCreateGuid
CoTaskMemFree
CreateStreamOnHGlobal
GetHGlobalFromStream
StringFromGUID2
Code examples:
Custom GDI+ class
Enumerating devices installed on the local machine
How to generate GUID values
CLSIDFromString
..msdn    Add comment     W32 Constants      Translate this page
Converts a string generated by the StringFromCLSID function back into the original CLSID.
Code examples:
Custom GDI+ class
Enumerating devices installed on the local machine
How to generate GUID values
Declaration:
HRESULT CLSIDFromString(
  LPOLESTR lpsz,
  LPCLSID pclsid
);
FoxPro declaration:
DECLARE INTEGER CLSIDFromString IN ole32;
    STRING   lpsz,;
    STRING @ pclsid

Parameters:
lpsz
[in] Pointer to the string representation of the CLSID.

pclsid
[out] Pointer to the CLSID on return.
Return value:
Returns NOERROR (0) if the CLSID was obtained successfully.
My comment:
LOCAL cBuffer, iidImageList

cBuffer = REPLICATE(CHR(0), 16)
iidImageList = "{46EB5926-582E-4017-9FDF-E8998DAA0950}"

= CLSIDFromString(STRCONV(iidImageList,5), @cBuffer)
? cBuffer

See also: StringFromGUID2
Word Index links for the CLSIDFromString :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-07-15 11:21:28
Modified: 2007-05-14 13:00:46
Visited in last 7 days: 54
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.22.240.119)
7 sec.Function: 'PeekMessage'
Function group: 'Message and Message Queue'
14 sec.All Functions
21 sec.Example: 'Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)'
27 sec.Example: 'How to make a VFP form fading out when released (GDI version)'
42 sec.Function: 'PathIsNetworkPath'
Function group: 'Shell Lightweight Utility APIs -- Path Functions'
47 sec.Examples
56 sec.Example: 'Obtaining names and positions for shortcuts located on the Windows Desktop'
1.05 min.Example: 'How to put a vertical text scrolling on the form (a movie cast)'
1.18 min.Function: 'InternetGoOnline'
Function group: 'Internet Functions (WinInet)'
1.28 min.Updates
Google
Advertise here!