Changeset 2144 for trunk/src/kernel32/resource.cpp
- Timestamp:
- Dec 19, 1999, 8:54:32 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/resource.cpp
r1885 r2144 1 /* $Id: resource.cpp,v 1.1 2 1999-11-30 14:15:54sandervl Exp $ */1 /* $Id: resource.cpp,v 1.13 1999-12-19 19:54:30 sandervl Exp $ */ 2 2 3 3 /* … … 47 47 48 48 return module->findResourceW((LPWSTR)lpszName, (LPWSTR)lpszType); 49 } 50 /***************************************************************************** 51 * Name : HRSRC WIN32API FindResourceExA 52 * Purpose : The FindResourceExA function determines the location of the 53 * resource with the specified type, name, and language in the 54 * specified module. 55 * Parameters: HMODULE hModule resource-module handle 56 * LPCSTR lpType pointer to resource type 57 * LPCSTR lpName pointer to resource name 58 * WORD wLanguage resource language 59 * Variables : 60 * Result : If the function succeeds, the return value is a handle to the 61 * specified resource's info block. To obtain a handle to the 62 * resource, pass this handle to the LoadResource function. 63 * If the function fails, the return value is NULL 64 * Remark : 65 * Status : UNTESTED STUB 66 * 67 * Author : SvL 68 *****************************************************************************/ 69 70 HRSRC WIN32API FindResourceExA( HMODULE hModule, LPCSTR lpType, 71 LPCSTR lpName, WORD wLanguage) 72 { 73 Win32ImageBase *module; 74 75 module = Win32ImageBase::findModule(hModule); 76 if(module == NULL) { 77 dprintf(("FindResourceExA Module %X not found (%x %d)", hModule, lpName, lpType)); 78 return(NULL); 79 } 80 81 return module->findResourceA((LPSTR)lpName, (LPSTR)lpType, wLanguage); 82 } 83 84 /***************************************************************************** 85 * Name : HRSRC WIN32API FindResourceExA 86 * Purpose : The FindResourceExA function determines the location of the 87 * resource with the specified type, name, and language in the 88 * specified module. 89 * Parameters: HMODULE hModule resource-module handle 90 * LPCSTR lpType pointer to resource type 91 * LPCSTR lpName pointer to resource name 92 * WORD wLanguage resource language 93 * Variables : 94 * Result : If the function succeeds, the return value is a handle to the 95 * specified resource's info block. To obtain a handle to the 96 * resource, pass this handle to the LoadResource function. 97 * If the function fails, the return value is NULL 98 * Remark : 99 * Status : UNTESTED STUB 100 * 101 * Author : SvL 102 *****************************************************************************/ 103 104 HRSRC WIN32API FindResourceExW(HMODULE hModule, 105 LPCWSTR lpType, 106 LPCWSTR lpName, 107 WORD wLanguage) 108 { 109 Win32ImageBase *module; 110 111 module = Win32ImageBase::findModule(hModule); 112 if(module == NULL) { 113 dprintf(("FindResourceExW Module %X not found (%x %d)", hModule, lpName, lpType)); 114 return(NULL); 115 } 116 117 return module->findResourceW((LPWSTR)lpName, (LPWSTR)lpType, wLanguage); 49 118 } 50 119 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.