[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  LoadResource( hResource, hFindResource )-> <hRes>
------------------------------------------------------------------------------


 PARAMETER:

  <hResource>     This handle identifies an instance of the resource/module
                  which contains the resource to be loaded. 

  <hFindResource> Identifies the resource to be loaded. This handle must
                  have been created with FindResource() !


 RETURNS:

  <hRes> is the instance handle of the global memory object containing
  the data associated with the resource. It is 0 if no such resource exists. 


 DESCRIPTION:

  LoadResource() loads a specified resource into global memory. When
  finished with a resource, an application should free the global memory
  associated with it by using ResourceFree(). If the specified resource
  has been loaded, this function simply increments the reference count for
  the resource. 


 SOURCE:  

  SOURCE\WINAPI\RESOURCES.C



See Also: FindResource ResourceFree
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson