1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 00:04:57 +03:00

Remove "UINT_PTR" and "LONG_PTR", use original type everywhere

This commit is contained in:
Davide Beatrici
2020-08-15 09:18:21 +02:00
parent b4cd4ce360
commit 1c56562cc7
2 changed files with 12 additions and 8 deletions

View File

@ -19,15 +19,19 @@
// Make available the types for Windows even if windows.h is not included
#ifndef _WINDEF_
typedef void *HWND;
typedef void *HFONT;
typedef void *HICON;
typedef void *HMENU;
typedef UINT_PTR WPARAM;
typedef LONG_PTR LPARAM;
typedef void *HINSTANCE;
#ifdef CPU_64
typedef unsigned __int64 *WPARAM;
typedef __int64 *LPARAM;
#else
typedef unsigned int *WPARAM;
typedef long *LPARAM;
#endif // CPU_64
#endif // _WINDEF_