Group: Resource - Library: kernel32
Storing registration key in the resources of an executable file
BOOL EndUpdateResource(
HANDLE hUpdate,
BOOL fDiscard
);
DECLARE INTEGER EndUpdateResource IN kernel32;
INTEGER hUpdate,;
INTEGER fDiscard
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.
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.