Using Win32 functions in Visual FoxPro Image Gallery
COM
..msdn
CLSIDFromString
CoCreateGuid
CoTaskMemFree
CreateStreamOnHGlobal
GetHGlobalFromStream
StringFromGUID2
Code examples:
GetHGlobalFromStream
..msdn    Add comment     W32 Constants      Translate this page
The GetHGlobalFromStream function retrieves the global memory handle to a stream that was created through a call to the CreateStreamOnHGlobal function.
Code examples:
Declaration:
WINOLEAPI GetHGlobalFromStream(
  IStream* pstm,
  HGLOBAL* phglobal
);

FoxPro declaration:
DECLARE INTEGER GetHGlobalFromStream IN ole32;
    INTEGER   pstm,;
    INTEGER @ phglobal

Parameters:
pstm
[in] IStream pointer to the stream object previously created by a call to the CreateStreamOnHGlobal function.

phglobal
[out] Pointer to the current memory handle used by the specified stream object.
Return value:
S_OK indicates that the handle was successfully returned.
Word Index links for the GetHGlobalFromStream :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-12 21:09:28
Modified: 2004-08-12 21:10:51
Visited in last 7 days: 15
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.146.59.207)
3 sec.Function: 'CreateDirectory'
7 sec.Function: 'GdipCreatePen1'
10 sec.Function: 'GdipDisposeImageAttributes'
13 sec.Function: 'AssignProcessToJobObject'
17 sec.Function: 'CeSetFilePointer'
21 sec.Function: 'CommandLineToArgvW'
24 sec.Function: 'FindMediaType'
27 sec.Function: 'CompareString'
32 sec.
Function group: 'Windows Controls'
36 sec.Function: 'DocumentProperties'
Google
Advertise here!