Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to define Windows common data types under Linux

Shulou Source: shulou.com Published: 2022-06-01 05:01:22 11月15日 Update

Editor to share with you how to define Windows common data types under Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

# define INVALID_HANDLE_VALUE-1#define _ MAX_PATH 260 / * max. Length of full pathname * / # define HANDLE int#define MAX_PATH 260#define TRUE true#define FALSE false#define _ stdcall#define _ declspec (x) # define _ cdecl#define max (a) > (b))? (a): (B) # define min ((a) < (b))? (a): (B) typedef int BOOL;typedef unsigned char BYTE;typedef float FLOAT;typedef FLOAT * PFLOAT;typedef char CHAR;typedef unsigned char UCHAR;typedef unsigned char * PUCHAR;typedef short SHORT;typedef unsigned short USHORT;typedef unsigned short * PUSHORT Typedef long LONG;typedef unsigned short WORD;typedef unsigned long DWORD;typedef long long LONGLONG;typedef unsigned long long ULONGLONG;typedef ULONGLONG * PULONGLONG;typedef unsigned long ULONG;typedef int INT;typedef unsigned int UINT;typedef unsigned int * PUINT;typedef void VOID;typedef char * LPSTR;typedef const char * LPCSTR Typedef wchar_t WCHAR;typedef WCHAR * LPWSTR;typedef const WCHAR * LPCWSTR;typedef DWORD * LPDWORD;typedef unsigned long UINT_PTR;typedef UINT_PTR SIZE_T;typedef LONGLONG USN;typedef BYTE BOOLEAN;typedef void * PVOID;typedef struct _ FILETIME {DWORD dwLowDateTime;DWORD dwHighDateTime;} FILETIME;typedef union _ ULARGE_INTEGER {struct {DWORD LowPart;DWORD HighPart }; struct {DWORD LowPart;DWORD HighPart;} Ulong QuadPart;} ULARGE_INTEGER,*PULARGE_INTEGER; is all the content of this article entitled "how to define Windows common data types under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Articles commonly used data type content not much most more knowledge industry information channels channels references learning help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL vpn Shulou Tech Info Microsoft Huawei