 |
BeginUpdateResource Add comment W32 Constants Translate this page |
 |
 |
|
The BeginUpdateResource function returns a handle that can be used by the UpdateResource function to add, delete, or replace resources in an executable file. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HANDLE BeginUpdateResource(
LPCTSTR pFileName,
BOOL bDeleteExistingResources
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER BeginUpdateResource IN kernel32;
STRING pFileName,;
INTEGER bDeleteExistingResources
|
 |
 |
 |
| Parameters: |
 |
pFileName
[in] Pointer to a null-terminated string that specifies the executable file in which to update resources.
bDeleteExistingResources
[in] Specifies whether to delete the pFileName parameter"s existing resources. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a handle that can be used by the UpdateResource and EndUpdateResource functions. |
 |
 |
| My comment: |
 |
An application must be able to obtain write access to the executable file; it cannot be currently executing. If pFileName does not specify a full path, the system searches for the file in the current directory.
|
 |
 |
| Word Index links for the BeginUpdateResource : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-05-16 10:30:30 | | Modified: | 2003-05-16 10:33:41 | Visited in last 7 days: 13 |