INT_PTR AdvScanDlgFunc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); INT_PTR CALLBACK AdvScanDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); void ConfigSwitchKey(UINT vk, BOOL bSet);