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: 11
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.20.196.179)
3 sec.Function: 'GetSystemMenu'
59 sec.Example: 'How to convert a bitmap file to monochrome format (1 bpp)'
Language: 'Visual FoxPro'
2.65 hrs.Example: 'Starting an external application in VFP using WinExec'
 Example: 'Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)'
3.43 hrs.Function: 'NetGetDCName'
Function group: 'Network Management'
10.07 hrs.Example: 'Get the power status of your laptop computer'
 Function: 'LookupPrivilegeDisplayName'
10.86 hrs.Function: 'AppendMenu'
Function group: 'Menu'
13.95 hrs.Example: 'GDI+: converting text strings to images and saving in a graphics file'
 Example: 'Placing a button on the VFP form as a new child window'
Google
Advertise here!