HWND PEcreatefromfile (lpszFilename, hParent, lpRect, nID)
This function restores the current object from a binary file named by lpszFilename. You first must have previously stored the object with PEsavetofile.
This function will know how to create the appropriate object stored via PEsavetofile.
This function returns the handle which was assigned by the Windows operating system. If the function could not allocate memory, or CreateWindow fails, the function returns zero.
The return value from this function is used in both Windows API and ProEssentials API calls. This return value must not be lost as long as the object remains in memory. Storing the return value in a global variable is required.
PEdestroy must be used to destroy the window and free its memory and resources.
See Also: PEsavetofile
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc.