Using Win32 functions in Visual FoxPro Image Gallery
Resource
..msdn
BeginUpdateResource
CopyImage
EndUpdateResource
FindResource
LoadImage
LoadResource
LoadString
LockResource
SizeofResource
UpdateResource
Code examples:
Storing registration key in the resources of an executable file
EndUpdateResource
    Add comment     W32 Constants      Translate this page
The EndUpdateResource function ends a resource update in an executable file.
Code examples:
Storing registration key in the resources of an executable file
Declaration:
BOOL EndUpdateResource(
    HANDLE hUpdate,
    BOOL fDiscard
);
FoxPro declaration:
DECLARE INTEGER EndUpdateResource IN kernel32;
    INTEGER hUpdate,;
    INTEGER fDiscard

Parameters:
hUpdate
[in] Handle used in a resource update. This handle is returned by the BeginUpdateResource function.

fDiscard
[in] Specifies whether to write resource updates to an executable file. If this parameter is TRUE, no changes are made to the executable file. If it is FALSE, the changes are made.
Return value:
If the function succeeds and the accumulated resource modifications specified by calls to the UpdateResource function are written to the specified executable file, the return value is nonzero.
Word Index links for the EndUpdateResource :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-05-16 10:34:39
Modified: 2003-05-16 10:35:48
Visited in last 7 days: 25
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.81.157.56)
6 sec.Function: 'AVIFileWriteData'
12 sec.Function: 'CeGetVersionEx'
18 sec.Function: 'ClientToScreen'
25 sec.Function: 'CryptGetKeyParam'
30 sec.Function: 'GdipBitmapSetResolution'
36 sec.Function: 'DrawMenuBar'
42 sec.Function: 'GetIpNetTable'
50 sec.Function: 'FtpGetFile'
59 sec.Function: 'CryptHashData'
1.12 min.Function: 'CharToOem'
Google
Advertise here!