Subversion Repositories filter_foundry

Rev

Rev 45 | Rev 85 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 45 Rev 62
Line 24... Line 24...
24
#include <string.h>
24
#include <string.h>
25
 
25
 
26
static int parm_id;
26
static int parm_id;
27
 
27
 
28
// see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/introductiontoresources/resourcereference/resourcefunctions/findresource.asp
28
// see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/introductiontoresources/resourcereference/resourcefunctions/findresource.asp
29
static BOOL CALLBACK enumnames(HMODULE hModule,LPCTSTR lpszType,LPTSTR lpszName,LONG_PTR lParam){
29
static BOOL CALLBACK enumnames(HMODULE hModule,LPCTSTR lpszType,
-
 
30
                                                           LPTSTR lpszName,LONG_PTR lParam)
30
       
31
{
31
        if(IS_INTRESOURCE(lpszName))
32
        if(IS_INTRESOURCE(lpszName))
32
                parm_id = (int)lpszName;
33
                parm_id = (int)lpszName;
33
        return false; // we only want the first one
34
        return false; // we only want the first one
34
}
35
}
35
 
36