Esme Povirk (@madewokherd) commented about dlls/comdlg32/navbar.c:
- HWND container_hwnd;
- HIMAGELIST icons;
- HWND back_btn_hwnd;
- HWND fwd_btn_hwnd;
+} NAVBAR_INFO;
+static LRESULT NAVBAR_Create(HWND hwnd, NAVBAR_INFO *info, UINT msg, WPARAM wparam, LPARAM lparam) +{
- CREATESTRUCTW *cs = (CREATESTRUCTW*)lparam;
- INT x;
- HGDIOBJ gui_font = GetStockObject(DEFAULT_GUI_FONT);
- HICON icon;
- info = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(NAVBAR_INFO));
This ignores the pointer that was passed in.