Microsoft KB Archive/66951

INF: SetResourceHandler Return Value for Callback Function

PSS ID Number: Q66951 Article last modified on 04-26-1993

3.00 WINDOWS

Summary: The callback function for SetResourceHandler is documented on page 4-393 in the “Windows Software Development Kit Reference Volume 1” version 3.0 as having the following syntax: FARPROC FAR PASCAL LoadFunc(…) The return value is incorrectly typed as being a FARPROC. It should be a HANDLE type and look like the following: HANDLE FAR PASCAL LoadFunc(…) The return value itself is not explained. The following is the explanation of the HANDLE type returned from the callback function: Return value: The return value is a HANDLE to a global piece of memory that was allocated with GMEM_DDESHARE.

Additional reference words: 3.0 KBCategory: KBSubcategory: UsrRscFindLoad Copyright Microsoft Corporation 1993.