How to call EnumSystemLocales() function in C++ within the same class? My callback function is :

```
BOOL CALLBACK CLanguage::EnumLocalesProc(LPWSTR lpLocaleString) {

    RETAILMSG(TRUE, (L"[GUI] LOCALE: %s!\n\r", lpLocaleString));

    return TRUE;

}

```

Calling `EnumSystemLocales(&CLanguage::EnumLocalesProc, LCID_INSTALLED)` does not work!

**Edit:**
It is Windows Embedded Compact 7. And the error is in syntax:

> 
> Error 2 error C2664: 'EnumSystemLocalesW' : cannot convert parameter 1
>  from 'BOOL (\_\_cdecl CLanguage::\* )(LPWSTR)' to 'LOCALE\_ENUMPROCW'
>  {log="C:\WINCE700\osdesigns\UVVIS2\UVVIS2\GUI\bldsys.log(32)"} c:\wince700\osdesigns\uvvis2\uvvis2\gui\clanguage.cpp 24
> 
> 
>