The LoadResource function loads the specified resource into global memory.
HGLOBAL LoadResource(
HMODULE hModule, |
// resource-module handle |
HRSRC hResInfo |
// resource handle |
); |
If the function succeeds, the return value is a handle to the global memory block containing the data associated with the resource.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
Both Windows 95 and Windows NT automatically free resources. You do not need to call the FreeResource function to free a resource loaded by using the LoadResource function.
FindResource, FindResourceEx, FreeResource, LoadLibrary, LoadModule, LockResource
file: /Techref/os/win/api/win32/func/src/f54_1.htm, 2KB, , updated: 2001/6/24 14:09, local time: 2024/11/16 09:25,
18.118.154.250:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/os/win/api/win32/func/src/f54_1.htm"> LoadResource</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.