Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
..msdn    Add comment     W32 Constants      Translate this page
The CreateStreamOnHGlobal function creates a stream object stored in global memory.
Code examples:
WINOLEAPI CreateStreamOnHGlobal(
  HGLOBAL hGlobal,
  BOOL fDeleteOnRelease,
  LPSTREAM* ppstm
FoxPro declaration:
DECLARE INTEGER CreateStreamOnHGlobal IN ole32;
    INTEGER   hGlobal,;
    INTEGER   fDeleteOnRelease,;
    INTEGER @ ppstm

[in] Memory handle allocated by the GlobalAlloc function. The handle must be allocated as movable and nondiscardable.

[in] Whether the underlying handle for this stream object should be automatically freed when the stream object is released. If set to FALSE, the caller must free the hGlobal after the final release.

[out] Address of IStream* pointer variable that receives the interface pointer to the new stream object. Its value cannot be NULL.
Return value:
Returns S_OK (0) if the stream object was created successfully.
Word Index links for the CreateStreamOnHGlobal :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2004-08-12 21:03:52
Modified: 2004-08-12 21:09:00
Visited in last 7 days: 34
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.
Advertise here!