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/4 16:24,
18.226.251.26:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://ecomorder.com/Techref/os/win/api/win32/func/src/f54_1.htm"> LoadResource</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.