sal55 / langs

84 stars 6 forks source link

bcc.exe - Several definitions of winbase.h respectively windows.h are missing. #5

Open ThomasMertes opened 3 years ago

ThomasMertes commented 3 years ago

These definitions together with other missing definitions in windows.h allow the compilation of Seed7. The definitions from winbase.h need to be inserted after the definitions from winnt.h into windows.h.

BOOL WINAPI LookupAccountNameW(LPCWSTR,LPCWSTR,PSID,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE); BOOL WINAPI LookupAccountSidW(LPCWSTR,PSID,LPWSTR,PDWORD,LPWSTR,PDWORD,PSID_NAME_USE); HANDLE WINAPI GetCurrentProcess(void); HANDLE WINAPI GetCurrentThread(void); BOOL WINAPI OpenProcessToken(HANDLE,DWORD,PHANDLE); BOOL WINAPI OpenThreadToken(HANDLE,DWORD,BOOL,PHANDLE); BOOL WINAPI GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,PVOID,DWORD,PDWORD); HGLOBAL WINAPI GlobalFree(HGLOBAL); HLOCAL WINAPI LocalAlloc(UINT,SIZE_T);

define LPTR 64