How to initialize a value to HMENU on windows

Hello :
How to initialize a value that has this type:
?*os.windows.HMENU__opaque_4135 ?

In this instruction :

fn ajoutBouton (hwnd: w.HWND,hInstance: w.HINSTANCE,) void {
  const BN_CLICKED = 1001;

I have this error :

affwin7.zig:143:9: error: expected type '?*os.windows.HMENU__opaque_4135', found 'comptime_int'
        BN_CLICKED,
        ^~~~~~~~~~
D:\Logiciels\Zig\zig-windows-x86_64-0.11.0-dev.2545+311d50f9d\lib\std\os\windows\user32.zig:1294:203: note: parameter type declared here
pub extern "user32" fn CreateWindowExW(dwExStyle: DWORD, lpClassName: [*:0]const u16, lpWindowName: [*:0]const u16, dwStyle: DWORD, X: i32, Y: i32, nWidth: i32, nHeight: i32, hWindParent: ?HWND, hMenu: ?HMENU, hInstance: HINSTANCE, lpParam: ?LPVOID) callconv(WINAPI) ?HWND;

Thanck.

and
existe-il une communauté zig francophone ?

je suis français

mais on peu aussi te répondre ici

Bonjour.
Je débute en zig et je voudrais utiliser un tableau dans une fonction.
je le déclare comme ceci var array1 = [_]usize {0, 2, 11, 19, 90};
const Res = searchTwoNumbers(&array1,21);
et je le passe en paramètre comme ceci
fn searchTwoNumbers(a: *[5]usize,sum: usize) retour {
et cela fonctionne bien. Et si j’enleve la dimension du tableau (le 5) j’ai une erreur de compilation. Comment faut-il décrire ce paramètre sans indiquer la dimension car la fonction peut être appelée pour des tableaux de taille différente ?