26,8 → 26,9 |
static int parm_id; |
|
// see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/introductiontoresources/resourcereference/resourcefunctions/findresource.asp |
static BOOL CALLBACK enumnames(HMODULE hModule,LPCTSTR lpszType,LPTSTR lpszName,LONG_PTR lParam){ |
|
static BOOL CALLBACK enumnames(HMODULE hModule,LPCTSTR lpszType, |
LPTSTR lpszName,LONG_PTR lParam) |
{ |
if(IS_INTRESOURCE(lpszName)) |
parm_id = (int)lpszName; |
return false; // we only want the first one |