;******************************************************************************************************************************** ;* * ;* File: CoreLibraryExport.inc * ;* * ;* This file defines the constants, macros, and structures for accessing functions via CoreLibrary. * ;* * ;* Authors: * ;* - Neil G. Dickson * ;* * ;******************************************************************************************************************************** CreateProcess proto pName:DWORD,DataSize:DWORD,pData:DWORD,Flags:DWORD DestroyProcess proto pProcess:DWORD ExitProcess proto ReturnCode:DWORD GetCurrentProcess proto CreateThread proto StartAddress:DWORD,StackSize:DWORD,Flags:DWORD,Parameter:DWORD DestroyThread proto pThread:DWORD PauseThread proto pThread:DWORD ResumeThread proto pThread:DWORD GetCurrentThread proto SleepThread proto pThread:DWORD,Milliseconds:DWORD ScheduleThread proto pThread:DWORD,Milliseconds:DWORD GetLock proto pLock:DWORD ReleaseLock proto pLock:DWORD AttemptGetLock proto pLock:DWORD,Milliseconds:DWORD WaitForNotify proto pLock:DWORD AttemptWaitForNotify proto pLock:DWORD,Milliseconds:DWORD Notify proto pLock:DWORD NotifyAll proto pLock:DWORD AllocatePages proto Address:DWORD,nPages:DWORD,AllocType:DWORD,Protection:DWORD FreePages proto Address:DWORD,nPages:DWORD AllocateMemory proto nBytes:DWORD AllocateAlignedMemory proto nBytes:DWORD,Alignment:DWORD FreeMemory proto Address:DWORD OpenFile proto pName:DWORD,Access:DWORD,Creation:DWORD,Flags:DWORD GetFileSize proto pFile:DWORD ReadFile proto pFile:DWORD,pDestination:DWORD,nBytes:DWORD WriteFile proto pFile:DWORD,pSource:DWORD,nBytes:DWORD CloseFile proto pFile:DWORD GetGraphicsAccess proto ReleaseGraphicsAccess proto