32 Bit SectionPowerBuilder API Site 
      API Function List - 32 Bit

      FUNCTION ulong AbortDoc(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong AbortPath(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong AbortPrinter(ulong hPrinter) LIBRARY "winspool.drv"
      FUNCTION ulong AbortSystemShutdown(ref string lpMachineName) LIBRARY 
      "advapi32.dll" ALIAS FOR "AbortSystemShutdownA"
      FUNCTION ulong AccessCheck(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ulong ClientToken,ulong DesiredAccess,ref 
      GENERIC_MAPPING GenericMapping,ref PRIVILEGE_SET PrivilegeSet,ref ulong 
      PrivilegeSetLength,ref ulong GrantedAccess,ulong Status) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong AccessCheckAndAuditAlarm(ref string SubsystemName,ref Any 
      HandleId,ref string ObjectTypeName,ref string ObjectName,ref 
      SECURITY_DESCRIPTOR SecurityDescriptor,ulong DesiredAccess,ref 
      GENERIC_MAPPING GenericMapping,ulong ObjectCreation,ref ulong 
      GrantedAccess,ulong AccessStatus,ulong pfGenerateOnClose) LIBRARY 
      "advapi32.dll" ALIAS FOR "AccessCheckAndAuditAlarmA"
      FUNCTION ulong ActivateKeyboardLayout(ulong HKL,ulong flags) LIBRARY 
      "user32.dll"
      FUNCTION ulong AddAccessAllowedAce(ref ACL pAcl,ulong dwAceRevision,ulong 
      AccessMask,ref Any pSid) LIBRARY "advapi32.dll"
      FUNCTION ulong AddAccessDeniedAce(ref ACL pAcl,ulong dwAceRevision,ulong 
      AccessMask,ref Any pSid) LIBRARY "advapi32.dll"
      FUNCTION ulong AddAce(ref ACL pAcl,ulong dwAceRevision,ulong 
      dwStartingAceIndex,ref Any pAceList,ulong nAceListLength) LIBRARY 
      "advapi32.dll"
      FUNCTION Integer AddAtom(ref string lpString) LIBRARY "kernel32.dll" ALIAS 
      FOR "AddAtomA"
      FUNCTION ulong AddAuditAccessAce(ref ACL pAcl,ulong dwAceRevision,ulong 
      dwAccessMask,ref Any pSid,ulong bAuditSuccess,ulong bAuditFailure) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong AddFontResource(ref string lpFileName) LIBRARY "gdi32.dll" 
      ALIAS FOR "AddFontResourceA"
      FUNCTION ulong AddForm(ulong hPrinter,ulong Level,ref Byte pForm) LIBRARY 
      "winspool.drv" ALIAS FOR "AddFormA"
      FUNCTION ulong AddJob(ulong hPrinter,ulong Level,ref Byte pData,ulong 
      cdBuf,ref ulong pcbNeeded) LIBRARY "winspool.drv" ALIAS FOR "AddJobA"
      FUNCTION ulong AddMonitor(ref string pName,ulong Level,ref Byte pMonitors) 
      LIBRARY "winspool.drv" ALIAS FOR "AddMonitorA"
      FUNCTION ulong AddPort(ref string pName,ulong hwnd,ref string 
      pMonitorName) LIBRARY "winspool.drv" ALIAS FOR "AddPortA"
      FUNCTION ulong AddPrinter(ref string pName,ulong Level,ref Byte pPrinter) 
      LIBRARY "winspool.drv" ALIAS FOR "AddPrinterA"
      FUNCTION ulong AddPrinterConnection(ref string pName) LIBRARY 
      "winspool.drv" ALIAS FOR "AddPrinterConnectionA"
      FUNCTION ulong AddPrinterDriver(ref string pName,ulong Level,ref Byte 
      pDriverInfor) LIBRARY "winspool.drv" ALIAS FOR "AddPrinterDriverA"
      FUNCTION ulong AddPrintProcessor(ref string pName,ref string 
      pEnvironment,ref string pPathName,ref string pPrintProcessorName) LIBRARY 
      "winspool.drv" ALIAS FOR "AddPrintProcessorA"
      FUNCTION ulong AddPrintProvidor(ref string pName,ulong Level,ref Byte 
      pProvidorInfo) LIBRARY "winspool.drv" ALIAS FOR "AddPrintProvidorA"
      FUNCTION ulong AdjustTokenGroups(ulong TokenHandle,ulong 
      ResetToDefault,ref TOKEN_GROUPS NewState,ulong BufferLength,ref 
      TOKEN_GROUPS PreviousState,ref ulong ReturnLength) LIBRARY "advapi32.dll"
      FUNCTION ulong AdjustTokenPrivileges(ulong TokenHandle,ulong 
      DisableAllPrivileges,ref TOKEN_PRIVILEGES NewState,ulong BufferLength,ref 
      TOKEN_PRIVILEGES PreviousState,ref ulong ReturnLength) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong AdjustWindowRect(ref RECT lpRect,ulong dwStyle,ulong bMenu) 
      LIBRARY "user32.dll" ALIAS FOR "AdjustWindowRectA"
      FUNCTION ulong AdjustWindowRectEx(ref RECT lpRect,ulong dsStyle,ulong 
      bMenu,ulong dwEsStyle) LIBRARY "user32.dll"
      FUNCTION ulong AdvancedDocumentProperties(ulong hwnd,ulong hPrinter,ref 
      string pDeviceName,ref DEVMODE pDevModeOutput,ref DEVMODE pDevModeInput) 
      LIBRARY "winspool.drv" ALIAS FOR "AdvancedDocumentPropertiesA"
      FUNCTION ulong AllocateAndInitializeSid(ref SID_IDENTIFIER_AUTHORITY 
      pIdentifierAuthority,Byte nSubAuthorityCount,ulong nSubAuthority0,ulong 
      nSubAuthority1,ulong nSubAuthority2,ulong nSubAuthority3,ulong 
      nSubAuthority4,ulong nSubAuthority5,ulong nSubAuthority6,ulong 
      nSubAuthority7,ref ulong lpPSid) LIBRARY "advapi32.dll"
      FUNCTION ulong AllocateLocallyUniqueId(ref LARGE_INTEGER Luid) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong AllocConsole() LIBRARY "kernel32.dll"
      FUNCTION ulong AngleArc(ulong hdc,ulong x,ulong y,ulong dwRadius,Double 
      eStartAngle,Double eSweepAngle) LIBRARY "gdi32.dll"
      FUNCTION ulong AnimatePalette(ulong hPalette,ulong wStartIndex,ulong 
      wNumEntries,ref PALETTEENTRY lpPaletteColors) LIBRARY "gdi32.dll" ALIAS 
      FOR "AnimatePaletteA"
      FUNCTION ulong AnyPopup() LIBRARY "user32.dll"
      FUNCTION ulong AppendMenu(ulong hMenu,ulong wFlags,ulong wIDNewItem,ref 
      string lpNewItem) LIBRARY "user32.dll" ALIAS FOR "AppendMenuA"
      FUNCTION ulong Arc(ulong hdc,ulong X1,ulong Y1,ulong X2,ulong Y2,ulong 
      X3,ulong Y3,ulong X4,ulong Y4) LIBRARY "gdi32.dll"
      FUNCTION ulong ArcTo(ulong hdc,ulong X1,ulong Y1,ulong X2,ulong Y2,ulong 
      X3,ulong Y3,ulong X4,ulong Y4) LIBRARY "gdi32.dll"
      FUNCTION ulong AreAllAccessesGranted(ulong GrantedAccess,ulong 
      DesiredAccess) LIBRARY "advapi32.dll"
      FUNCTION ulong AreAnyAccessesGranted(ulong GrantedAccess,ulong 
      DesiredAccess) LIBRARY "advapi32.dll"
      FUNCTION ulong ArrangeIconicWindows(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong AttachThreadInput(ulong idAttach,ulong idAttachTo,ulong 
      fAttach) LIBRARY "user32.dll"
      FUNCTION ulong auxGetDevCaps(ulong uDeviceID,ref AUXCAPS lpCaps,ulong 
      uSize) LIBRARY "winmm.dll" ALIAS FOR "auxGetDevCapsA"
      FUNCTION ulong auxGetNumDevs() LIBRARY "winmm.dll"
      FUNCTION ulong auxGetVolume(ulong uDeviceID,ref ulong lpdwVolume) LIBRARY 
      "winmm.dll"
      FUNCTION ulong auxOutMessage(ulong uDeviceID,ulong msg,ulong dw1,ulong 
      dw2) LIBRARY "winmm.dll"
      FUNCTION ulong auxSetVolume(ulong uDeviceID,ulong dwVolume) LIBRARY 
      "winmm.dll"
      FUNCTION ulong BackupEventLog(ulong hEventLog,ref string lpBackupFileName) 
      LIBRARY "advapi32.dll" ALIAS FOR "BackupEventLogA"
      FUNCTION ulong BackupRead(ulong hFile,ref Byte lpBuffer,ulong 
      nNumberOfBytesToRead,ref ulong lpNumberOfBytesRead,ulong bAbort,ulong 
      bProcessSecurity,ref Any lpContext) LIBRARY "kernel32.dll"
      FUNCTION ulong BackupSeek(ulong hFile,ulong dwLowBytesToSeek,ulong 
      dwHighBytesToSeek,ref ulong lpdwLowByteSeeked,ref ulong 
      lpdwHighByteSeeked,ref ulong lpContext) LIBRARY "kernel32.dll"
      FUNCTION ulong BackupWrite(ulong hFile,ref Byte lpBuffer,ulong 
      nNumberOfBytesToWrite,ref ulong lpNumberOfBytesWritten,ulong bAbort,ulong 
      bProcessSecurity,ref ulong lpContext) LIBRARY "kernel32.dll"
      FUNCTION ulong Beep(ulong dwFreq,ulong dwDuration) LIBRARY "kernel32.dll"
      FUNCTION ulong BeginDeferWindowPos(ulong nNumWindows) LIBRARY "user32.dll"
      FUNCTION ulong BeginPaint(ulong hwnd,ref PAINTSTRUCT lpPaint) LIBRARY 
      "user32.dll"
      FUNCTION ulong BeginPath(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong BeginUpdateResource(ref string pFileName,ulong 
      bDeleteExistingResources) LIBRARY "kernel32.dll" ALIAS FOR 
      "BeginUpdateResourceA"
      FUNCTION ulong BitBlt(ulong hDestDC,ulong x,ulong y,ulong nWidth,ulong 
      nHeight,ulong hSrcDC,ulong xSrc,ulong ySrc,ulong dwRop) LIBRARY 
"gdi32.dll"
      FUNCTION ulong BringWindowToTop(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong BroadcastSystemMessage(ulong dw,ref ulong pdw,ulong 
      un,ulong wParam,ulong lParam) LIBRARY "user32.dll"
      FUNCTION ulong BuildCommDCB(ref string lpDef,ref DCB lpDCB) LIBRARY 
      "kernel32.dll" ALIAS FOR "BuildCommDCBA"
      FUNCTION ulong BuildCommDCBAndTimeouts(ref string lpDef,ref DCB lpDCB,ref 
      COMMTIMEOUTS lpCommTimeouts) LIBRARY "kernel32.dll" ALIAS FOR 
      "BuildCommDCBAndTimeoutsA"
      FUNCTION ulong CallMsgFilter(ref MSG lpMsg,ulong ncode) LIBRARY 
      "user32.dll" ALIAS FOR "CallMsgFilterA"
      FUNCTION ulong CallNamedPipe(ref string lpNamedPipeName,ref Any 
      lpInBuffer,ulong nInBufferSize,ref Any lpOutBuffer,ulong 
      nOutBufferSize,ref ulong lpBytesRead,ulong nTimeOut) LIBRARY 
      "kernel32.dll" ALIAS FOR "CallNamedPipeA"
      FUNCTION ulong CallNextHookEx(ulong hHook,ulong ncode,ulong wParam,ref Any 
      lParam) LIBRARY "user32.dll"
      FUNCTION ulong CallWindowProc(ulong lpPrevWndFunc,ulong hWnd,ulong 
      Msg,ulong wParam,ulong lParam) LIBRARY "user32.dll" ALIAS FOR 
      "CallWindowProcA"
      FUNCTION ulong CancelDC(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION Integer CascadeWindows(ulong hwndParent,ulong wHow,RECT 
      lpRect,ulong cKids,ref ulong lpkids) LIBRARY "user32.dll"
      FUNCTION ulong ChangeClipboardChain(ulong hwnd,ulong hWndNext) LIBRARY 
      "user32.dll"
      FUNCTION boolean ChangeMenu(ulong hMenu,ulong cmd,ref string 
      lpszNewItem,ulong cmdInsert,ulong flags) LIBRARY "user32.dll" ALIAS FOR 
      "ChangeMenuA"
      FUNCTION ulong ChangeServiceConfig(ulong hService,ulong 
      dwServiceType,ulong dwStartType,ulong dwErrorControl,ref string 
      lpBinaryPathName,ref string lpLoadOrderGroup,ref ulong lpdwTagId,ref 
      string lpDependencies,ref string lpServiceStartName,ref string 
      lpPassword,ref string lpDisplayName) LIBRARY "advapi32.dll" ALIAS FOR 
      "ChangeServiceConfigA"
      FUNCTION string CharLower(ref string lpsz) LIBRARY "user32.dll" ALIAS FOR 
      "CharLowerA"
      FUNCTION ulong CharLowerBuff(ref string lpsz,ulong cchLength) LIBRARY 
      "user32.dll" ALIAS FOR "CharLowerBuffA"
      FUNCTION string CharNext(ref string lpsz) LIBRARY "user32.dll" ALIAS FOR 
      "CharNextA"
      FUNCTION string CharPrev(ref string lpszStart,ref string lpszCurrent) 
      LIBRARY "user32.dll" ALIAS FOR "CharPrevA"
      FUNCTION ulong CharToOem(ref string lpszSrc,ref string lpszDst) LIBRARY 
      "user32.dll" ALIAS FOR "CharToOemA"
      FUNCTION ulong CharToOemBuff(ref string lpszSrc,ref string lpszDst,ulong 
      cchDstLength) LIBRARY "user32.dll" ALIAS FOR "CharToOemBuffA"
      FUNCTION string CharUpper(ref string lpsz) LIBRARY "user32.dll" ALIAS FOR 
      "CharUpperA"
      FUNCTION ulong CharUpperBuff(ref string lpsz,ulong cchLength) LIBRARY 
      "user32.dll" ALIAS FOR "CharUpperBuffA"
      FUNCTION ulong CheckColorsInGamut(ulong hdc,ref Any lpv,ref Any lpv2,ulong 
      dw) LIBRARY "gdi32.dll"
      FUNCTION ulong CheckDlgButton(ulong hDlg,ulong nIDButton,ulong wCheck) 
      LIBRARY "user32.dll" ALIAS FOR "CheckDLGButtonA"
      FUNCTION ulong CheckMenuItem(ulong hMenu,ulong wIDCheckItem,ulong wCheck) 
      LIBRARY "user32.dll"
      FUNCTION boolean CheckMenuRadioItem(ulong hMenu,ulong un1,ulong un2,ulong 
      un3,ulong un4) LIBRARY "user32.dll"
      FUNCTION ulong CheckRadioButton(ulong hDlg,ulong nIDFirstButton,ulong 
      nIDLastButton,ulong nIDCheckButton) LIBRARY "user32.dll" ALIAS FOR 
      "CheckRadioButtonA"
      FUNCTION ulong ChildWindowFromPoint(ulong hWnd,ulong xPoint,ulong yPoint) 
      LIBRARY "user32.dll"
      FUNCTION ulong ChildWindowFromPoint(ulong hWndParent,POINTAPI pt) LIBRARY 
      "user32.dll"
      FUNCTION ulong ChildWindowFromPointEx(ulong hWnd,POINTAPI pt,ulong un) 
      LIBRARY "user32.dll"
      FUNCTION ulong ChooseColor(ref CHOOSECOLOR pChoosecolor) LIBRARY 
      "comdlg32.dll" ALIAS FOR "ChooseColorA"
      FUNCTION ulong ChooseFont(ref CHOOSEFONT pChoosefont) LIBRARY 
      "comdlg32.dll" ALIAS FOR "ChooseFontA"
      FUNCTION ulong ChoosePixelFormat(ulong hDC,ref PIXELFORMATDESCRIPTOR 
      pPixelFormatDescriptor) LIBRARY "gdi32.dll"
      FUNCTION ulong Chord(ulong hdc,ulong X1,ulong Y1,ulong X2,ulong Y2,ulong 
      X3,ulong Y3,ulong X4,ulong Y4) LIBRARY "gdi32.dll"
      FUNCTION ulong ClearCommBreak(ulong nCid) LIBRARY "kernel32.dll"
      FUNCTION ulong ClearCommError(ulong hFile,ref ulong lpErrors,ref COMSTAT 
      lpStat) LIBRARY "kernel32.dll"
      FUNCTION ulong ClearEventLog(ulong hEventLog,ref string lpBackupFileName) 
      LIBRARY "advapi32.dll" ALIAS FOR "ClearEventLogA"
      FUNCTION ulong ClientToScreen(ulong hwnd,ref POINTAPI lpPoint) LIBRARY 
      "user32.dll"
      FUNCTION ulong ClipCursor(ref Any lpRect) LIBRARY "user32.dll"
      FUNCTION ulong CloseClipboard() LIBRARY "user32.dll"
      FUNCTION boolean CloseDesktop(ulong hDesktop) LIBRARY "user32.dll"
      FUNCTION ulong CloseDriver(ulong hDriver,ulong lParam1,ulong lParam2) 
      LIBRARY "winmm.dll"
      FUNCTION ulong CloseEnhMetaFile(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong CloseEventLog(ulong hEventLog) LIBRARY "advapi32.dll"
      FUNCTION ulong CloseFigure(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong CloseHandle(ulong hObject) LIBRARY "kernel32.dll"
      FUNCTION ulong CloseMetaFile(ulong hMF) LIBRARY "gdi32.dll"
      FUNCTION ulong ClosePrinter(ulong hPrinter) LIBRARY "winspool.drv"
      FUNCTION ulong CloseServiceHandle(ulong hSCObject) LIBRARY "advapi32.dll"
      FUNCTION ulong CloseWindow(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION boolean CloseWindowStation(ulong hWinSta) LIBRARY "user32.dll"
      FUNCTION ulong ColorMatchToTarget(ulong hdc,ulong hdc2,ulong dw) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong CombineRgn(ulong hDestRgn,ulong hSrcRgn1,ulong 
      hSrcRgn2,ulong nCombineMode) LIBRARY "gdi32.dll"
      FUNCTION ulong CombineTransform(ref xform lpxformResult,ref xform 
      lpxform1,ref xform lpxform2) LIBRARY "gdi32.dll"
      FUNCTION ulong CommandLineToArgv(ref string lpCmdLine,ref Integer 
      pNumArgs) LIBRARY "shell32" ALIAS FOR "CommandLineToArgvW"
      FUNCTION boolean CommConfigDialog(ref string lpszName,ulong hWnd,ref 
      COMMCONFIG lpCC) LIBRARY "kernel32.dll" ALIAS FOR "CommConfigDialogA"
      FUNCTION ulong CommDlgExtendedError() LIBRARY "comdlg32.dll"
      FUNCTION ulong ComparefileTime(ref FILETIME lpFileTime1,ref FILETIME 
      lpFileTime2) LIBRARY "kernel32.dll"
      FUNCTION ulong CompareString(ulong Locale,ulong dwCmpFlags,ref string 
      lpString1,ulong cchCount1,ref string lpString2,ulong cchCount2) LIBRARY 
      "kernel32.dll" ALIAS FOR "CompareStringA"
      FUNCTION ulong ConfigurePort(ref string pName,ulong hwnd,ref string 
      pPortName) LIBRARY "winspool.drv" ALIAS FOR "ConfigurePortA"
      FUNCTION ulong ConnectNamedPipe(ulong hNamedPipe,ref OVERLAPPED 
      lpOverlapped) LIBRARY "kernel32.dll"
      FUNCTION ulong ConnectToPrinterDlg(ulong hwnd,ulong flags) LIBRARY 
      "winspool.drv"
      FUNCTION ulong ContinueDebugEvent(ulong dwProcessId,ulong dwThreadId,ulong 
      dwContinueStatus) LIBRARY "kernel32.dll"
      FUNCTION ulong ControlService(ulong hService,ulong dwControl,ref 
      SERVICE_STATUS lpServiceStatus) LIBRARY "advapi32.dll"
      FUNCTION ulong ConvertDefaultLocale(ulong Locale) LIBRARY "kernel32.dll"
      FUNCTION ulong CopyAcceleratorTable(ulong hAccelSrc,ref ACCEL 
      lpAccelDst,ulong cAccelEntries) LIBRARY "user32.dll" ALIAS FOR 
      "CopyAcceleratorTableA"
      FUNCTION ulong CopyCursor(ulong hcur) LIBRARY "user32.dll"
      FUNCTION ulong CopyEnhMetaFile(ulong hemfSrc,ref string lpszFile) LIBRARY 
      "gdi32.dll" ALIAS FOR "CopyEnhMetaFileA"
      FUNCTION ulong CopyFile(ref string lpExistingFileName,ref string 
      lpNewFileName,ulong bFailIfExists) LIBRARY "kernel32.dll" ALIAS FOR 
      "CopyFileA"
      FUNCTION ulong CopyIcon(ulong hIcon) LIBRARY "user32.dll"
      FUNCTION ulong CopyImage(ulong handle,ulong un1,ulong n1,ulong n2,ulong 
      un2) LIBRARY "user32.dll"
      FUNCTION ulong CopyLZFile(ulong n1,ulong n2) LIBRARY "lz32"
      FUNCTION ulong CopyMetaFile(ulong hMF,ref string lpFileName) LIBRARY 
      "gdi32.dll" ALIAS FOR "CopyMetaFileA"
      FUNCTION ulong CopyRect(ref RECT lpDestRect,ref RECT lpSourceRect) LIBRARY 
      "user32.dll"
      FUNCTION ulong CopySid(ulong nDestinationSidLength,ref Any 
      pDestinationSid,ref Any pSourceSid) LIBRARY "advapi32.dll"
      FUNCTION ulong CountClipboardFormats() LIBRARY "user32.dll"
      FUNCTION ulong CreateAcceleratorTable(ref ACCEL lpaccl,ulong cEntries) 
      LIBRARY "user32.dll" ALIAS FOR "CreateAcceleratorTableA"
      FUNCTION ulong CreateBitmap(ulong nWidth,ulong nHeight,ulong nPlanes,ulong 
      nBitCount,ref Any lpBits) LIBRARY "gdi32.dll"
      FUNCTION ulong CreateBitmapIndirect(ref BITMAP lpBitmap) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong CreateBrushIndirect(ref LOGBRUSH lpLogBrush) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong CreateCaret(ulong hwnd,ulong hBitmap,ulong nWidth,ulong 
      nHeight) LIBRARY "user32.dll"
      FUNCTION ulong CreateColorSpace(ref LOGCOLORSPACE lplogcolorspace) LIBRARY 
      "gdi32.dll" ALIAS FOR "CreateColorSpaceA"
      FUNCTION ulong CreateCompatibleBitmap(ulong hdc,ulong nWidth,ulong 
      nHeight) LIBRARY "gdi32.dll"
      FUNCTION ulong CreateCompatibleDC(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong CreateConsoleScreenBuffer(ulong dwDesiredAccess,ulong 
      dwShareMode,ref SECURITY_ATTRIBUTES lpSecurityAttributes,ulong dwFlags,ref 
      Any lpScreenBufferData) LIBRARY "kernel32.dll"
      FUNCTION ulong CreateCursor(ulong hInstance,ulong nXhotspot,ulong 
      nYhotspot,ulong nWidth,ulong nHeight,ref Any lpANDbitPlane,ref Any 
      lpXORbitPlane) LIBRARY "user32.dll"
      FUNCTION ulong CreateDC(ref string lpDriverName,ref string 
      lpDeviceName,ref string lpOutput,ref DEVMODE lpInitData) LIBRARY 
      "gdi32.dll" ALIAS FOR "CreateDCA"
      FUNCTION ulong CreateDesktop(ref string lpszDesktop,ref string 
      lpszDevice,ref DEVMODE pDevmode,ulong dwFlags,ulong dwDesiredAccess,ref 
      SECURITY_ATTRIBUTES lpsa) LIBRARY "user32.dll" ALIAS FOR "CreateDesktopA"
      FUNCTION ulong CreateDialogIndirectParam(ulong hInstance,ref DLGTEMPLATE 
      lpTemplate,ulong hWndParent,ulong lpDialogFunc,ulong dwInitParam) LIBRARY 
      "user32.dll" ALIAS FOR "CreateDialogIndirectParamA"
      FUNCTION ulong CreateDialogParam(ulong hInstance,ref string lpName,ulong 
      hWndParent,ulong lpDialogFunc,ulong lParamInit) LIBRARY "user32.dll" ALIAS 
      FOR "CreateDialogParamA"
      FUNCTION ulong CreateDIBitmap(ulong hdc,ref BITMAPINFOHEADER 
      lpInfoHeader,ulong dwUsage,ref Any lpInitBits,ref BITMAPINFO 
      lpInitInfo,ulong wUsage) LIBRARY "gdi32.dll"
      FUNCTION ulong CreateDIBPatternBrush(ulong hPackedDIB,ulong wUsage) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong CreateDIBPatternBrushPt(ref Any lpPackedDIB,ulong iUsage) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong CreateDIBSection(ulong hDC,ref BITMAPINFO pBitmapInfo,ulong 
      un,ulong lplpVoid,ulong handle,ulong dw) LIBRARY "gdi32.dll"
      FUNCTION ulong CreateDirectory(ref string lpPathName,ref 
      SECURITY_ATTRIBUTES lpSecurityAttributes) LIBRARY "kernel32.dll" ALIAS FOR 
      "CreateDirectoryA"
      FUNCTION ulong CreateDirectoryEx(ref string lpTemplateDirectory,ref string 
      lpNewDirectory,ref SECURITY_ATTRIBUTES lpSecurityAttributes) LIBRARY 
      "kernel32.dll" ALIAS FOR "CreateDirectoryExA"
      FUNCTION ulong CreateDiscardableBitmap(ulong hdc,ulong nWidth,ulong 
      nHeight) LIBRARY "gdi32.dll"
      FUNCTION ulong CreateEllipticRgn(ulong X1,ulong Y1,ulong X2,ulong Y2) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong CreateEllipticRgnIndirect(ref Rect lpRect) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong CreateEnhMetaFile(ulong hdcref,ref string lpFileName,ref 
      RECT lpRect,ref string lpDescription) LIBRARY "gdi32.dll" ALIAS FOR 
      "CreateEnhMetaFileA"
      FUNCTION ulong CreateEvent(ref SECURITY_ATTRIBUTES lpEventAttributes,ulong 
      bManualReset,ulong bInitialState,ref string lpName) LIBRARY "kernel32.dll" 
      ALIAS FOR "CreateEventA"
      FUNCTION ulong CreateFile(ref string lpFileName,ulong 
      dwDesiredAccess,ulong dwShareMode,ref SECURITY_ATTRIBUTES 
      lpSecurityAttributes,ulong dwCreationDisposition,ulong 
      dwFlagsAndAttributes,ulong hTemplateFile) LIBRARY "kernel32.dll" ALIAS FOR 
      "CreateFileA"
      FUNCTION ulong CreateFileMapping(ulong hFile,ref SECURITY_ATTRIBUTES 
      lpFileMappigAttributes,ulong flProtect,ulong dwMaximumSizeHigh,ulong 
      dwMaximumSizeLow,ref string lpName) LIBRARY "kernel32.dll" ALIAS FOR 
      "CreateFileMappingA"
      FUNCTION ulong CreateFont(ulong H,ulong W,ulong E,ulong O,ulong W,ulong 
      I,ulong u,ulong S,ulong C,ulong OP,ulong CP,ulong Q,ulong PAF,ref string 
      F) LIBRARY "gdi32.dll" ALIAS FOR "CreateFontA"
      FUNCTION ulong CreateFontIndirect(ref LOGFONT lpLogFont) LIBRARY 
      "gdi32.dll" ALIAS FOR "CreateFontIndirectA"
      FUNCTION ulong CreateHalftonePalette(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong CreateHatchBrush(ulong nIndex,ulong crColor) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong CreateIC(ref string lpDriverName,ref string 
      lpDeviceName,ref string lpOutput,ref DEVMODE lpInitData) LIBRARY 
      "gdi32.dll" ALIAS FOR "CreateICA"
      FUNCTION ulong CreateIcon(ulong hInstance,ulong nWidth,ulong nHeight,Byte 
      nPlanes,Byte nBitsPixel,ref Byte lpANDbits,ref Byte lpXORbits) LIBRARY 
      "user32.dll"
      FUNCTION ulong CreateIconFromResource(ref Byte presbits,ulong 
      dwResSize,boolean fIcon,ulong dwVer) LIBRARY "user32.dll"
      FUNCTION ulong CreateIconFromResource(ref Byte presbits,ulong 
      dwResSize,ulong fIcon,ulong dwVer) LIBRARY "user32.dll"
      FUNCTION ulong CreateIconIndirect(ref ICONINFO piconinfo) LIBRARY 
      "user32.dll"
      FUNCTION ulong CreateIoCompletionPort(ulong FileHandle,ulong 
      ExistingCompletionPort,ulong CompletionKey,ulong 
      NumberOfConcurrentThreads) LIBRARY "kernel32.dll"
      FUNCTION ulong CreateMailslot(ref string lpName,ulong 
      nMaxMessageSize,ulong lReadTimeout,ref SECURITY_ATTRIBUTES 
      lpSecurityAttributes) LIBRARY "kernel32.dll" ALIAS FOR "CreateMailslotA"
      FUNCTION ulong CreateMDIWindow(ref string lpClassName,ref string 
      lpWindowName,ulong dwStyle,ulong x,ulong y,ulong nWidth,ulong 
      nHeight,ulong hWndParent,ulong hInstance,ulong lParam) LIBRARY 
      "user32.dll" ALIAS FOR "CreateMDIWindowA"
      FUNCTION ulong CreateMenu() LIBRARY "user32.dll"
      FUNCTION ulong CreateMetaFile(ref string lpString) LIBRARY "gdi32.dll" 
      ALIAS FOR "CreateMetaFileA"
      FUNCTION ulong CreateMutex(ref SECURITY_ATTRIBUTES lpMutexAttributes,ulong 
      bInitialOwner,ref string lpName) LIBRARY "kernel32.dll" ALIAS FOR 
      "CreateMutexA"
      FUNCTION ulong CreateNamedPipe(ref string lpName,ulong dwOpenMode,ulong 
      dwPipeMode,ulong nMaxInstances,ulong nOutBufferSize,ulong 
      nInBufferSize,ulong nDefaultTimeOut,ref SECURITY_ATTRIBUTES 
      lpSecurityAttributes) LIBRARY "kernel32.dll" ALIAS FOR "CreateNamedPipeA"
      FUNCTION ulong CreatePalette(ref LOGPALETTE lpLogPalette) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong CreatePatternBrush(ulong hBitmap) LIBRARY "gdi32.dll"
      FUNCTION ulong CreatePen(ulong nPenStyle,ulong nWidth,ulong crColor) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong CreatePenIndirect(ref LOGPEN lpLogPen) LIBRARY "gdi32.dll"
      FUNCTION ulong CreatePipe(ref ulong phReadPipe,ref ulong phWritePipe,ref 
      SECURITY_ATTRIBUTES lpPipeAttributes,ulong nSize) LIBRARY "kernel32.dll"
      FUNCTION ulong CreatePolygonRgn(ref POINTAPI lpPoint,ulong nCount,ulong 
      nPolyFillMode) LIBRARY "gdi32.dll"
      FUNCTION ulong CreatePolyPolygonRgn(ref POINTAPI lpPoint,ref ulong 
      lpPolyCounts,ulong nCount,ulong nPolyFillMode) LIBRARY "gdi32.dll"
      FUNCTION ulong CreatePopupMenu() LIBRARY "user32.dll"
      FUNCTION ulong CreatePrivateObjectSecurity(ref SECURITY_DESCRIPTOR 
      ParentDescriptor,ref SECURITY_DESCRIPTOR CreatorDescriptor,ref 
      SECURITY_DESCRIPTOR NewDescriptor,ulong IsDirectoryObject,ulong Token,ref 
      GENERIC_MAPPING GenericMapping) LIBRARY "advapi32.dll"
      FUNCTION ulong CreateProcess(ref string lpApplicationName,ref string 
      lpCommandLine,ref SECURITY_ATTRIBUTES lpProcessAttributes,ref 
      SECURITY_ATTRIBUTES lpThreadAttributes,ulong bInheritHandles,ulong 
      dwCreationFlags,ref Any lpEnvironment,ref string lpCurrentDriectory,ref 
      STARTUPINFO lpStartupInfo,ref PROCESS_INFORMATION lpProcessInformation) 
      LIBRARY "kernel32.dll" ALIAS FOR "CreateProcessA"
      FUNCTION ulong CreateProcessAsUser(ulong hToken,ref string 
      lpApplicationName,ref string lpCommandLine,SECURITY_ATTRIBUTES 
      lpProcessAttributes,SECURITY_ATTRIBUTES lpThreadAttributes,ulong 
      bInheritHandles,ulong dwCreationFlags,ref string lpEnvironment,ref string 
      lpCurrentDirectory,STARTUPINFO lpStartupInfo,PROCESS_INFORMATION 
      lpProcessInformation) LIBRARY "kernel32.dll" ALIAS FOR 
      "CreateProcessAsUserA"
      FUNCTION ulong CreateRectRgn(ulong X1,ulong Y1,ulong X2,ulong Y2) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong CreateRectRgnIndirect(ref RECT lpRect) LIBRARY "gdi32.dll"
      FUNCTION ulong CreateRemoteThread(ulong hProcess,ref SECURITY_ATTRIBUTES 
      lpThreadAttributes,ulong dwStackSize,ref ulong lpStartAddress,ref Any 
      lpParameter,ulong dwCreationFlags,ref ulong lpThreadId) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong CreateRoundRectRgn(ulong X1,ulong Y1,ulong X2,ulong 
      Y2,ulong X3,ulong Y3) LIBRARY "gdi32.dll"
      FUNCTION ulong CreateScalableFontResource(ulong fHidden,ref string 
      lpszResourceFile,ref string lpszFontFile,ref string lpszCurrentPath) 
      LIBRARY "gdi32.dll" ALIAS FOR "CreateScalableFontResourceA"
      FUNCTION ulong CreateSemaphore(ref SECURITY_ATTRIBUTES 
      lpSemaphoreAttributes,ulong lInitialCount,ulong lMaximumCount,ref string 
      lpName) LIBRARY "kernel32.dll" ALIAS FOR "CreateSemaphoreA"
      FUNCTION ulong CreateService(ulong hSCManager,ref string lpServiceName,ref 
      string lpDisplayName,ulong dwDesiredAccess,ulong dwServiceType,ulong 
      dwStartType,ulong dwErrorControl,ref string lpBinaryPathName,ref string 
      lpLoadOrderGroup,ref ulong lpdwTagId,ref string lpDependencies,ref string 
      lp,ref string lpPassword) LIBRARY "advapi32.dll" ALIAS FOR 
"CreateServiceA"
      FUNCTION ulong CreateSolidBrush(ulong crColor) LIBRARY "gdi32.dll"
      FUNCTION ulong CreateTapePartition(ulong hDevice,ulong 
      dwPartitionMethod,ulong dwCount,ulong dwSize) LIBRARY "kernel32.dll"
      FUNCTION ulong CreateThread(ref SECURITY_ATTRIBUTES 
      lpThreadAttributes,ulong dwStackSize,ref ulong lpStartAddress,ref Any 
      lpParameter,ulong dwCreationFlags,ref ulong lpThreadId) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong CreateWindow(ref string lpClassName,ref string 
      lpWindowName,ulong dwStyle,ulong x,ulong y,ulong nWidth,ulong 
      nHeight,ulong hWndParent,ulong hMenu,ulong hInstance,ref Any lpParam) 
      LIBRARY "user32.dll" ALIAS FOR "CreateWindowA"
      FUNCTION ulong CreateWindowEx(ulong dwExStyle,ref string lpClassName,ref 
      string lpWindowName,ulong dwStyle,ulong x,ulong y,ulong nWidth,ulong 
      nHeight,ulong hWndParent,ulong hMenu,ulong hInstance,ref Any lpParam) 
      LIBRARY "user32.dll"
      FUNCTION ulong DdeAbandonTransaction(ulong idInst,ulong hConv,ulong 
      idTransaction) LIBRARY "user32.dll"
      FUNCTION ulong DdeAccessData(ulong hData,ref ulong pcbDataSize) LIBRARY 
      "user32.dll" ALIAS FOR "DdeAccessDataA"
      FUNCTION ulong DdeAddData(ulong hData,ref Byte pSrc,ulong cb,ulong cbOff) 
      LIBRARY "user32.dll" ALIAS FOR "DdeAddDataA"
      FUNCTION ulong DdeClientTransaction(ref Byte pData,ulong cbData,ulong 
      hConv,ulong hszItem,ulong wFmt,ulong wType,ulong dwTimeout,ref ulong 
      pdwResult) LIBRARY "user32.dll"
      FUNCTION ulong DdeCmpStringHandles(ulong hsz1,ulong hsz2) LIBRARY 
      "user32.dll"
      FUNCTION ulong DdeConnect(ulong idInst,ulong hszService,ulong hszTopic,ref 
      CONVCONTEXT pCC) LIBRARY "user32.dll"
      FUNCTION ulong DdeConnectList(ulong idInst,ulong hszService,ulong 
      hszTopic,ulong hConvList,ref CONVCONTEXT pCC) LIBRARY "user32.dll"
      FUNCTION ulong DdeCreateDataHandle(ulong idInst,ref Byte pSrc,ulong 
      cb,ulong cbOff,ulong hszItem,ulong wFmt,ulong afCmd) LIBRARY "user32.dll"
      FUNCTION ulong DdeCreateStringHandle(ulong idInst,ref string psz,ulong 
      iCodePage) LIBRARY "user32.dll" ALIAS FOR "DdeCreateStringHandleA"
      FUNCTION ulong DdeDisconnect(ulong hConv) LIBRARY "user32.dll"
      FUNCTION ulong DdeDisconnectList(ulong hConvList) LIBRARY "user32.dll"
      FUNCTION ulong DdeEnableCallback(ulong idInst,ulong hConv,ulong wCmd) 
      LIBRARY "user32.dll"
      FUNCTION ulong DdeFreeDataHandle(ulong hData) LIBRARY "user32.dll"
      FUNCTION ulong DdeFreeStringHandle(ulong idInst,ulong hsz) LIBRARY 
      "user32.dll"
      FUNCTION ulong DdeGetData(ulong hData,ref Byte pDst,ulong cbMax,ulong 
      cbOff) LIBRARY "user32.dll" ALIAS FOR "DdeGetDataA"
      FUNCTION ulong DdeGetLastError(ulong idInst) LIBRARY "user32.dll"
      FUNCTION ulong DdeImpersonateClient(ulong hConv) LIBRARY "user32.dll"
      FUNCTION Integer DdeInitialize(ref ulong pidInst,ulong pfnCallback,ulong 
      afCmd,ulong ulRes) LIBRARY "user32.dll" ALIAS FOR "DdeInitializeA"
      FUNCTION ulong DdeKeepStringHandle(ulong idInst,ulong hsz) LIBRARY 
      "user32.dll"
      FUNCTION ulong DdeNameService(ulong idInst,ulong hsz1,ulong hsz2,ulong 
      afCmd) LIBRARY "user32.dll"
      FUNCTION ulong DdePostAdvise(ulong idInst,ulong hszTopic,ulong hszItem) 
      LIBRARY "user32.dll"
      FUNCTION ulong DdeQueryConvInfo(ulong hConv,ulong idTransaction,ref 
      CONVINFO pConvInfo) LIBRARY "user32.dll"
      FUNCTION ulong DdeQueryNextServer(ulong hConvList,ulong hConvPrev) LIBRARY 
      "user32.dll"
      FUNCTION ulong DdeQueryString(ulong idInst,ulong hsz,ref string psz,ulong 
      cchMax,ulong iCodePage) LIBRARY "user32.dll" ALIAS FOR "DdeQueryStringA"
      FUNCTION ulong DdeReconnect(ulong hConv) LIBRARY "user32.dll"
      FUNCTION ulong DdeSetQualityOfService(ulong hWndClient,ref 
      SECURITY_QUALITY_OF_SERVICE pqosNew,ref SECURITY_QUALITY_OF_SERVICE 
      pqosPrev) LIBRARY "user32.dll"
      FUNCTION ulong DdeSetUserHandle(ulong hConv,ulong id,ulong hUser) LIBRARY 
      "user32.dll"
      FUNCTION ulong DdeUnaccessData(ulong hData) LIBRARY "user32.dll" ALIAS FOR 
      "DdeUnaccessDataA"
      FUNCTION ulong DdeUninitialize(ulong idInst) LIBRARY "user32.dll"
      FUNCTION ulong DebugActiveProcess(ulong dwProcessId) LIBRARY 
"kernel32.dll"
      Subroutine DebugBreak() LIBRARY "kernel32.dll"
      FUNCTION ulong DefDlgProc(ulong hDlg,ulong wMsg,ulong wParam,ulong lParam) 
      LIBRARY "user32.dll" ALIAS FOR "DefDlgProcA"
      FUNCTION ulong DefDriverProc(ulong dwDriverIdentifier,ulong hdrvr,ulong 
      uMsg,ulong lParam1,ulong lParam2) LIBRARY "winmm.dll"
      FUNCTION ulong DeferWindowPos(ulong hWinPosInfo,ulong hwnd,ulong 
      hWndInsertAfter,ulong x,ulong y,ulong cx,ulong cy,ulong wFlags) LIBRARY 
      "user32.dll"
      FUNCTION ulong DefFrameProc(ulong hwnd,ulong hWndMDIClient,ulong 
      wMsg,ulong wParam,ulong lParam) LIBRARY "user32.dll" ALIAS FOR 
      "DefFrameProcA"
      FUNCTION ulong DefineDosDevice(ulong dwFlags,ref string lpDeviceName,ref 
      string lpTargetPath) LIBRARY "kernel32.dll" ALIAS FOR "DefineDosDeviceA"
      FUNCTION ulong DefMDIChildProc(ulong hwnd,ulong wMsg,ulong wParam,ulong 
      lParam) LIBRARY "user32.dll" ALIAS FOR "DefMDIChildProcA"
      FUNCTION ulong DefWindowProc(ulong hwnd,ulong wMsg,ulong wParam,ulong 
      lParam) LIBRARY "user32.dll" ALIAS FOR "DefWindowProcA"
      FUNCTION ulong DeleteAce(ref ACL pAcl,ulong dwAceIndex) LIBRARY 
      "advapi32.dll"
      FUNCTION Integer DeleteAtom(Integer nAtom) LIBRARY "kernel32.dll"
      FUNCTION ulong DeleteColorSpace(ulong hcolorspace) LIBRARY "gdi32.dll"
      Subroutine DeleteCriticalSection(ref CRITICAL_SECTION lpCriticalSection) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong DeleteDC(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong DeleteEnhMetaFile(ulong hemf) LIBRARY "gdi32.dll"
      FUNCTION ulong DeleteFile(ref string lpFileName) LIBRARY "kernel32.dll" 
      ALIAS FOR "DeleteFileA"
      FUNCTION ulong DeleteForm(ulong hPrinter,ref string pFormName) LIBRARY 
      "winspool.drv" ALIAS FOR "DeleteFormA"
      FUNCTION ulong DeleteMenu(ulong hMenu,ulong nPosition,ulong wFlags) 
      LIBRARY "user32.dll"
      FUNCTION ulong DeleteMetaFile(ulong hMF) LIBRARY "gdi32.dll"
      FUNCTION ulong DeleteMonitor(ref string pName,ref string pEnvironment,ref 
      string pMonitorName) LIBRARY "winspool.drv" ALIAS FOR "DeleteMonitorA"
      FUNCTION ulong DeleteObject(ulong hObject) LIBRARY "gdi32.dll"
      FUNCTION ulong DeletePort(ref string pName,ulong hwnd,ref string 
      pPortName) LIBRARY "winspool.drv" ALIAS FOR "DeletePortA"
      FUNCTION boolean DeletePrinter(ulong hPrinter) LIBRARY "winspool"
      FUNCTION ulong DeletePrinterConnection(ref string pName) LIBRARY 
      "winspool.drv" ALIAS FOR "DeletePrinterConnectionA"
      FUNCTION ulong DeletePrinterDriver(ref string pName,ref string 
      pEnvironment,ref string pDriverName) LIBRARY "winspool.drv" ALIAS FOR 
      "DeletePrinterDriverA"
      FUNCTION ulong DeletePrintProcessor(ref string pName,ref string 
      pEnvironment,ref string pPrintProcessorName) LIBRARY "winspool.drv" ALIAS 
      FOR "DeletePrintProcessorA"
      FUNCTION ulong DeletePrintProvidor(ref string pName,ref string 
      pEnvironment,ref string pPrintProvidorName) LIBRARY "winspool.drv" ALIAS 
      FOR "DeletePrintProvidorA"
      FUNCTION ulong DeleteService(ulong hService) LIBRARY "advapi32.dll"
      FUNCTION ulong DeregisterEventSource(ulong hEventLog) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong DescribePixelFormat(ulong hDC,ulong n,ulong un,ref 
      PIXELFORMATDESCRIPTOR lpPixelFormatDescriptor) LIBRARY "gdi32.dll"
      FUNCTION ulong DestroyAcceleratorTable(ulong haccel) LIBRARY "user32.dll"
      FUNCTION ulong DestroyCaret() LIBRARY "user32.dll"
      FUNCTION ulong DestroyCursor(ulong hCursor) LIBRARY "user32.dll"
      FUNCTION ulong DestroyIcon(ulong hIcon) LIBRARY "user32.dll"
      FUNCTION ulong DestroyMenu(ulong hMenu) LIBRARY "user32.dll"
      FUNCTION ulong DestroyPrivateObjectSecurity(ref SECURITY_DESCRIPTOR 
      ObjectDescriptor) LIBRARY "advapi32.dll"
      FUNCTION ulong DestroyWindow(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong DeviceCapabilities(ref string lpDeviceName,ref string 
      lpPort,ulong iIndex,ref string lpOutput,ref DEVMODE lpDevMode) LIBRARY 
      "winspool.drv" ALIAS FOR "DeviceCapabilitiesA"
      FUNCTION ulong DeviceIoControl(ulong hDevice,ulong dwIoControlCode,ref Any 
      lpInBuffer,ulong nInBufferSize,ref Any lpOutBuffer,ulong 
      nOutBufferSize,ref ulong lpBytesReturned,ref OVERLAPPED lpOverlapped) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong DialogBoxIndirectParam(ulong hInstance,ref DLGTEMPLATE 
      hDialogTemplate,ulong hWndParent,ulong lpDialogFunc,ulong dwInitParam) 
      LIBRARY "user32.dll" ALIAS FOR "DialogBoxIndirectParamA"
      FUNCTION boolean DisableThreadLibraryCalls(ulong hLibModule) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong DisconnectNamedPipe(ulong hNamedPipe) LIBRARY 
"kernel32.dll"
      FUNCTION ulong DispatchMessage(ref MSG lpMsg) LIBRARY "user32.dll" ALIAS 
      FOR "DispatchMessageA"
      FUNCTION ulong DlgDirList(ulong hDlg,ref string lpPathSpec,ulong 
      nIDListBox,ulong nIDStaticPath,ulong wFileType) LIBRARY "user32.dll" ALIAS 
      FOR "DlgDirListA"
      FUNCTION ulong DlgDirListComboBox(ulong hDlg,ref string lpPathSpec,ulong 
      nIDComboBox,ulong nIDStaticPath,ulong wFileType) LIBRARY "user32.dll" 
      ALIAS FOR "DlgDirListComboBoxA"
      FUNCTION ulong DlgDirSelectComboBoxEx(ulong hWndDlg,ref string 
      lpszPath,ulong cbPath,ulong idComboBox) LIBRARY "user32.dll" ALIAS FOR 
      "DlgDirSelectComboBoxExA"
      FUNCTION ulong DlgDirSelectEx(ulong hWndDlg,ref string lpszPath,ulong 
      cbPath,ulong idListBox) LIBRARY "user32.dll" ALIAS FOR "DlgDirSelectExA"
      FUNCTION ulong DocumentProperties(ulong hwnd,ulong hPrinter,ref string 
      pDeviceName,ref DEVMODE pDevModeOutput,ref DEVMODE pDevModeInput,ulong 
      fMode) LIBRARY "winspool.drv" ALIAS FOR "DocumentPropertiesA"
      FUNCTION ulong DoEnvironmentSubst(ref string szString,ulong cbString) 
      LIBRARY "shell32.dll" ALIAS FOR "DoEnvironmentSubstA"
      FUNCTION ulong DosDateTimeToFileTime(ulong wFatDate,ulong wFatTime,ref 
      FILETIME lpFileTime) LIBRARY "kernel32.dll"
      FUNCTION ulong DPtoLP(ulong hdc,ref POINTAPI lpPoint,ulong nCount) LIBRARY 
      "gdi32.dll"
      Subroutine DragAcceptFiles(ulong hwnd,ulong fAccept) LIBRARY "shell32.dll"
      FUNCTION boolean DragDetect(ulong hWnd,POINTAPI pt) LIBRARY "user32.dll"
      Subroutine DragFinish(ulong hDrop) LIBRARY "shell32.dll"
      FUNCTION ulong DragObject(ulong hWnd1,ulong hWnd2,ulong un,ulong dw,ulong 
      hCursor) LIBRARY "user32.dll"
      FUNCTION ulong DragQueryFile(ulong HDROP,ulong UINT,ref string lpStr,ulong 
      ch) LIBRARY "shell32.dll" ALIAS FOR "DragQueryFileA"
      FUNCTION ulong DragQueryPoint(ulong HDROP,ref POINTAPI lpPoint) LIBRARY 
      "shell32.dll"
      FUNCTION boolean DrawAnimatedRects(ulong hwnd,ulong idAni,ref Rect 
      lprcFrom,ref Rect lprcTo) LIBRARY "user32.dll"
      FUNCTION boolean DrawCaption(ulong hWnd,ulong hDC,ref Rect pcRect,ulong 
      un) LIBRARY "user32.dll"
      FUNCTION boolean DrawEdge(ulong hdc,ref RECT qrc,ulong edge,ulong 
      grfFlags) LIBRARY "user32.dll"
      FUNCTION ulong DrawEscape(ulong hdc,ulong nEscape,ulong cbInput,ref string 
      lpszInData) LIBRARY "gdi32.dll"
      FUNCTION ulong DrawFocusRect(ulong hdc,ref RECT lpRect) LIBRARY 
      "user32.dll"
      FUNCTION boolean DrawFrameControl(ulong hDC,ref RECT lpRect,ulong 
      un1,ulong un2) LIBRARY "user32.dll"
      FUNCTION ulong DrawIcon(ulong hdc,ulong x,ulong y,ulong hIcon) LIBRARY 
      "user32.dll"
      FUNCTION boolean DrawIconEx(ulong hdc,ulong xLeft,ulong yTop,ulong 
      hIcon,ulong cxWidth,ulong cyWidth,ulong istepIfAniCur,ulong 
      hbrFlickerFreeDraw,ulong diFlags) LIBRARY "user32.dll"
      FUNCTION ulong DrawMenuBar(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION boolean DrawState(ulong hDC,ulong hBrush,ulong 
      lpDrawStateProc,ulong lParam,ulong wParam,ulong n1,ulong n2,ulong n3,ulong 
      n4,ulong un) LIBRARY "user32.dll" ALIAS FOR "DrawStateA"
      FUNCTION ulong DrawText(ulong hdc,ref string lpStr,ulong nCount,ref RECT 
      lpRect,ulong wFormat) LIBRARY "user32.dll" ALIAS FOR "DrawTextA"
      FUNCTION ulong DrawTextEx(ulong hDC,ref string lpsz,ulong n,ref RECT 
      lpRect,ulong un,ref DRAWTEXTPARAMS lpDrawTextParams) LIBRARY "user32.dll" 
      ALIAS FOR "DrawTextExA"
      FUNCTION ulong DrvGetModuleHandle(ulong hDriver) LIBRARY "winmm.dll"
      FUNCTION ulong DuplicateHandle(ulong hSourceProcessHandle,ulong 
      hSourceHandle,ulong hTargetProcessHandle,ref ulong lpTargetHandle,ulong 
      dwDesiredAccess,ulong bInheritHandle,ulong dwOptions) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong DuplicateIcon(ulong hInst,ulong hIcon) LIBRARY 
"shell32.dll"
      FUNCTION ulong DuplicateToken(ulong ExistingTokenHandle,ref Integer 
      ImpersonationLevel,ref ulong DuplicateTokenHandle) LIBRARY "advapi32.dll"
      FUNCTION ulong Ellipse(ulong hdc,ulong X1,ulong Y1,ulong X2,ulong Y2) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong EmptyClipboard() LIBRARY "user32.dll"
      FUNCTION ulong EnableMenuItem(ulong hMenu,ulong wIDEnableItem,ulong 
      wEnable) LIBRARY "user32.dll"
      FUNCTION ulong EnableScrollBar(ulong hwnd,ulong wSBflags,ulong wArrows) 
      LIBRARY "user32.dll"
      FUNCTION ulong EnableWindow(ulong hwnd,ulong fEnable) LIBRARY "user32.dll"
      FUNCTION ulong EndDeferWindowPos(ulong hWinPosInfo) LIBRARY "user32.dll"
      FUNCTION ulong EndDialog(ulong hDlg,ulong nResult) LIBRARY "user32.dll"
      FUNCTION ulong EndDoc(ulong hDC) LIBRARY "gdi32.dll"
      FUNCTION ulong EndDoc(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong EndDocPrinter(ulong hPrinter) LIBRARY "winspool.drv"
      FUNCTION ulong EndPage(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong EndPagePrinter(ulong hPrinter) LIBRARY "winspool.drv"
      FUNCTION ulong EndPaint(ulong hwnd,ref PAINTSTRUCT lpPaint) LIBRARY 
      "user32.dll"
      FUNCTION ulong EndPath(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong EndUpdateResource(ulong hUpdate,ulong fDiscard) LIBRARY 
      "kernel32.dll" ALIAS FOR "EndUpdateResourceA"
      Subroutine EnterCriticalSection(ref CRITICAL_SECTION lpCriticalSection) 
      LIBRARY "kernel32.dll"
      FUNCTION boolean EnumCalendarInfo(ulong lpCalInfoEnumProc,ulong 
      Locale,ulong Calendar,ulong CalType) LIBRARY "kernel32.dll" ALIAS FOR 
      "EnumCalendarInfoA"
      FUNCTION boolean EnumChildWindows(ulong hWndParent,ulong lpEnumFunc,ulong 
      lParam) LIBRARY "user32.dll"
      FUNCTION ulong EnumClipboardFormats(ulong wFormat) LIBRARY "user32.dll"
      FUNCTION ulong EnumDateFormats(ulong lpDateFmtEnumProc,ulong Locale,ulong 
      dwFlags) LIBRARY "kernel32.dll"
      FUNCTION ulong EnumDependentServices(ulong hService,ulong 
      dwServiceState,ref ENUM_SERVICE_STATUS lpServices,ulong cbBufSize,ref 
      ulong pcbBytesNeeded,ref ulong lpServicesReturned) LIBRARY "advapi32.dll" 
      ALIAS FOR "EnumDependentServicesA"
      FUNCTION boolean EnumDesktops(ulong hwinsta,ulong lpEnumFunc,ulong lParam) 
      LIBRARY "user32.dll" ALIAS FOR "EnumDesktopsA"
      FUNCTION boolean EnumDesktopWindows(ulong hDesktop,ulong lpfn,ulong 
      lParam) LIBRARY "user32.dll"
      FUNCTION ulong EnumEnhMetaFile(ulong hdc,ulong hemf,ulong 
      lpEnhMetaFunc,ref Any lpData,ref RECT lpRect) LIBRARY "gdi32.dll"
      FUNCTION ulong EnumFontFamilies(ulong hdc,ref string lpszFamily,ulong 
      lpEnumFontFamProc,ulong lParam) LIBRARY "gdi32.dll" ALIAS FOR 
      "EnumFontFamiliesA"
      FUNCTION ulong EnumFontFamiliesEx(ulong hdc,ref LOGFONT lpLogFont,ulong 
      lpEnumFontProc,ulong lParam,ulong dw) LIBRARY "gdi32.dll" ALIAS FOR 
      "EnumFontFamiliesExA"
      FUNCTION ulong EnumFonts(ulong hDC,ref string lpsz,ulong 
      lpFontEnumProc,ulong lParam) LIBRARY "gdi32.dll" ALIAS FOR "EnumFontsA"
      FUNCTION ulong EnumForms(ulong hPrinter,ulong Level,ref Byte pForm,ulong 
      cbBuf,ref ulong pcbNeeded,ref ulong pcReturned) LIBRARY "winspool.drv" 
      ALIAS FOR "EnumFormsA"
      FUNCTION ulong EnumICMProfiles(ulong hdc,ulong icmEnumProc,ulong lParam) 
      LIBRARY "gdi32.dll" ALIAS FOR "EnumICMProfilesA"
      FUNCTION ulong EnumJobs(ulong hPrinter,ulong FirstJob,ulong NoJobs,ulong 
      Level,ref Byte pJob,ulong cdBuf,ref ulong pcbNeeded,ref ulong pcReturned) 
      LIBRARY "winspool.drv" ALIAS FOR "EnumJobsA"
      FUNCTION boolean EnumMetaFile(ulong hDC,ulong hMetafile,ulong 
      lpMFEnumProc,ulong lParam) LIBRARY "gdi32.dll"
      FUNCTION ulong EnumMonitors((ref string pName,ulong Level,ref Byte 
      pMonitors,ulong cbBuf,ref ulong pcbNeeded,ref ulong pcReturned) LIBRARY 
      "winspool.drv" ALIAS FOR "EnumMonitorsA"
      FUNCTION ulong EnumObjects(ulong hDC,ulong n,ulong lpGOBJEnumProc,ref Any 
      lpVoid) LIBRARY "gdi32.dll"
      FUNCTION ulong EnumPorts(ref string pName,ulong Level,ulong lpbPorts,ulong 
      cbBuf,ref ulong pcbNeeded,ref ulong pcReturned) LIBRARY "winspool.drv" 
      ALIAS FOR "EnumPortsA"
      FUNCTION ulong EnumPrinterDrivers(ref string pName,ref string 
      pEnvironment,ulong Level,ref Byte pDriverInfo,ulong cdBuf,ref ulong 
      pcbNeeded,ref ulong pcRetruned) LIBRARY "winspool.drv" ALIAS FOR 
      "EnumPrinterDriversA"
      FUNCTION ulong EnumPrinterPropertySheets(ref ulong hPrinter,ref ulong 
      hwnd,ref ulong lpfnAdd,ulong lParam) LIBRARY "winspool.drv"
      FUNCTION ulong EnumPrinters(ulong flags,ref string name,ulong Level,ref 
      Byte pPrinterEnum,ulong cdBuf,ref ulong pcbNeeded,ref ulong pcReturned) 
      LIBRARY "winspool.drv" ALIAS FOR "EnumPrintersA"
      FUNCTION ulong EnumPrintProcessorDatatypes(ref string pName,ref string 
      pPrintProcessorName,ulong Level,ref Byte pDatatypes,ulong cdBuf,ref ulong 
      pcbNeeded,ref ulong pcRetruned) LIBRARY "winspool.drv" ALIAS FOR 
      "EnumPrintProcessorDatatypesA"
      FUNCTION ulong EnumPrintProcessors(ref string pName,ref string 
      pEnvironment,ulong Level,ref Byte pPrintProcessorInfo,ulong cdBuf,ref 
      ulong pcbNeeded,ref ulong pcReturned) LIBRARY "winspool.drv" ALIAS FOR 
      "EnumPrintProcessorsA"
      FUNCTION ulong EnumProps(ulong hWnd,ulong lpEnumFunc) LIBRARY "user32.dll" 
      ALIAS FOR "EnumPropsA"
      FUNCTION ulong EnumPropsEx(ulong hWnd,ulong lpEnumFunc,ulong lParam) 
      LIBRARY "user32.dll" ALIAS FOR "EnumPropsExA"
      FUNCTION boolean EnumResourceLanguages(ulong hModule,ref string lpType,ref 
      string lpName,ulong lpEnumFunc,ulong lParam) LIBRARY "kernel32.dll" ALIAS 
      FOR "EnumResourceLanguagesA"
      FUNCTION boolean EnumResourceNames(ulong hModule,ref string lpType,ulong 
      lpEnumFunc,ulong lParam) LIBRARY "kernel32.dll" ALIAS FOR 
      "EnumResourceNamesA"
      FUNCTION boolean EnumResourceTypes(ulong hModule,ulong lpEnumFunc,ulong 
      lParam) LIBRARY "kernel32.dll" ALIAS FOR "EnumResourceTypesA"
      FUNCTION ulong EnumServicesStatus(ulong hSCManager,ulong 
      dwServiceType,ulong dwServiceState,ref ENUM_SERVICE_STATUS 
      lpServices,ulong cbBufSize,ref ulong pcbBytesNeeded,ref ulong 
      lpServicesReturned,ref ulong lpResumeHandle) LIBRARY "advapi32.dll" ALIAS 
      FOR "EnumServicesStatusA"
      FUNCTION ulong EnumSystemCodePages(ulong lpCodePageEnumProc,ulong dwFlags) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong EnumSystemLocales(ulong lpLocaleEnumProc,ulong dwFlags) 
      LIBRARY "kernel32.dll"
      FUNCTION boolean EnumThreadWindows(ulong dwThreadId,ulong lpfn,ulong 
      lParam) LIBRARY "user32.dll"
      FUNCTION ulong EnumTimeFormats(ulong lpTimeFmtEnumProc,ulong Locale,ulong 
      dwFlags) LIBRARY "kernel32.dll"
      FUNCTION boolean EnumWindowStations(ulong lpEnumFunc,ulong lParam) LIBRARY 
      "user32.dll" ALIAS FOR "EnumWindowStationsA"
      FUNCTION ulong EqualPrefixSid(ref Any pSid1,ref Any pSid2) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong EqualRect(ref RECT lpRect1,ref RECT lpRect2) LIBRARY 
      "user32.dll"
      FUNCTION ulong EqualRgn(ulong hSrcRgn1,ulong hSrcRgn2) LIBRARY "gdi32.dll"
      FUNCTION ulong EqualSid(ref Any pSid1,ref Any pSid2) LIBRARY 
"advapi32.dll"
      FUNCTION ulong EraseTape(ulong hDevice,ulong dwEraseType,ulong bimmediate) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong Escape(ulong hdc,ulong nEscape,ulong nCount,ref string 
      lpInData,ref Any lpOutData) LIBRARY "gdi32.dll"
      FUNCTION ulong EscapeCommFUNCTION(ulong nCid,ulong nFunc) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong ExcludeClipRect(ulong hdc,ulong X1,ulong Y1,ulong X2,ulong 
      Y2) LIBRARY "gdi32.dll"
      FUNCTION ulong ExcludeUpdateRgn(ulong hdc,ulong hwnd) LIBRARY "user32.dll"
      Subroutine ExitProcess(ulong uExitCode) LIBRARY "kernel32.dll"
      Subroutine ExitThread(ulong dwExitCode) LIBRARY "kernel32.dll"
      FUNCTION ulong ExitWindows(ulong dwReserved,ulong uReturnCode) LIBRARY 
      "user32.dll"
      FUNCTION ulong ExitWindowsEx(ulong uFlags,ulong dwReserved) LIBRARY 
      "user32.dll"
      FUNCTION ulong ExpandEnvironmentStrings(ref string lpSrc,ref string 
      lpDst,ulong nSize) LIBRARY "kernel32.dll" ALIAS FOR 
      "ExpandEnvironmentStringsA"
      FUNCTION ulong ExtCreatePen(ulong dwPenStyle,ulong dwWidth,ref LOGBRUSH 
      lplb,ulong dwStyleCount,ref ulong lpStyle) LIBRARY "gdi32.dll"
      FUNCTION ulong ExtCreateRegion(ref xform lpXform,ulong nCount,ref RGNDATA 
      lpRgnData) LIBRARY "gdi32.dll"
      FUNCTION ulong ExtEscape(ulong hdc,ulong nEscape,ulong cbInput,ref string 
      lpszInData,ulong cbOutput,ref string lpszOutData) LIBRARY "gdi32.dll"
      FUNCTION ulong ExtFloodFill(ulong hdc,ulong x,ulong y,ulong crColor,ulong 
      wFillType) LIBRARY "gdi32.dll"
      FUNCTION ulong ExtractAssociatedIcon(ulong hInst,ref string lpIconPath,ref 
      ulong lpiIcon) LIBRARY "shell32.dll" ALIAS FOR "ExtractAssociateIconA"
      FUNCTION ulong ExtractIcon(ulong hInst,ref string lpszExeFileName,ulong 
      nIconIndex) LIBRARY "shell32.dll" ALIAS FOR "ExtractIconA"
      FUNCTION ulong ExtractIconEx(ref string lpszFile,ulong nIconIndex,ref 
      ulong phiconLarge,ref ulong phiconSmall,ulong nIcons) LIBRARY 
      "shell32.dll" ALIAS FOR "ExtractIconExA"
      FUNCTION ulong ExtSelectClipRgn(ulong hdc,ulong hRgn,ulong fnMode) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong ExtTextOut(ulong hdc,ulong x,ulong y,ulong wOptions,ref 
      Rect lpRect,ref string lpString,ulong nCount,ref ulong lpDx) LIBRARY 
      "gdi32.dll" ALIAS FOR "ExtTextOutA"
      Subroutine FatalAppExit(ulong uAction,ref string lpMessageText) LIBRARY 
      "kernel32.dll" ALIAS FOR "FatalAppExitA"
      Subroutine FatalExit(ulong code) LIBRARY "kernel32.dll"
      FUNCTION ulong FileTimeToDosDateTime(ref FILETIME lpFileTime,ulong 
      lpFatDate,ulong lpFatTime) LIBRARY "kernel32.dll"
      FUNCTION ulong FileTimeToLocalFileTime(ref FILETIME lpFileTime,ref 
      FILETIME lpLocalFileTime) LIBRARY "kernel32.dll"
      FUNCTION ulong FileTimeToSystemTime(ref FILETIME lpFileTime,ref SYSTEMTIME 
      lpSystemTime) LIBRARY "kernel32.dll"
      FUNCTION ulong FillConsoleOutputAttribute(ulong hConsoleOutput,ulong 
      wAttribute,ulong nLength,ref COORD dwWriteCoord,ref ulong 
      lpNumberOfAttrsWritten) LIBRARY "kernel32.dll"
      FUNCTION ulong FillConsoleOutputCharacter(ulong hConsoleOutput,Byte 
      cCharacter,ulong nLength,ref COORD dwWriteCoord,ref ulong 
      lpNumberOfCharsWritten) LIBRARY "kernel32.dll" ALIAS FOR 
      "FillConsoleOutputCharacterA"
      FUNCTION ulong FillPath(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong FillRect(ulong hdc,ref RECT lpRect,ulong hBrush) LIBRARY 
      "user32.dll"
      FUNCTION ulong FillRgn(ulong hdc,ulong hRgn,ulong hBrush) LIBRARY 
      "gdi32.dll"
      FUNCTION Integer FindAtom(ref string lpString) LIBRARY "kernel32.dll" 
      ALIAS FOR "FindAtomA"
      FUNCTION ulong FindClose(ulong hFindFile) LIBRARY "kernel32.dll"
      FUNCTION ulong FindCloseChangeNotification(ulong hChangeHandle) LIBRARY 
      "kernel32.dll"
      FUNCTION boolean FindClosePrinterChangeNotification(ulong hChange) LIBRARY 
      "winspool"
      FUNCTION string FindEnvironmentString(ref string szEnvVar) LIBRARY 
      "shell32.dll" ALIAS FOR "FindEnvironmentStringA"
      FUNCTION ulong FindExecutable(ref string lpFile,ref string lpDirectory,ref 
      string lpResult) LIBRARY "shell32.dll" ALIAS FOR "FindExecutableA"
      FUNCTION ulong FindFirstChangeNotification(ref string lpPathName,ulong 
      bWatchSubtree,ulong dwNotifyFilter) LIBRARY "kernel32.dll" ALIAS FOR 
      "FindFirstChangeNotificationA"
      FUNCTION ulong FindFirstFile(ref string lpFileName,ref WIN32_FIND_DATA 
      lpFindFileData) LIBRARY "kernel32.dll" ALIAS FOR "FindFirstFileA"
      FUNCTION ulong FindFirstFreeAce(ref ACL pAcl,ref ulong pAce) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong FindFirstPrinterChangeNotification(ulong hPrinter,ulong 
      fdwFlags,ulong fdwOptions,ref string pPrinterNotifyOptions) LIBRARY 
      "winspool"
      FUNCTION ulong FindNextChangeNotification(ulong hChangeHandle) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong FindNextFile(ulong hFindFile,ref WIN32_FIND_DATA 
      lpFindFileData) LIBRARY "kernel32.dll" ALIAS FOR "FindNextFileA"
      FUNCTION boolean FindNextPrinterChangeNotification(ulong hChange,ref ulong 
      pdwChange,ref string pvReserved,ulong ppPrinterNotifyInfo) LIBRARY 
      "winspool"
      FUNCTION ulong FindResource(ulong hInstance,ref string lpName,ref string 
      lpType) LIBRARY "kernel32.dll" ALIAS FOR "FindResourceA"
      FUNCTION ulong FindResourceEx(ulong hModule,ref string lpType,ref string 
      lpName,ulong wLanguage) LIBRARY "kernel32.dll" ALIAS FOR "FindResourceExA"
      FUNCTION ulong FindText(ref FINDREPLACE pFindreplace) LIBRARY 
      "comdlg32.dll" ALIAS FOR "FindTextA
      FUNCTION ulong FindWindow(ref string lpClassName,ref string lpWindowName) 
      LIBRARY "user32.dll" ALIAS FOR "FindWindowA"
      FUNCTION ulong FindWindowEx(ulong hWnd1,ulong hWnd2,ref string lpsz1,ref 
      string lpsz2) LIBRARY "user32.dll" ALIAS FOR "FindWindowExA"
      FUNCTION boolean FixBrushOrgEx(ulong hDC,ulong n1,ulong n2,ref POINTAPI 
      lpPoint) LIBRARY "gdi32.dll"
      FUNCTION ulong FlashWindow(ulong hwnd,ulong bInvert) LIBRARY "user32.dll"
      FUNCTION ulong FlattenPath(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong FloodFill(ulong hdc,ulong x,ulong y,ulong crColor) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong FlushConsoleInputBuffer(ulong hConsoleInput) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong FlushFileBuffers(ulong hFile) LIBRARY "kernel32.dll"
      FUNCTION ulong FlushInstructionCache(ulong hProcess,ref Any 
      lpBaseAddress,ulong dwSize) LIBRARY "kernel32.dll"
      FUNCTION ulong FlushViewOfFile(ref Any lpBaseAddress,ulong 
      dwNumberOfBytesToFlush) LIBRARY "kernel32.dll"
      FUNCTION ulong FoldString(ulong dwMapFlags,ref string lpSrcStr,ulong 
      cchSrc,ref string lpDestStr,ulong cchDest) LIBRARY "kernel32.dll" ALIAS 
      FOR "FoldStringA"
      FUNCTION ulong FormatMessage(ulong dwFlags,ref Any lpSource,ulong 
      dwMessageId,ulong dwLanguageId,ref string lpBuffer,ulong nSize,ref ulong 
      Arguments) LIBRARY "kernel32.dll" ALIAS FOR "FormatMessageA"
      FUNCTION ulong FrameRect(ulong hdc,ref RECT lpRect,ulong hBrush) LIBRARY 
      "user32.dll"
      FUNCTION ulong FrameRgn(ulong hdc,ulong hRgn,ulong hBrush,ulong 
      nWidth,ulong nHeight) LIBRARY "gdi32.dll"
      FUNCTION ulong FreeConsole() LIBRARY "kernel32.dll"
      FUNCTION ulong FreeDDElParam(ulong msg,ulong lParam) LIBRARY "user32.dll"
      FUNCTION boolean FreeEnvironmentStrings(ref string lpsz) LIBRARY 
      "kernel32.dll" ALIAS FOR "FreeEnvironmentStringsA"
      FUNCTION ulong FreeLibrary(ulong hLibModule) LIBRARY "kernel32.dll"
      Subroutine FreeLibraryAndExitThread(ulong hLibModule,ulong dwExitCode) 
      LIBRARY "kernel32.dll"
      FUNCTION boolean FreeResource(ulong hResData) LIBRARY "kernel32.dll"
      Subroutine FreeSid(ref Any pSid) LIBRARY "advapi32.dll"
      FUNCTION ulong GdiComment(ulong hdc,ulong cbSize,ref Byte lpData) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong GdiFlush() LIBRARY "gdi32.dll"
      FUNCTION ulong GdiGetBatchLimit() LIBRARY "gdi32.dll"
      FUNCTION ulong GdiSetBatchLimit(ulong dwLimit) LIBRARY "gdi32.dll"
      FUNCTION ulong GenerateConsoleCtrlEvent(ulong dwCtrlEvent,ulong 
      dwProcessGroupId) LIBRARY "kernel32.dll"
      FUNCTION ulong GetAce(ref ACL pAcl,ulong dwAceIndex,ref Any pAce) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong GetAclInformation(ref ACL pAcl,ref Any 
      pAclInformation,ulong nAclInformationLength,Integer dwAclInformationClass) 
      LIBRARY "advapi32.dll"
      FUNCTION ulong GetACP() LIBRARY "kernel32.dll"
      FUNCTION ulong GetActiveWindow() LIBRARY "user32.dll"
      FUNCTION ulong GetArcDirection(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetAspectRatioFilterEx(ulong hdc,ref SIZE lpAspectRatio) 
      LIBRARY "gdi32.dll"
      FUNCTION Integer GetAsyncKeyState(ulong vKey) LIBRARY "user32.dll"
      FUNCTION ulong GetAtomName(Integer nAtom,ref string lpBuffer,ulong nSize) 
      LIBRARY "kernel32.dll" ALIAS FOR "GetAtomNameA"
      FUNCTION ulong GetBinaryType(ref string lpApplicationName,ref ulong 
      lpBinaryType) LIBRARY "kernel32.dll" ALIAS FOR "GetBinaryTypeA"
      FUNCTION ulong GetBitmapBits(ulong hBitmap,ulong dwCount,ref Any lpBits) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong GetBitmapDimensionEx(ulong hBitmap,ref SIZE lpDimension) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong GetBkColor(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetBkMode(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetBoundsRect(ulong hdc,ref RECT lprcBounds,ulong flags) 
      LIBRARY "gdi32.dll"
      FUNCTION boolean GetBrushOrgEx(ulong hDC,ref POINTAPI lpPoint) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong GetCapture() LIBRARY "user32.dll"
      FUNCTION ulong GetCaretBlinkTime() LIBRARY "user32.dll"
      FUNCTION ulong GetCaretPos(ref POINTAPI lpPoint) LIBRARY "user32.dll"
      FUNCTION ulong GetCharABCWidths(ulong hdc,ulong uFirstChar,ulong 
      uLastChar,ref ABC lpabc) LIBRARY "gdi32.dll" ALIAS FOR "GetCharABCWidthsA"
      FUNCTION ulong GetCharABCWidthsFloat(ulong hdc,ulong iFirstChar,ulong 
      iLastChar,ref ABCFLOAT lpABCF) LIBRARY "gdi32.dll" ALIAS FOR 
      "GetCharABCWidthsFloatA"
      FUNCTION ulong GetCharacterPlacement(ulong hdc,ref string lpsz,ulong 
      n1,ulong n2,ref GCP_RESULTS lpGcpResults,ulong dw) LIBRARY "gdi32.dll" 
      ALIAS FOR "
      FUNCTION boolean GetCharWidth(ulong hDC,ulong un1,ulong un2,ref ulong lpn) 
      LIBRARY "gdi32.dll" ALIAS FOR "GetCharWidthA"
      FUNCTION ulong GetCharWidth32(ulong hdc,ulong iFirstChar,ulong 
      iLastChar,ref ulong lpBuffer) LIBRARY "gdi32.dll" ALIAS FOR 
      "GetCharWidth32A"
      FUNCTION ulong GetCharWidthFloat(ulong hdc,ulong iFirstChar,ulong 
      iLastChar,ref Double pxBuffer) LIBRARY "gdi32.dll" ALIAS FOR 
      "GetCharWidthFloatA"
      FUNCTION ulong GetClassInfo(ulong hInstance,ref string lpClassName,ref 
      WNDCLASS lpWndClass) LIBRARY "user32.dll" ALIAS FOR "GetClassInfoA"
      FUNCTION ulong GetClassulong(ulong hwnd,ulong nIndex) LIBRARY "user32.dll" 
      ALIAS FOR "GetClassLongA"
      FUNCTION ulong GetClassName(ulong hwnd,ref string lpClassName,ulong 
      nMaxCount) LIBRARY "user32.dll" ALIAS FOR "GetClassNameA"
      FUNCTION ulong GetClassWord(ulong hwnd,ulong nIndex) LIBRARY "user32.dll"
      FUNCTION ulong GetClientRect(ulong hwnd,ref RECT lpRect) LIBRARY 
      "user32.dll"
      FUNCTION ulong GetClipboardData(ulong wFormat) LIBRARY "user32.dll" ALIAS 
      FOR "GetClipboardDataA"
      FUNCTION ulong GetClipboardFormatName(ulong wFormat,ref string 
      lpString,ulong nMaxCount) LIBRARY "user32.dll" ALIAS FOR 
      "GetClipboardFormatNameA"
      FUNCTION ulong GetClipboardOwner() LIBRARY "user32.dll"
      FUNCTION ulong GetClipboardViewer() LIBRARY "user32.dll"
      FUNCTION ulong GetClipBox(ulong hdc,ref RECT lpRect) LIBRARY "gdi32.dll"
      FUNCTION ulong GetClipCursor(ref RECT lprc) LIBRARY "user32.dll"
      FUNCTION ulong GetClipRgn(ulong hdc,ulong hRgn) LIBRARY "gdi32.dll"
      FUNCTION ulong GetColorAdjustment(ulong hdc,ref COLORADJUSTMENT lpca) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong GetColorSpace(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION string GetCommandLine() LIBRARY "kernel32.dll" ALIAS FOR 
      "GetCommandLineA"
      FUNCTION boolean GetCommConfig(ulong hCommDev,ref COMMCONFIG lpCC,ref 
      ulong lpdwSize) LIBRARY "kernel32.dll"
      FUNCTION ulong GetCommMask(ulong hFile,ref ulong lpEvtMask) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetCommModemStatus(ulong hFile,ref ulong lpModemStat) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GetCommProperties(ulong hFile,ref COMMPROP lpCommProp) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GetCommState(ulong nCid,ref DCB lpDCB) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetCommTimeouts(ulong hFile,ref COMMTIMEOUTS 
      lpCommTimeouts) LIBRARY "kernel32.dll"
      FUNCTION ulong GetCompressedFileSize(ref string lpFileName,ref ulong 
      lpFileSizeHigh) LIBRARY "kernel32.dll" ALIAS FOR "GetCompressedFileSizeA"
      FUNCTION ulong GetComputerName(ref string lpBuffer,ref ulong nSize) 
      LIBRARY "kernel32.dll" ALIAS FOR "GetComputerNameA"
      FUNCTION ulong GetConsoleCP() LIBRARY "kernel32.dll"
      FUNCTION ulong GetConsoleCursorInfo(ulong hConsoleOutput,ref 
      CONSOLE_CURSOR_INFO lpConsoleCursorInfo) LIBRARY "kernel32.dll"
      FUNCTION ulong GetConsoleMode(ulong hConsoleHandle,ref ulong lpMode) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GetConsoleOutputCP() LIBRARY "kernel32.dll"
      FUNCTION ulong GetConsoleScreenBufferInfo(ulong hConsoleOutput,ref 
      CONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetConsoleTitle(ref string lpConsoleTitle,ulong nSize) 
      LIBRARY "kernel32.dll" ALIAS FOR "GetConsoleTitleA"
      FUNCTION ulong GetCPInfo(ulong CodePage,ref CPINFO lpCPInfo) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetCurrencyFormat(ulong Locale,ulong dwFlags,ref string 
      lpValue,ref CURRENCYFMT lpFormat,ref string lpCurrencyStr,ulong 
      cchCurrency) LIBRARY "kernel32.dll" ALIAS FOR "GetCurrencyFormatA"
      FUNCTION ulong GetCurrentDirectory(ulong nBufferLength,ref string 
      lpBuffer) LIBRARY "kernel32.dll"
      FUNCTION ulong GetCurrentObject(ulong hdc,ulong uObjectType) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong GetCurrentPositionEx(ulong hdc,ref POINTAPI lpPoint) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong GetCurrentProcess() LIBRARY "kernel32.dll"
      FUNCTION ulong GetCurrentProcessId() LIBRARY "kernel32.dll"
      FUNCTION ulong GetCurrentThread() LIBRARY "kernel32.dll"
      FUNCTION ulong GetCurrentThreadId() LIBRARY "kernel32.dll"
      FUNCTION ulong GetCursor() LIBRARY "user32.dll"
      FUNCTION ulong GetCursorPos(ref POINTAPI lpPoint) LIBRARY "user32.dll"
      FUNCTION ulong GetDateFormat(ulong Locale,ulong dwFlags,ref SYSTEMTIME 
      lpDate,ref string lpFormat,ref string lpDateStr,ulong cchDate) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetDateFormatA"
      FUNCTION ulong GetDC(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong GetDCEx(ulong hwnd,ulong hrgnclip,ulong fdwOptions) LIBRARY 
      "user32.dll"
      FUNCTION ulong GetDCOrgEx(ulong hdc,ref POINTAPI lpPoint) LIBRARY 
      "gdi32.dll"
      FUNCTION boolean GetDefaultCommConfig(ref string lpszName,ref COMMCONFIG 
      lpCC,ref ulong lpdwSize) LIBRARY "kernel32.dll" ALIAS FOR 
      "GetDefaultCommConfigA"
      FUNCTION ulong GetDesktopWindow() LIBRARY "user32.dll"
      FUNCTION ulong GetDeviceCaps(ulong hdc,ulong nIndex) LIBRARY "gdi32.dll"
      FUNCTION ulong GetDeviceGammaRamp(ulong hdc,ref Any lpv) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong GetDialogBaseUnits() LIBRARY "user32.dll"
      FUNCTION ulong GetDIBColorTable(ulong hDC,ulong un1,ulong un2,ref RGBQUAD 
      pRGBQuad) LIBRARY "gdi32.dll"
      FUNCTION ulong GetDIBits(ulong aHDC,ulong hBitmap,ulong nStartScan,ulong 
      nNumScans,ref Any lpBits,ref BITMAPINFO lpBI,ulong wUsage) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong GetDiskFreeSpace(ref string lpRootPathName,ref ulong 
      lpSectorsPerCluster,ref ulong lpBytesPerSector,ref ulong 
      lpNumberOfFreeClusters,ref ulong lpTtoalNumberOfClusters) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetDiskFreeSpaceA"
      FUNCTION ulong GetDlgCtrlID(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong GetDlgItem(ulong hDlg,ulong nIDDlgItem) LIBRARY 
"user32.dll"
      FUNCTION ulong GetDlgItemInt(ulong hDlg,ulong nIDDlgItem,ulong 
      lpTranslated,ulong bSigned) LIBRARY "user32.dll"
      FUNCTION ulong GetDlgItemText(ulong hDlg,ulong nIDDlgItem,ref string 
      lpString,ulong nMaxCount) LIBRARY "user32.dll" ALIAS FOR "GetDlgItemTextA"
      FUNCTION ulong GetDoubleClickTime() LIBRARY "user32.dll"
      FUNCTION ulong GetDriverModuleHandle(ulong hDriver) LIBRARY "winmm.dll"
      FUNCTION ulong GetDriveType(ref string nDrive) LIBRARY "kernel32.dll" 
      ALIAS FOR "GetDriveTypeA"
      FUNCTION ulong GetEnhMetaFile(ref string lpszMetaFile) LIBRARY "gdi32.dll" 
      ALIAS FOR "GetEnhMetaFileA"
      FUNCTION ulong GetEnhMetaFileBits(ulong hemf,ulong cbBuffer,ref Byte 
      lpbBuffer) LIBRARY "gdi32.dll"
      FUNCTION ulong GetEnhMetaFileDescription(ulong hemf,ulong cchBuffer,ref 
      string lpszDescription) LIBRARY "gdi32.dll" ALIAS FOR 
      "GetEnhMetaFileDescriptionA"
      FUNCTION ulong GetEnhMetaFileHeader(ulong hemf,ulong cbBuffer,ref 
      ENHMETAHEADER lpemh) LIBRARY "gdi32.dll"
      FUNCTION ulong GetEnhMetaFilePaletteEntries(ulong hemf,ulong cEntries,ref 
      PALETTEENTRY lppe) LIBRARY "gdi32.dll"
      FUNCTION string GetEnvironmentStrings() LIBRARY "kernel32.dll" ALIAS FOR 
      "GetEnvironmentStringsA"
      FUNCTION ulong GetEnvironmentVariable(ref string lpName,ref string 
      lpBuffer,ulong nSize) LIBRARY "kernel32.dll" ALIAS FOR 
      "GetEnvironmentVariableA"
      FUNCTION ulong GetExitCodeProcess(ulong hProcess,ref ulong lpExitCode) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GetExitCodeThread(ulong hThread,ref ulong lpExitCode) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GetExpandedName(ref string lpszSource,ref string 
      lpszBuffer) LIBRARY "lz32.dll" ALIAS FOR "GetExpandedNameA"
      FUNCTION ulong GetFileAttributes(ref string lpFileName) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetFileAttributesA"
      FUNCTION ulong GetFileInformationByHandle(ulong hFile,ref 
      BY_HANDLE_FILE_INFORMATION lpFileInformation) LIBRARY "kernel32.dll"
      FUNCTION ulong GetFileSecurity(ref string lpFileName,ulong 
      RequestedInformation,ref SECURITY_DESCRIPTOR pSecurityDescriptor,ulong 
      nLength,ref ulong lpnLengthNeeded) LIBRARY "advapi32.dll" ALIAS FOR 
      "GetFileSecurityA"
      FUNCTION ulong GetFileSize(ulong hFile,ref ulong lpFileSizeHigh) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetFileTime(ulong hFile,ref FILETIME lpCreationTime,ref 
      FILETIME lpLastAccessTime,ref FILETIME lpLastWriteTime) LIBRARY 
      "kernel32.dll"
      FUNCTION Integer GetFileTitle(ref string lpszFile,ref string 
      lpszTitle,Integer cbBuf) LIBRARY "comdlg32.dll" ALIAS FOR "GetFileTitleA"
      FUNCTION ulong GetFileType(ulong hFile) LIBRARY "kernel32.dll"
      FUNCTION ulong GetFileVersionInfo(ref string lptstrFilename,ulong 
      dwHandle,ulong dwLen,ref Any lpData) LIBRARY "version.dll" ALIAS FOR 
      "GetFileVersionInfoA"
      FUNCTION ulong GetFileVersionInfoSize(ref string lptstrFilename,ref ulong 
      lpdwHandle) LIBRARY "version.dll" ALIAS FOR "GetFileVersionInfoSizeA"
      FUNCTION ulong GetFocus() LIBRARY "user32.dll"
      FUNCTION ulong GetFontData(ulong hdc,ulong dwTable,ulong dwOffset,ref Any 
      lpvBuffer,ulong cbData) LIBRARY "gdi32.dll" ALIAS FOR "GetFontDataA"
      FUNCTION ulong GetFontLanguageInfo(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetForegroundWindow() LIBRARY "user32.dll"
      FUNCTION ulong GetForm(ulong hPrinter,ref string pFormName,ulong Level,ref 
      Byte pForm,ulong cbBuf,ref ulong pcbNeeded) LIBRARY "winspool.drv" ALIAS 
      FOR "GetFormA"
      FUNCTION ulong GetFullPathName(ref string lpFileName,ulong 
      nBufferLength,ref string lpBuffer,ref string lpFilePart) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetFullPathNameA"
      FUNCTION ulong GetGlyphOutline(ulong hdc,ulong uChar,ulong fuFormat,ref 
      GLYPHMETRICS lpgm,ulong cbBuffer,ref Any lpBuffer,ref MAT2 lpmat2) LIBRARY 
      "gdi32.dll" ALIAS FOR "GetGlyphOutlineA"
      FUNCTION ulong GetGraphicsMode(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION boolean GetHandleInformation(ulong hObject,ref ulong lpdwFlags) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GetICMProfile(ulong hdc,ulong dw,ref string lpStr) LIBRARY 
      "gdi32.dll" ALIAS FOR "GetICMProfileA"
      FUNCTION ulong GetIconInfo(ulong hIcon,ref ICONINFO piconinfo) LIBRARY 
      "user32.dll"
      FUNCTION ulong GetInputState() LIBRARY "user32.dll"
      FUNCTION ulong GetJob(ulong hPrinter,ulong JobId,ulong Level,ref Byte 
      pJob,ulong cdBuf,ref ulong pcbNeeded) LIBRARY "winspool.drv" ALIAS FOR 
      "GetJobA"
      FUNCTION ulong GetKBCodePage() LIBRARY "user32.dll"
      FUNCTION ulong GetKernelObjectSecurity(ulong Handle,ulong 
      RequestedInformation,ref SECURITY_DESCRIPTOR pSecurityDescriptor,ulong 
      nLength,ref ulong lpnLengthNeeded) LIBRARY "advapi32.dll"
      FUNCTION ulong GetKerningPairs(ulong hdc,ulong cPairs,ref KERNINGPAIR 
      lpkrnpair) LIBRARY "gdi32.dll" ALIAS FOR "GetKerningPairsA"
      FUNCTION ulong GetKeyboardLayout(ulong dwLayout) LIBRARY "user32.dll"
      FUNCTION ulong GetKeyboardLayoutList(ulong nBuff,ref ulong lpList) LIBRARY 
      "user32.dll"
      FUNCTION ulong GetKeyboardLayoutName(ref string pwszKLID) LIBRARY 
      "user32.dll" ALIAS FOR "GetKeyboardLayoutNameA"
      FUNCTION ulong GetKeyboardState(ref Byte pbKeyState) LIBRARY "user32.dll"
      FUNCTION ulong GetKeyboardType(ulong nTypeFlag) LIBRARY "user32.dll"
      FUNCTION ulong GetKeyNameText(ulong lParam,ref string lpBuffer,ulong 
      nSize) LIBRARY "user32.dll" ALIAS FOR "GetKeyNameTextA"
      FUNCTION Integer GetKeyState(ulong nVirtKey) LIBRARY "user32.dll"
      FUNCTION COORD GetLargestConsoleWindowSize(ulong hConsoleOutput) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetLastActivePopup(ulong hwndOwnder) LIBRARY "user32.dll"
      FUNCTION ulong GetLastError() LIBRARY "kernel32.dll"
      FUNCTION ulong GetLengthSid(ref Any pSid) LIBRARY "advapi32.dll"
      FUNCTION ulong GetLocaleInfo(ulong Locale,ulong LCType,ref string 
      lpLCData,ulong cchData) LIBRARY "kernel32.dll" ALIAS FOR "GetLocaleInfoA"
      Subroutine GetLocalTime(ref SYSTEMTIME lpSystemTime) LIBRARY 
"kernel32.dll"
      FUNCTION ulong GetLogColorSpace(ulong hcolorspace,LOGCOLORSPACE 
      lplogcolorspace,ulong dw) LIBRARY "gdi32.dll" ALIAS FOR 
"GetLogColorSpaceA"
      FUNCTION ulong GetLogicalDrives() LIBRARY "kernel32.dll"
      FUNCTION ulong GetLogicalDriveStrings(ulong nBufferLength,ref string 
      lpBuffer) LIBRARY "kernel32.dll" ALIAS FOR "GetLogicalDriveStringsA"
      FUNCTION ulong GetMailslotInfo(ulong hMailslot,ref ulong 
      lpMaxMessageSize,ref ulong lpNextSize,ref ulong lpMessageCount,ref ulong 
      lpReadTimeout) LIBRARY "kernel32.dll"
      FUNCTION ulong GetMapMode(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetMenu(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong GetMenuCheckMarkDimensions() LIBRARY "user32.dll"
      FUNCTION ulong GetMenuContextHelpId(ulong hMenu) LIBRARY "user32.dll"
      FUNCTION ulong GetMenuDefaultItem(ulong hMenu,ulong fByPos,ulong 
      gmdiFlags) LIBRARY "user32.dll"
      FUNCTION ulong GetMenuItemCount(ulong hMenu) LIBRARY "user32.dll"
      FUNCTION ulong GetMenuItemID(ulong hMenu,ulong nPos) LIBRARY "user32.dll"
      FUNCTION boolean GetMenuItemInfo(ulong hMenu,ulong un,boolean b,ref 
      MENUITEMINFO lpMenuItemInfo) LIBRARY "user32.dll" ALIAS FOR 
      "GetMenuItemInfoA"
      FUNCTION boolean GetMenuItemRect(ulong hWnd,ulong hMenu,ulong uItem,ref 
      RECT lprcItem) LIBRARY "user32.dll"
      FUNCTION ulong GetMenuState(ulong hMenu,ulong wID,ulong wFlags) LIBRARY 
      "user32.dll"
      FUNCTION ulong GetMenuString(ulong hMenu,ulong wIDItem,ref string 
      lpString,ulong nMaxCount,ulong wFlag) LIBRARY "user32.dll" ALIAS FOR 
      "GetMenuStringA"
      FUNCTION ulong GetMessage(ref MSG lpMsg,ulong hwnd,ulong 
      wMsgFilterMin,ulong wMsgFilterMax) LIBRARY "user32.dll" ALIAS FOR 
      "GetMessageA"
      FUNCTION ulong GetMessageExtraInfo() LIBRARY "user32.dll"
      FUNCTION ulong GetMessagePos() LIBRARY "user32.dll"
      FUNCTION ulong GetMessageTime() LIBRARY "user32.dll"
      FUNCTION ulong GetMetaFile(ref string lpFileName) LIBRARY "gdi32.dll" 
      ALIAS FOR "GetMetaFileA"
      FUNCTION ulong GetMetaFileBitsEx(ulong hMF,ulong nSize,ref Any lpvData) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong GetMetaRgn(ulong hdc,ulong hRgn) LIBRARY "gdi32.dll"
      FUNCTION ulong GetMiterLimit(ulong hdc,ref Double peLimit) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong GetModuleFileName(ulong hModule,ref string lpFileName,ulong 
      nSize) LIBRARY "kernel32.dll" ALIAS FOR "GetModuleFileNameA"
      FUNCTION ulong GetModuleHandle(ref string lpModuleName) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetModuleHandleA"
      FUNCTION ulong GetNamedPipeHandleState(ulong hNamedPipe,ref ulong 
      lpState,ref ulong lpCurInstances,ref ulong lpMaxCollectionCount,ref ulong 
      lpCollectDataTimeout,ref string lpUserName,ulong nMaxUserNameSize) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetNamedPipeHandleStateA"
      FUNCTION ulong GetNamedPipeInfo(ulong hNamedPipe,ref ulong lpFlags,ref 
      ulong lpOutBufferSize,ref ulong lpInBufferSize,ref ulong lpMaxInstances) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GetNearestColor(ulong hdc,ulong crColor) LIBRARY 
"gdi32.dll"
      FUNCTION ulong GetNearestPaletteIndex(ulong hPalette,ulong crColor) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong GetNextDlgGroupItem(ulong hDlg,ulong hCtl,ulong bPrevious) 
      LIBRARY "user32.dll"
      FUNCTION ulong GetNextDlgTabItem(ulong hDlg,ulong hCtl,ulong bPrevious) 
      LIBRARY "user32.dll"
      FUNCTION ulong GetNextWindow(ulong hwnd,ulong wFlag) LIBRARY "user32.dll"
      FUNCTION ulong GetNumberFormat(ulong Locale,ulong dwFlags,ref string 
      lpValue,ref NUMBERFMT lpFormat,ref string lpNumberStr,ulong cchNumber) 
      LIBRARY "kernel32.dll" ALIAS FOR "GetNumberFormatA"
      FUNCTION ulong GetNumberOfConsoleInputEvents(ulong hConsoleInput,ref ulong 
      lpNumberOfEvents) LIBRARY "kernel32.dll"
      FUNCTION ulong GetNumberOfConsoleMouseButtons(ref ulong 
      lpNumberOfMouseButtons) LIBRARY "kernel32.dll"
      FUNCTION ulong GetNumberOfEventLogRecords(ulong hEventLog,ref ulong 
      NumberOfRecords) LIBRARY "advapi32.dll"
      FUNCTION ulong GetObject(ulong hObject,ulong nCount,ref Any lpObject) 
      LIBRARY "gdi32.dll" ALIAS FOR "GetObjectA"
      FUNCTION ulong GetObjectType(ulong hgdiobj) LIBRARY "gdi32.dll"
      FUNCTION ulong GetOEMCP() LIBRARY "kernel32.dll"
      FUNCTION ulong GetOldestEventLogRecord(ulong hEventLog,ref ulong 
      OldestRecord) LIBRARY "advapi32.dll"
      FUNCTION ulong GetOpenClipboardWindow() LIBRARY "user32.dll"
      FUNCTION ulong GetOpenFileName(ref OPENFILENAME pOpenfilename) LIBRARY 
      "comdlg32.dll" ALIAS FOR "GetOpenFileNameA"
      FUNCTION ulong GetOutlineTextMetrics(ulong hdc,ulong cbData,ref 
      OUTLINETEXTMETRIC lpotm) LIBRARY "gdi32.dll" ALIAS FOR 
      "GetOutlineTextMetricsA"
      FUNCTION ulong GetOverlappedResult(ulong hFile,ref OVERLAPPED 
      lpOverlapped,ref ulong lpNumberOfBytesTransferred,ulong bWait) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetPaletteEntries(ulong hPalette,ulong wStartIndex,ulong 
      wNumEntries,ref PALETTEENTRY lpPaletteEntries) LIBRARY "gdi32.dll"
      FUNCTION ulong GetParent(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong GetPath(ulong hdc,ref POINTAPI lpPoint,ref Byte 
      lpTypes,ulong nSize) LIBRARY "gdi32.dll"
      FUNCTION ulong GetPixel(ulong hdc,ulong x,ulong y) LIBRARY "gdi32.dll"
      FUNCTION ulong GetPixelFormat(ulong hDC) LIBRARY "gdi32.dll"
      FUNCTION ulong GetPolyFillMode(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION boolean GetPrinter(ulong hPrinter,ulong Level,ref Byte 
      pPrinter,ulong cbBuf,ref ulong pcbNeeded) LIBRARY "winspool" ALIAS FOR 
      "GetPrinterA"
      FUNCTION ulong GetPrinterData(ulong hPrinter,ref string pValueName,ref 
      ulong pType,ref Byte pData,ulong nSize,ref ulong pcbNeeded) LIBRARY 
      "winspool.drv" ALIAS FOR "GetPrinterDataA"
      FUNCTION ulong GetPrinterDriver(ulong hPrinter,ref string 
      pEnvironment,ulong Level,ref Byte pDriverInfo,ulong cdBuf,ref ulong 
      pcbNeeded) LIBRARY "winspool.drv" ALIAS FOR "GetPrinterDriverA"
      FUNCTION ulong GetPrinterDriverDirectory(ref string pName,ref string 
      pEnvironment,ulong Level,ref Byte pDriverDirectory,ulong cdBuf,ref ulong 
      pcbNeeded) LIBRARY "winspool.drv" ALIAS FOR "GetPrinterDriverDirectoryA"
      FUNCTION ulong GetPrintProcessorDirectory(ref string pName,ref string 
      pEnvironment,ulong Level,ref string pPrintProcessorInfo,ulong cdBuf,ref 
      ulong pcbNeeded) LIBRARY "winspool.drv" ALIAS FOR 
      "GetPrintProcessorDirectoryA"
      FUNCTION ulong GetPriorityClass(ulong hProcess) LIBRARY "kernel32.dll"
      FUNCTION ulong GetPriorityClipboardFormat(ref ulong lpPriorityList,ulong 
      nCount) LIBRARY "user32.dll"
      FUNCTION ulong GetPrivateObjectSecurity(ref SECURITY_DESCRIPTOR 
      ObjectDescriptor,ulong SecurityInformation,ref SECURITY_DESCRIPTOR 
      ResultantDescriptor,ulong DescriptorLength,ref ulong ReturnLength) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong GetPrivateProfileInt(ref string lpApplicationName,ref 
      string lpKeyName,ulong nDefault,ref string lpFileName) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetPrivateProfileIntA"
      FUNCTION ulong GetPrivateProfileSection(ref string lpAppName,ref string 
      lpReturnedString,ulong nSize,ref string lpFileName) LIBRARY "kernel32.dll" 
      ALIAS FOR "GetPrivateProfileSectionA"
      FUNCTION ulong GetPrivateProfileString(ref string lpApplicationName,Any 
      lpKeyName,ref string lpDefault,ref string lpReturnedString,ulong nSize,ref 
      string lpFileName) LIBRARY "kernel32.dll" ALIAS FOR 
      "GetPrivateProfileStringA"
      FUNCTION ulong GetProcAddress(ulong hModule,ref string lpProcName) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetProcessAffinityMask(ulong hProcess,ref ulong 
      lpProcessAffinityMask,ref ulong SystemAffinityMask) LIBRARY "kernel32.dll"
      FUNCTION ulong GetProcessHeap() LIBRARY "kernel32.dll"
      FUNCTION ulong GetProcessHeaps(ulong NumberOfHeaps,ref ulong ProcessHeaps) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GetProcessShutdownParameters(ref ulong lpdwLevel,ref ulong 
      lpdwFlags) LIBRARY "kernel32.dll"
      FUNCTION ulong GetProcessTimes(ulong hProcess,ref FILETIME 
      lpCreationTime,ref FILETIME lpExitTime,ref FILETIME lpKernelTime,ref 
      FILETIME lpUserTime) LIBRARY "kernel32.dll"
      FUNCTION ulong GetProcessWindowStation() LIBRARY "user32.dll"
      FUNCTION boolean GetProcessWorkingSetSize(ulong hProcess,ref ulong 
      lpMinimumWorkingSetSize,ref ulong lpMaximumWorkingSetSize) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetProfileInt(ref string lpAppName,ref string 
      lpKeyName,ulong nDefault) LIBRARY "kernel32.dll" ALIAS FOR 
"GetProfileIntA"
      FUNCTION ulong GetProfileSection(ref string lpAppName,ref string 
      lpReturnedString,ulong nSize) LIBRARY "kernel32.dll" ALIAS FOR 
      "GetProfileSectionA"
      FUNCTION ulong GetProfileString(ref string lpAppName,ref string 
      lpKeyName,ref string lpDefault,ref string lpReturnedString,ulong nSize) 
      LIBRARY "kernel32.dll" ALIAS FOR "GetProfileStringA"
      FUNCTION ulong GetProp(ulong hwnd,ref string lpString) LIBRARY 
      "user32.dll" ALIAS FOR "GetPropA"
      FUNCTION boolean GetQueuedCompletionStatus(ulong CompletionPort,ref ulong 
      lpNumberOfBytesTransferred,ref ulong lpCompletionKey,ref ulong 
      lpOverlapped,ulong dwMilliseconds) LIBRARY "kernel32.dll"
      FUNCTION ulong GetQueueStatus(ulong fuFlags) LIBRARY "user32.dll"
      FUNCTION ulong GetRasterizerCaps(ref RASTERIZER_STATUS lpraststat,ulong 
      cb) LIBRARY "gdi32.dll"
      FUNCTION ulong GetRegionData(ulong hRgn,ulong dwCount,ref RgnData 
      lpRgnData) LIBRARY "gdi32.dll" ALIAS FOR "GetRegionDataA"
      FUNCTION ulong GetRgnBox(ulong hRgn,ref RECT lpRect) LIBRARY "gdi32.dll"
      FUNCTION ulong GetROP2(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetSaveFileName(ref OPENFILENAME pOpenfilename) LIBRARY 
      "comdlg32.dll" ALIAS FOR "GetSaveFileNameA"
      FUNCTION boolean GetScrollInfo(ulong hWnd,ulong n,ref SCROLLINFO 
      lpScrollInfo) LIBRARY "user32.dll"
      FUNCTION ulong GetScrollPos(ulong hwnd,ulong nBar) LIBRARY "user32.dll"
      FUNCTION ulong GetScrollRange(ulong hwnd,ulong nBar,ref ulong lpMinPos,ref 
      ulong lpMaxPos) LIBRARY "user32.dll"
      FUNCTION ulong GetSecurityDescriptorControl(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ref Integer pControl,ref ulong lpdwRevision) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong GetSecurityDescriptorDacl(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ref ulong lpbDaclPresent,ref ACL pDacl,ref ulong 
      lpbDaclDefaulted) LIBRARY "advapi32.dll"
      FUNCTION ulong GetSecurityDescriptorGroup(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ref Any pGroup,ulong lpbGroupDefaulted) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong GetSecurityDescriptorLength(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor) LIBRARY "advapi32.dll"
      FUNCTION ulong GetSecurityDescriptorOwner(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ref Any pOwner,ulong lpbOwnerDefaulted) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong GetSecurityDescriptorSacl(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ulong lpbSaclPresent,ref ACL pSacl,ulong 
      lpbSaclDefaulted) LIBRARY "advapi32.dll"
      FUNCTION ulong GetServiceDisplayName(ulong hSCManager,ref string 
      lpServiceName,ref string lpDisplayName,ref ulong lpcchBuffer) LIBRARY 
      "advapi32.dll" ALIAS FOR "GetServiceDisplayNameA"
      FUNCTION ulong GetServiceKeyName(ulong hSCManager,ref string 
      lpDisplayName,ref string lpServiceName,ref ulong lpcchBuffer) LIBRARY 
      "advapi32.dll" ALIAS FOR "GetServiceKeyNameA"
      FUNCTION ulong GetShortPathName(ref string lpszLongPath,ref string 
      lpszShortPath,ulong cchBuffer) LIBRARY "kernel32.dll"
      FUNCTION SID_IDENTIFIER_AUTHORITY GetSidIdentifierAuthority(ref Any pSid) 
      LIBRARY "advapi32.dll"
      FUNCTION ulong GetSidLengthRequired(Byte nSubAuthorityCount) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong GetSidSubAuthority(ref Any pSid,ulong nSubAuthority) 
      LIBRARY "advapi32.dll"
      FUNCTION Byte GetSidSubAuthorityCount(ref Any pSid) LIBRARY "advapi32.dll"
      Subroutine GetStartupInfo(ref STARTUPINFO lpStartupInfo) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetStartupInfoA"
      FUNCTION ulong GetStdHandle(ulong nStdHandle) LIBRARY "kernel32.dll"
      FUNCTION ulong GetStockObject(ulong nIndex) LIBRARY "gdi32.dll"
      FUNCTION ulong GetStretchBltMode(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetStringTypeA(ulong lcid,ulong dwInfoType,ref string 
      lpSrcStr,ulong cchSrc,ref ulong lpCharType) LIBRARY "kernel32.dll"
      FUNCTION boolean GetStringTypeEx(ulong Locale,ulong dwInfoType,ref string 
      lpSrcStr,ulong cchSrc,ref Integer lpCharType) LIBRARY "kernel32.dll" ALIAS 
      FOR "GetStringTypeExA"
      FUNCTION boolean GetStringTypeW(ulong dwInfoType,ref string lpSrcStr,ulong 
      cchSrc,ref Integer lpCharType) LIBRARY "kernel32.dll"
      FUNCTION ulong GetSubMenu(ulong hMenu,ulong nPos) LIBRARY "user32.dll"
      FUNCTION ulong GetSysColor(ulong nIndex) LIBRARY "user32.dll"
      FUNCTION ulong GetSysColorBrush(ulong nIndex) LIBRARY "user32.dll"
      FUNCTION Integer GetSystemDefaultLangID() LIBRARY "kernel32.dll"
      FUNCTION ulong GetSystemDefaultLCID() LIBRARY "kernel32.dll"
      FUNCTION ulong GetSystemDirectory(ref string lpBuffer,ulong nSize) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetSystemDirectoryA"
      Subroutine GetSystemInfo(ref SYSTEM_INFO lpSystemInfo) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetSystemMenu(ulong hwnd,ulong bRevert) LIBRARY 
"user32.dll"
      FUNCTION ulong GetSystemMetrics(ulong nIndex) LIBRARY "user32.dll"
      FUNCTION ulong GetSystemPaletteEntries(ulong hdc,ulong wStartIndex,ulong 
      wNumEntries,ref PALETTEENTRY lpPaletteEntries) LIBRARY "gdi32.dll"
      FUNCTION ulong GetSystemPaletteUse(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetSystemPowerStatus(ref SYSTEM_POWER_STATUS 
      lpSystemPowerStatus) LIBRARY "kernel32.dll"
      Subroutine GetSystemTime(ref SYSTEMTIME lpSystemTime) LIBRARY 
      "kernel32.dll"
      FUNCTION boolean GetSystemTimeAdjustment(ref ulong lpTimeAdjustment,ref 
      ulong lpTimeIncrement,ref boolean lpTimeAdjustmentDisabled) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GetTabbedTextExtent(ulong hdc,ref string lpString,ulong 
      nCount,ulong nTabPositions,ref ulong lpnTabStopPositions) LIBRARY 
      "user32.dll" ALIAS FOR "GetTabbedTextExtentA"
      FUNCTION ulong GetTapeParameters(ulong hDevice,ulong dwOperation,ref ulong 
      lpdwSize,ref Any lpTapeInformation) LIBRARY "kernel32.dll"
      FUNCTION ulong GetTapePosition(ulong hDevice,ulong dwPositionType,ref 
      ulong lpdwPartition,ref ulong lpdwOffsetLow,ref ulong lpdwOffsetHigh) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GetTapeStatus(ulong hDevice) LIBRARY "kernel32.dll"
      FUNCTION ulong GetTempFileName(ref string lpszPath,ref string 
      lpPrefixString,ulong wUnique,ref string lpTempFileName) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetTempFileNameA"
      FUNCTION ulong GetTempPath(ulong nBufferLength,ref string lpBuffer) 
      LIBRARY "kernel32.dll" ALIAS FOR "GetTempPathA"
      FUNCTION ulong GetTextAlign(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetTextCharacterExtra(ulong hdc) LIBRARY "gdi32.dll" ALIAS 
      FOR "GetTextCharacterExtraA"
      FUNCTION ulong GetTextCharset(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetTextCharsetInfo(ulong hdc,ref FONTSIGNATURE lpSig,ulong 
      dwFlags) LIBRARY "gdi32.dll"
      FUNCTION ulong GetTextColor(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong GetTextExtentExPoint(ulong hdc,ref string lpszStr,ulong 
      cchString,ulong nMaxExtent,ref ulong lpnFit,ref ulong alpDx,ref SIZE 
      lpSize) LIBRARY "gdi32.dll" ALIAS FOR "GetTextExtentExPointA"
      FUNCTION ulong GetTextExtentPoint(ulong hdc,ref string lpszString,ulong 
      cbString,ref SIZE lpSize) LIBRARY "gdi32.dll" ALIAS FOR 
      "GetTextExtentPointA"
      FUNCTION ulong GetTextExtentPoint32(ulong hdc,ref string lpsz,ulong 
      cbString,ref SIZE lpSize) LIBRARY "gdi32.dll" ALIAS FOR 
      "GetTextExtentPoint32A"
      FUNCTION ulong GetTextFace(ulong hdc,ulong nCount,ref string lpFacename) 
      LIBRARY "gdi32.dll" ALIAS FOR "GetTextFaceA"
      FUNCTION ulong GetTextMetrics(ulong hdc,ref TEXTMETRIC lpMetrics) LIBRARY 
      "gdi32.dll" ALIAS FOR "GetTextMetricsA"
      FUNCTION ulong GetThreadContext(ulong hThread,ref CONTEXT lpContext) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GetThreadDesktop(ulong dwThread) LIBRARY "user32.dll"
      FUNCTION ulong GetThreadLocale() LIBRARY "kernel32.dll"
      FUNCTION ulong GetThreadPriority(ulong hThread) LIBRARY "kernel32.dll"
      FUNCTION ulong GetThreadSelectorEntry(ulong hThread,ulong dwSelector,ref 
      LDT_ENTRY lpSelectorEntry) LIBRARY "kernel32.dll"
      FUNCTION ulong GetThreadTimes(ulong hThread,ref FILETIME 
      lpCreationTime,ref FILETIME lpExitTime,ref FILETIME lpKernelTime,ref 
      FILETIME lpUserTime) LIBRARY "kernel32.dll"
      FUNCTION ulong GetTickCount() LIBRARY "kernel32.dll"
      FUNCTION ulong GetTimeFormat(ulong Locale,ulong dwFlags,ref SYSTEMTIME 
      lpTime,ref string lpFormat,ref string lpTimeStr,ulong cchTime) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetTimeFormatA"
      FUNCTION ulong GetTimeZoneInformation(ref TIME_ZONE_INFORMATION 
      lpTimeZoneInformation) LIBRARY "kernel32.dll"
      FUNCTION ulong GetTokenInformation(ulong TokenHandle,ref Integer 
      TokenInformationClass,ref Any TokenInformation,ulong 
      TokenInformationLength,ref ulong ReturnLength) LIBRARY "advapi32.dll"
      FUNCTION ulong GetTopWindow(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong GetUpdateRect(ulong hwnd,ref RECT lpRect,ulong bErase) 
      LIBRARY "user32.dll"
      FUNCTION ulong GetUpdateRgn(ulong hwnd,ulong hRgn,ulong fErase) LIBRARY 
      "user32.dll"
      FUNCTION Integer GetUserDefaultLangID() LIBRARY "kernel32.dll"
      FUNCTION ulong GetUserDefaultLCID() LIBRARY "kernel32.dll"
      FUNCTION ulong GetUserName(ref string lpBuffer,ref ulong nSize) LIBRARY 
      "advapi32.dll" ALIAS FOR "GetUserNameA"
      FUNCTION boolean GetUserObjectInformation(ulong hObj,ulong nIndex,ref Any 
      pvInfo,ulong nLength,ref ulong lpnLengthNeeded) LIBRARY "user32.dll" ALIAS 
      FOR "GetUserObjectInformationA"
      FUNCTION ulong GetUserObjectSecurity(ulong hObj,ref ulong pSIRequested,ref 
      SECURITY_DESCRIPTOR pSd,ulong nLength,ref ulong lpnLengthNeeded) LIBRARY 
      "user32.dll"
      FUNCTION ulong GetVersion() LIBRARY "kernel32.dll"
      FUNCTION ulong GetVersionEx(OSVERSIONINFO lpVersionInformation) LIBRARY 
      "kernel32.dll" ALIAS FOR "GetVersionExA"
      FUNCTION ulong GetViewportExtEx(ulong hdc,ref SIZE lpSize) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong GetViewportOrgEx(ulong hdc,ref POINTAPI lpPoint) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong GetVolumeInformation(ref string lpRootPathName,ref string 
      lpVolumeNameBuffer,ulong nVolumeNameSize,ref ulong 
      lpVolumeSerialNumber,ref ulong lpMaximumComponentLength,ref ulong 
      lpFileSystemFlags,ref string lpFileSystemNameBuffer,ulong 
      nFileSystemNameSize) LIBRARY "kernel32.dll" ALIAS FOR 
      "GetVolumeInformationA"
      FUNCTION ulong GetWindow(ulong hwnd,ulong wCmd) LIBRARY "user32.dll"
      FUNCTION ulong GetWindowContextHelpId(ulong hWnd) LIBRARY "user32.dll"
      FUNCTION ulong GetWindowDC(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong GetWindowExtEx(ulong hdc,ref SIZE lpSize) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong GetWindowulong(ulong hwnd,ulong nIndex) LIBRARY 
      "user32.dll" ALIAS FOR "GetWindowLongA"
      FUNCTION ulong GetWindowOrgEx(ulong hdc,ref POINTAPI lpPoint) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong GetWindowPlacement(ulong hwnd,ref WINDOWPLACEMENT lpwndpl) 
      LIBRARY "user32.dll"
      FUNCTION ulong GetWindowRect(ulong hwnd,ref RECT lpRect) LIBRARY 
      "user32.dll"
      FUNCTION ulong GetWindowRgn(ulong hWnd,ulong hRgn) LIBRARY "user32.dll"
      FUNCTION ulong GetWindowsDirectory(ref string lpBuffer,ulong nSize) 
      LIBRARY "kernel32.dll" ALIAS FOR "GetWindowsDirectoryA"
      FUNCTION ulong GetWindowText(ulong hwnd,ref string lpString,ulong cch) 
      LIBRARY "user32.dll" ALIAS FOR "GetWindowTextA"
      FUNCTION ulong GetWindowTextLength(ulong hwnd) LIBRARY "user32.dll" ALIAS 
      FOR "GetWindowTextLengthA"
      FUNCTION ulong GetWindowThreadProcessId(ulong hwnd,ref ulong 
      lpdwProcessId) LIBRARY "user32.dll"
      FUNCTION Integer GetWindowWord(ulong hwnd,ulong nIndex) LIBRARY 
      "user32.dll"
      FUNCTION ulong GetWinMetaFileBits(ulong hemf,ulong cbBuffer,ref Byte 
      lpbBuffer,ulong fnMapMode,ulong hdcref) LIBRARY "gdi32.dll"
      FUNCTION ulong GetWorldTransform(ulong hdc,ref xform lpXform) LIBRARY 
      "gdi32.dll"
      FUNCTION Integer GlobalAddAtom(ref string lpString) LIBRARY "kernel32.dll" 
      ALIAS FOR "GlobalAddAtomA"
      FUNCTION ulong GlobalAlloc(ulong wFlags,ulong dwBytes) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong GlobalCompact(ulong dwMinFree) LIBRARY "kernel32.dll"
      FUNCTION Integer GlobalDeleteAtom(Integer nAtom) LIBRARY "kernel32.dll"
      FUNCTION Integer GlobalFindAtom(ref string lpString) LIBRARY 
      "kernel32.dll" ALIAS FOR "GlobalFindAtomA"
      Subroutine GlobalFix(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION ulong GlobalFlags(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION ulong GlobalFree(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION ulong GlobalGetAtomName(Integer nAtom,ref string lpBuffer,ulong 
      nSize) LIBRARY "kernel32.dll" ALIAS FOR "GlobalGetAtomNameA"
      FUNCTION ulong GlobalHandle(ref Any wMem) LIBRARY "kernel32.dll"
      FUNCTION ulong GlobalLock(ulong hMem) LIBRARY "kernel32.dll"
      Subroutine GlobalMemoryStatus(ref MEMORYSTATUS lpBuffer) LIBRARY 
      "kernel32.dll"
      FUNCTIONon ulong GlobalReAlloc(ulong hMem,ulong dwBytes,ulong wFlags) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong GlobalSize(ulong hMem) LIBRARY "kernel32.dll"
      Subroutine GlobalUnfix(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION ulong GlobalUnlock(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION boolean GlobalUnWire(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION ulong GlobalWire(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION boolean GrayString(ulong hDC,ulong hBrush,ulong 
      lpOutputFunc,ulong lpData,ulong nCount,ulong X,ulong Y,ulong nWidth,ulong 
      nHeight) LIBRARY "user32.dll" ALIAS FOR "GrayStringA"
      FUNCTION ulong HeapAlloc(ulong hHeap,ulong dwFlags,ulong dwBytes) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong HeapCompact(ulong hHeap,ulong dwFlags) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong HeapCreate(ulong flOptions,ulong dwInitialSize,ulong 
      dwMaximumSize) LIBRARY "kernel32.dll"
      FUNCTION ulong HeapDestroy((ulong hHeap) LIBRARY "kernel32.dll"
      FUNCTION ulong HeapFree(ulong hHeap,ulong dwFlags,ref Any lpMem) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong HeapLock(ulong hHeap) LIBRARY "kernel32.dll"
      FUNCTION ulong HeapReAlloc(ulong hHeap,ulong dwFlags,ref Any lpMem,ulong 
      dwBytes) LIBRARY "kernel32.dll"
      FUNCTION ulong HeapSize(ulong hHeap,ulong dwFlags,ref Any lpMem) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong HeapUnlock(ulong hHeap) LIBRARY "kernel32.dll"
      FUNCTION ulong HeapValidate(ulong hHeap,ulong dwFlags,ref Any lpMem) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong HideCaret(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong HiliteMenuItem(ulong hwnd,ulong hMenu,ulong 
      wIDHiliteItem,ulong wHilite) LIBRARY "user32.dll"
      FUNCTION ulong hread(ulong hFile,ref Any lpBuffer,ulong lBytes) LIBRARY 
      "kernel32.dll" ALIAS FOR "_hread"
      FUNCTION ulong hwrite(ulong hFile,ref string lpBuffer,ulong lBytes) 
      LIBRARY "kernel32.dll" ALIAS FOR "_hwrite"
      FUNCTION ulong ImmAssociateContext(ulong hwnd,ulong himc) LIBRARY 
      "imm32.dll"
      FUNCTION ulong ImmConfigureIME(ulong hkl,ulong hwnd,ulong dw) LIBRARY 
      "imm32.dll"
      FUNCTION ulong ImmCreateContext() LIBRARY "imm32.dll"
      FUNCTION ulong ImmDestroyContext(ulong himc) LIBRARY "imm32.dll"
      FUNCTION ulong ImmEnumRegisterWord(ulong hkl,ulong 
      RegisterWordEnumProc,ref string lpszReading,ulong dw,ref string 
      lpszRegister,ref Any lpv) LIBRARY "imm32.dll" ALIAS FOR 
      "ImmEnumRegisterWordA"
      FUNCTION ulong ImmEscape(ulong hkl,ulong himc,ulong un,ref Any lpv) 
      LIBRARY "imm32.dll" ALIAS FOR "ImmEscapeA"
      FUNCTION ulong ImmGetCandidateList(ulong himc,ulong deIndex,ref 
      CANDIDATELIST lpCandidateList,ulong dwBufLen) LIBRARY "imm32.dll" ALIAS 
      FOR "ImmGetCandidateListA"
      FUNCTION ulong ImmGetCandidateListCount(ulong himc,ref ulong 
      lpdwListCount) LIBRARY "imm32.dll" ALIAS FOR "ImmGetCandidateListCountA"
      FUNCTION ulong ImmGetCandidateWindow(ulong himc,ulong dw,ref CANDIDATEFORM 
      lpCandidateForm) LIBRARY "imm32.dll"
      FUNCTION ulong ImmGetCompositionFont(ulong himc,ref LOGFONT lpLogFont) 
      LIBRARY "imm32.dll" ALIAS FOR "ImmGetCompositionFontA"
      FUNCTION ulong ImmGetCompositionString(ulong himc,ulong dw,ref Any 
      lpv,ulong dw2) LIBRARY "imm32.dll" ALIAS FOR "ImmGetCompositionStringA"
      FUNCTION ulong ImmGetCompositionWindow(ulong himc,ref COMPOSITIONFORM 
      lpCompositionForm) LIBRARY "imm32.dll"
      FUNCTION ulong ImmGetContext(ulong hwnd) LIBRARY "imm32.dll"
      FUNCTION ulong ImmGetConversionList(ulong hkl,ulong himc,ref string 
      lpsz,ref CANDIDATELIST lpCandidateList,ulong dwBufLen,ulong uFlag) LIBRARY 
      "imm32.dll" ALIAS FOR "ImmGetConversionListA"
      FUNCTION ulong ImmGetConversionStatus(ulong himc,ref ulong lpdw,ref ulong 
      lpdw2) LIBRARY "imm32.dll"
      FUNCTION ulong ImmGetDefaultIMEWnd(ulong hwnd) LIBRARY "imm32.dll"
      FUNCTION ulong ImmGetDescription(ulong hkl,ref string lpsz,ulong uBufLen) 
      LIBRARY "imm32.dll" ALIAS FOR "ImmGetDescriptionA"
      FUNCTION ulong ImmGetGuideLine(ulong himc,ulong dwIndex,ref string 
      lpStr,ulong dwBufLen) LIBRARY "imm32.dll" ALIAS FOR "
      FUNCTION ulong ImmGetIMEFileName(ulong hkl,ref string lpStr,ulong uBufLen) 
      LIBRARY "imm32.dll" ALIAS FOR "ImmGetIMEFileNameA"
      FUNCTION ulong ImmGetOpenStatus(ulong himc) LIBRARY "imm32.dll"
      FUNCTION ulong ImmGetProperty(ulong hkl,ulong dw) LIBRARY "imm32.dll"
      FUNCTION ulong ImmGetRegisterWordStyle(ulong hkl,ulong nItem,ref STYLEBUF 
      lpStyleBuf) LIBRARY "imm32.dll" ALIAS FOR "
      FUNCTION ulong ImmGetStatusWindowPos(ulong himc,ref POINTAPI lpPoint) 
      LIBRARY "imm32.dll"
      FUNCTION ulong ImmGetVirtualKey(ulong hwnd) LIBRARY "imm32.dll"
      FUNCTION ulong ImmInstallIME(ref string lpszIMEFileName,ref string 
      lpszLayoutText) LIBRARY "imm32.dll" ALIAS FOR "ImmInstallIMEA"
      FUNCTION ulong ImmIsIME(ulong hkl) LIBRARY "imm32.dll"
      FUNCTION ulong ImmIsUIMessage(ulong hwnd,ulong un,ulong wParam,ulong 
      lParam) LIBRARY "imm32.dll" ALIAS FOR "ImmIsUIMessageA"
      FUNCTION ulong ImmNotifyIME(ulong himc,ulong dwAction,ulong dwIndex,ulong 
      dwValue) LIBRARY "imm32.dll"
      FUNCTION ulong ImmRegisterWord(ulong hkl,ref string lpszReading,ulong 
      dw,ref string lpszRegister) LIBRARY "imm32.dll" ALIAS FOR 
      "ImmRegisterWordA"
      FUNCTION ulong ImmReleaseContext(ulong hwnd,ulong himc) LIBRARY 
"imm32.dll"
      FUNCTION ulong ImmSetCandidateWindow(ulong himc,ref CANDIDATEFORM 
      lpCandidateForm) LIBRARY "imm32.dll"
      FUNCTION ulong ImmSetCompositionFont(ulong himc,ref LOGFONT lpLogFont) 
      LIBRARY "imm32.dll" ALIAS FOR "ImmSetCompositionFontA"
      FUNCTION ulong ImmSetCompositionString(ulong himc,ulong dwIndex,ref Any 
      lpComp,ulong dw,ref Any lpRead,ulong dw2) LIBRARY "imm32.dll" ALIAS FOR 
      "ImmSetCompositionStringA"
      FUNCTION ulong ImmSetCompositionWindow(ulong himc,ref COMPOSITIONFORM 
      lpCompositionForm) LIBRARY "imm32.dll"
      FUNCTION ulong ImmSetConversionStatus(ulong himc,ulong dw1,ulong dw2) 
      LIBRARY "imm32.dll"
      FUNCTION ulong ImmSetOpenStatus(ulong himc,ulong b) LIBRARY "imm32.dll"
      FUNCTION ulong ImmSetStatusWindowPos(ulong himc,ref POINTAPI lpPoint) 
      LIBRARY "imm32.dll"
      FUNCTION ulong ImmSimulateHotKey(ulong hwnd,ulong dw) LIBRARY "imm32.dll"
      FUNCTION ulong ImmUnregisterWord(ulong hkl,ref string lpszReading,ulong 
      dw,ref string lpszUnregister) LIBRARY "imm32.dll" ALIAS FOR 
      "ImmUnregisterWordA"
      FUNCTION ulong ImpersonateDdeClientWindow(ulong hWndClient,ulong 
      hWndServer) LIBRARY "user32.dll"
      FUNCTION ulong ImpersonateLoggedOnUser(ulong hToken) LIBRARY 
"kernel32.dll"
      FUNCTION ulong ImpersonateNamedPipeClient(ulong hNamedPipe) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong ImpersonateSelf(ref Integer ImpersonationLevel) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong InflateRect(ref RECT lpRect,ulong x,ulong y) LIBRARY 
      "user32.dll"
      FUNCTION ulong InitAtomTable(ulong nSize) LIBRARY "kernel32.dll"
      FUNCTION ulong InitializeAcl(ref ACL pAcl,ulong nAclLength,ulong 
      dwAclRevision) LIBRARY "advapi32.dll"
      Subroutine InitializeCriticalSection(ref CRITICAL_SECTION 
      lpCriticalSection) LIBRARY "kernel32.dll"
      FUNCTION ulong InitializeSecurityDescriptor(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ulong dwRevision) LIBRARY "advapi32.dll"
      FUNCTION ulong InitializeSid(ref Any Sid,ref SID_IDENTIFIER_AUTHORITY 
      pIdentifierAuthority,Byte nSubAuthorityCount) LIBRARY "advapi32.dll"
      FUNCTION ulong InitiateSystemShutdown(ref string lpMachineName,ref string 
      lpMessage,ulong dwTimeout,ulong bForceAppsClosed,ulong 
      bRebootAfterShutdown) LIBRARY "advapi32.dll" ALIAS FOR 
      "InitiateSystemShutdownA"
      FUNCTION ulong InSendMessage() LIBRARY "user32.dll"
      FUNCTION ulong InsertMenu(ulong hMenu,ulong nPosition,ulong wFlags,ulong 
      wIDNewItem,ref string lpNewItem) LIBRARY "user32.dll" ALIAS FOR 
      "InsertMenuA"
      FUNCTION boolean InsertMenuItem(ulong hMenu,ulong un,boolean 
      bool,MENUITEMINFO lpcMenuItemInfo) LIBRARY "user32.dll" ALIAS FOR 
      "InsertMenuItemA"
      FUNCTION ulong InterlockedDecrement(ref ulong lpAddend) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong InterlockedExchange(ref ulong Target,ulong Value) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong InterlockedIncrement(ref ulong lpAddend) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong IntersectClipRect(ulong hdc,ulong X1,ulong Y1,ulong 
      X2,ulong Y2) LIBRARY "gdi32.dll"
      FUNCTION ulong IntersectRect(ref RECT lpDestRect,ref RECT lpSrc1Rect,ref 
      RECT lpSrc2Rect) LIBRARY "user32.dll"
      FUNCTION ulong InvalidateRect(ulong hwnd,ref RECT lpRect,ulong bErase) 
      LIBRARY "user32.dll"
      FUNCTION ulong InvalidateRgn(ulong hwnd,ulong hRgn,ulong bErase) LIBRARY 
      "user32.dll"
      FUNCTION ulong InvertRect(ulong hdc,ref RECT lpRect) LIBRARY "user32.dll"
      FUNCTION ulong InvertRgn(ulong hdc,ulong hRgn) LIBRARY "gdi32.dll"
      FUNCTION boolean IsBadCodePtr(ulong lpfn) LIBRARY "kernel32.dll"
      FUNCTION ulong IsBadHugeReadPtr(ref Any lp,ulong ucb) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong IsBadHugeWritePtr(ref Any lp,ulong ucb) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong IsBadReadPtr(ref Any lp,ulong ucb) LIBRARY "kernel32.dll"
      FUNCTION ulong IsBadStringPtr(ref string lpsz,ulong ucchMax) LIBRARY 
      "kernel32.dll" ALIAS FOR "IsBadStringPtrA"
      FUNCTION ulong IsBadWritePtr(ref Any lp,ulong ucb) LIBRARY "kernel32.dll"
      FUNCTION ulong IsCharAlpha(Byte cChar) LIBRARY "user32.dll" ALIAS FOR 
      "IsCharAlphaA"
      FUNCTION ulong IsCharAlphaNumeric(Byte cChar) LIBRARY "user32.dll" ALIAS 
      FOR "IsCharAlphaNumericA"
      FUNCTION ulong IsCharLower(Byte cChar) LIBRARY "user32.dll" ALIAS FOR 
      "IsCharLowerA"
      FUNCTION ulong IsCharUpper(Byte cChar) LIBRARY "user32.dll" ALIAS FOR 
      "IsCharUpperA"
      FUNCTION ulong IsChild(ulong hWndParent,ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong IsClipboardFormatAvailable(ulong wFormat) LIBRARY 
      "user32.dll"
      FUNCTION ulong IsDBCSLeadByte(Byte bTestChar) LIBRARY "kernel32.dll"
      FUNCTION boolean IsDBCSLeadByte(Byte TestChar) LIBRARY "kernel32.dll"
      FUNCTION ulong IsDialogMessage(ulong hDlg,ref MSG lpMsg) LIBRARY 
      "user32.dll" ALIAS FOR "IsDialogMessageA"
      FUNCTION ulong IsDlgButtonChecked(ulong hDlg,ulong nIDButton) LIBRARY 
      "user32.dll"
      FUNCTION ulong IsIconic(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong IsMenu(ulong hMenu) LIBRARY "user32.dll"
      FUNCTION ulong IsRectEmpty(ref RECT lpRect) LIBRARY "user32.dll"
      FUNCTION boolean IsTextUnicode(ref Any lpBuffer,ulong cb,ref ulong lpi) 
      LIBRARY "advapi32"
      FUNCTION ulong IsValidAcl(ref ACL pAcl) LIBRARY "advapi32.dll"
      FUNCTION ulong IsValidCodePage(ulong CodePage) LIBRARY "kernel32.dll"
      FUNCTION ulong IsValidLocale(ulong Locale,ulong dwFlags) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong IsValidSecurityDescriptor(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor) LIBRARY "advapi32.dll"
      FUNCTION ulong IsValidSid(ref Any pSid) LIBRARY "advapi32.dll"
      FUNCTION ulong IsWindow(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong IsWindowEnabled(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong IsWindowUnicode(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong IsWindowVisible(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong IsZoomed(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong joyGetDevCaps(ulong id,ref JOYCAPS lpCaps,ulong uSize) 
      LIBRARY "winmm.dll" ALIAS FOR "joyGetDevCapsA"
      FUNCTION ulong joyGetNumDevs() LIBRARY "winmm.dll" ALIAS FOR 
"joyGetNumDev"
      FUNCTION ulong joyGetPos(ulong uJoyID,ref JOYINFO pji) LIBRARY "winmm.dll"
      FUNCTION ulong joyGetPosEx(ulong uJoyID,ref JOYINFOEX pji) LIBRARY 
      "winmm.dll"
      FUNCTION ulong joyGetThreshold(ulong id,ref ulong lpuThreshold) LIBRARY 
      "winmm.dll"
      FUNCTION ulong joyReleaseCapture(ulong id) LIBRARY "winmm.dll"
      FUNCTION ulong joySetCapture(ulong hwnd,ulong uID,ulong uPeriod,ulong 
      bChanged) LIBRARY "winmm.dll"
      FUNCTION ulong joySetThreshold(ulong id,ulong uThreshold) LIBRARY 
      "winmm.dll"
      Subroutine keybd_event(Byte bVk,Byte bScan,ulong dwFlags,ulong 
      dwExtraInfo) LIBRARY "user32.dll"
      FUNCTION ulong KillTimer(ulong hwnd,ulong nIDEvent) LIBRARY "user32.dll"
      FUNCTION ulong lclose(ulong hFile) LIBRARY "kernel32.dll" ALIAS FOR 
      "_lclose"
      FUNCTION ulong LCMapString(ulong Locale,ulong dwMapFlags,ref string 
      lpSrcStr,ulong cchSrc,ref string lpDestStr,ulong cchDest) LIBRARY 
      "kernel32.dll" ALIAS FOR "LCMapStringA"
      FUNCTION ulong lcreat(ref string lpPathName,ulong iAttribute) LIBRARY 
      "kernel32.dll" ALIAS FOR "_lcreat"
      Subroutine LeaveCriticalSection(ref CRITICAL_SECTION lpCriticalSection) 
      LIBRARY "kernel32.dll"
      FUNCTION boolean LineDDA(ulong n1,ulong n2,ulong n3,ulong n4,ulong 
      lpLineDDAProc,ulong lParam) LIBRARY "gdi32.dll"
      FUNCTION ulong LineTo(ulong hdc,ulong x,ulong y) LIBRARY "gdi32.dll"
      FUNCTION ulong llseek(ulong hFile,ulong lOffset,ulong iOrigin) LIBRARY 
      "kernel32.dll" ALIAS FOR "_llseek"
      FUNCTION ulong LoadAccelerators(ulong hInstance,ref string lpTableName) 
      LIBRARY "user32.dll" ALIAS FOR "LoadAcceleratorsA"
      FUNCTION ulong LoadBitmap(ulong hInstance,ref string lpBitmapName) LIBRARY 
      "user32.dll" ALIAS FOR "LoadBitmapA"
      FUNCTION ulong LoadCursor(ulong hInstance,ref string lpCursorName) LIBRARY 
      "user32.dll" ALIAS FOR "LoadCursorA"
      FUNCTION ulong LoadCursorFromFile(ref string lpFileName) LIBRARY 
      "user32.dll" ALIAS FOR "LoadCursorFromFileA"
      FUNCTION ulong LoadIcon(ulong hInstance,ref string lpIconName) LIBRARY 
      "user32.dll" ALIAS FOR "LoadIconA"
      FUNCTION ulong LoadImage(ulong hInst,ref string lpsz,ulong un1,ulong 
      n1,ulong n2,ulong un2) LIBRARY "user32.dll" ALIAS FOR "LoadImageA"
      FUNCTION ulong LoadKeyboardLayout(ref string pwszKLID,ulong flags) LIBRARY 
      "user32.dll" ALIAS FOR "LoadKeyboardLayoutA"
      FUNCTION ulong LoadLibrary(ref string lpLibFileName) LIBRARY 
      "kernel32.dll" ALIAS FOR "LoadLibraryA"
      FUNCTION ulong LoadLibraryEx(ref string lpLibFileName,ulong hFile,ulong 
      dwFlags) LIBRARY "kernel32.dll" ALIAS FOR "LoadLibraryExA"
      FUNCTION ulong LoadMenu(ulong hInstance,ref string lpString) LIBRARY 
      "user32.dll" ALIAS FOR "LoadMenuA"
      FUNCTION ulong LoadMenuIndirect(ulong lpMenuTemplate) LIBRARY "user32.dll" 
      ALIAS FOR "LoadMenuIndirectA"
      FUNCTION ulong LoadModule(ref string lpModuleName,ref Any 
      lpParameterBlock) LIBRARY "kernel32.dll"
      FUNCTION ulong LoadResource(ulong hInstance,ulong hResInfo) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong LoadString(ulong hInstance,ulong wID,ref string 
      lpBuffer,ulong nBufferMax) LIBRARY "user32.dll" ALIAS FOR "LoadStringA"
      FUNCTION ulong LocalAlloc(ulong wFlags,ulong wBytes) LIBRARY 
"kernel32.dll"
      FUNCTION ulong LocalCompact(ulong uMinFree) LIBRARY "kernel32.dll"
      FUNCTION ulong LocalFileTimeToFileTime(ref FILETIME lpLocalFileTime,ref 
      FILETIME lpFileTime) LIBRARY "kernel32.dll"
      FUNCTION ulong LocalFlags(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION ulong LocalFree(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION ulong LocalHandle(ref Any wMem) LIBRARY "kernel32.dll"
      FUNCTION ulong LocalLock(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION ulong LocalReAlloc(ulong hMem,ulong wBytes,ulong wFlags) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong LocalShrink(ulong hMem,ulong cbNewSize) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong LocalSize(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION ulong LocalUnlock(ulong hMem) LIBRARY "kernel32.dll"
      FUNCTION ulong LockFile(ulong hFile,ulong dwFileOffsetLow,ulong 
      dwFileOffsetHigh,ulong nNumberOfBytesToLockLow,ulong 
      nNumberOfBytesToLockHigh) LIBRARY "kernel32.dll"
      FUNCTION ulong LockFileEx(ulong hFile,ulong dwFlags,ulong dwReserved,ulong 
      nNumberOfBytesToLockLow,ulong nNumberOfBytesToLockHigh,ref OVERLAPPED 
      lpOverlapped) LIBRARY "kernel32.dll"
      FUNCTION ulong LockResource(ulong hResData) LIBRARY "kernel32.dll"
      FUNCTION ulong LockServiceDatabase(ulong hSCManager) LIBRARY 
"advapi32.dll"
      FUNCTION ulong LockWindowUpdate(ulong hwndLock) LIBRARY "user32.dll"
      FUNCTION ulong LogonUser(ref string lpszUsername,ref string lpszDomain,ref 
      string lpszPassword,ulong dwLogonType,ulong dwLogonProvider,ref ulong 
      phToken) LIBRARY "kernel32.dll" ALIAS FOR "
      FUNCTION ulong LookupAccountName(ref string lpSystemName,ref string 
      lpAccountName,ref ulong Sid,ref ulong cbSid,ref string 
      referencedDomainName,ref ulong cbreferencedDomainName,ref Integer peUse) 
      LIBRARY "advapi32.dll" ALIAS FOR "LookupAccountNameA"
      FUNCTION ulong LookupAccountSid(ref string lpSystemName,ref Any Sid,ref 
      string name,ref ulong cbName,ref string referencedDomainName,ref ulong 
      cbreferencedDomainName,ref Integer peUse) LIBRARY "advapi32.dll" ALIAS FOR 
      "LookupAccountSidA"
      FUNCTION ulong LookupIconIdFromDirectory(ref Byte presbits,ulong fIcon) 
      LIBRARY "user32.dll"
      FUNCTION ulong LookupIconIdFromDirectoryEx(ref Byte presbits,boolean 
      fIcon,ulong cxDesired,ulong cyDesired,ulong Flags) LIBRARY "user32.dll"
      FUNCTION ulong LookupPrivilegeDisplayName(ref string lpSystemName,ref 
      string lpName,ref string lpDisplayName,ref ulong cbDisplayName,ref ulong 
      lpLanguageID) LIBRARY "advapi32.dll" ALIAS FOR 
      "LookupPrivilegeDisplayNameA"
      FUNCTION ulong LookupPrivilegeName(ref string lpSystemName,ref 
      LARGE_INTEGER lpLuid,ref string lpName,ref ulong cbName) LIBRARY 
      "advapi32.dll" ALIAS FOR "LookupPrivilegeNameA"
      FUNCTION ulong LookupPrivilegeValue(ref string lpSystemName,ref string 
      lpName,ref LARGE_INTEGER lpLuid) LIBRARY "advapi32.dll" ALIAS FOR 
      "LookupPrivilegeValueA"
      FUNCTION ulong lopen(ref string lpPathName,ulong iReadWrite) LIBRARY 
      "kernel32.dll" ALIAS FOR "_lopen"
      FUNCTION ulong LPtoDP(ulong hdc,ref POINTAPI lpPoint,ulong nCount) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong lread(ulong hFile,ref Any lpBuffer,ulong wBytes) LIBRARY 
      "kernel32.dll" ALIAS FOR "_lread"
      FUNCTION ulong lstrcat(ref string lpString1,ref string lpString2) LIBRARY 
      "kernel32.dll" ALIAS FOR "lstrcatA"
      FUNCTION ulong lstrcmp(ref string lpString1,ref string lpString2) LIBRARY 
      "kernel32.dll" ALIAS FOR "lstrcmpA"
      FUNCTION ulong lstrcmpi(ref string lpString1,ref string lpString2) LIBRARY 
      "kernel32.dll" ALIAS FOR "lstrcmpiA"
      FUNCTION ulong lstrcpy(ref string lpString1,ref string lpString2) LIBRARY 
      "kernel32.dll" ALIAS FOR "lstrcpyA"
      FUNCTION ulong lstrcpyn(ref string lpString1,ref string lpString2,ulong 
      iMaxLength) LIBRARY "kernel32.dll" ALIAS FOR "lstrcpynA"
      FUNCTION ulong lstrlen(ref string lpString) LIBRARY "kernel32.dll" ALIAS 
      FOR "lstrlenA"
      FUNCTION ulong lwrite(ulong hFile,ref string lpBuffer,ulong wBytes) 
      LIBRARY "kernel32.dll" ALIAS FOR "_lwrite"
      Subroutine LZClose(ulong hfFile) LIBRARY "lz32.dll"
      FUNCTION ulong LZCopy(ulong hfSource,ulong hfDest) LIBRARY "lz32.dll"
      Subroutine LZDone() LIBRARY "lz32"
      FUNCTION ulong LZInit(ulong hfSrc) LIBRARY "lz32.dll"
      FUNCTION ulong LZOpenFile(ref string lpszFile,ref OFSTRUCT lpOf,ulong 
      style) LIBRARY "lz32.dll" ALIAS FOR "LZOpenFileA"
      FUNCTION ulong LZRead(ulong hfFile,ref string lpvBuf,ulong cbread) LIBRARY 
      "lz32.dll"
      FUNCTION ulong LZSeek(ulong hfFile,ulong lOffset,ulong nOrigin) LIBRARY 
      "lz32.dll"
      FUNCTION ulong LZStart() LIBRARY "lz32"
      FUNCTION ulong MakeAbsoluteSD(ref SECURITY_DESCRIPTOR 
      pSelfRelativeSecurityDescriptor,ref SECURITY_DESCRIPTOR 
      pAbsoluteSecurityDescriptor,ref ulong 
      lpdwAbsoluteSecurityDescriptorSize,ref ACL pDacl,ref ulong 
      lpdwDaclSize,ref ACL pSacl,ref ulong lpdwSaclSize,ref Any pOwner,ref ulong 
      lpdwOwnerSize,ref Any pPrimaryGroup,ref ulong lpdwPrimaryGroupSize) 
      LIBRARY "advapi32.dll"
      FUNCTION ulong MakeSelfRelativeSD(ref SECURITY_DESCRIPTOR 
      pAbsoluteSecurityDescriptor,ref SECURITY_DESCRIPTOR 
      pSelfRelativeSecurityDescriptor,ref ulong lpdwBufferLength) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong MapDialogRect(ulong hDlg,ref RECT lpRect) LIBRARY 
      "user32.dll"
      Subroutine MapGenericMask(ref ulong AccessMask,ref GENERIC_MAPPING 
      GenericMapping) LIBRARY "advapi32.dll"
      FUNCTION ulong MapViewOfFile(ulong hFileMappingObject,ulong 
      dwDesiredAccess,ulong dwFileOffsetHigh,ulong dwFileOffsetLow,ulong 
      dwNumberOfBytesToMap) LIBRARY "kernel32.dll"
      FUNCTION ulong MapViewOfFile(ulong hFileMappingObject,ulong 
      dwDesiredAccess,ulong dwFileOffsetHigh,ulong dwFileOffsetLow,ulong 
      dwNumberOfBytesToMap) LIBRARY "kernel32.dll"
      FUNCTION ulong MapViewOfFileEx(ulong hFileMappingObject,ulong 
      dwDesiredAccess,ulong dwFileOffsetHigh,ulong dwFileOffsetLow,ulong 
      dwNumberOfBytesToMap,ref Any lpBaseAddress) LIBRARY "kernel32.dll"
      FUNCTION ulong MapVirtualKey(ulong wCode,ulong wMapType) LIBRARY 
      "user32.dll" ALIAS FOR "MapVirtualKeyA"
      FUNCTION ulong MapVirtualKeyEx(ulong uCode,ulong uMapType,ulong dwhkl) 
      LIBRARY "user32.dll" ALIAS FOR "MapVirtualKeyExA"
      FUNCTION ulong MapWindowPoints(ulong hwndFrom,ulong hwndTo,ref Any 
      lppt,ulong cPoints) LIBRARY "user32.dll"
      FUNCTION ulong MaskBlt(ulong hdcDest,ulong nXDest,ulong nYDest,ulong 
      nWidth,ulong nHeight,ulong hdcSrc,ulong nXSrc,ulong nYSrc,ulong 
      hbmMask,ulong xMask,ulong yMask,ulong dwRop) LIBRARY "gdi32.dll"
      FUNCTION ulong mciExecute(ref string lpstrCommand) LIBRARY "winmm.dll"
      FUNCTION ulong mciGetCreatorTask(ulong wDeviceID) LIBRARY "winmm.dll"
      FUNCTION ulong mciGetDeviceID(ref string lpstrName) LIBRARY "winmm.dll" 
      ALIAS FOR "mciGetDeviceIDA"
      FUNCTION ulong mciGetDeviceIDFromElementID(ulong dwElementID,ref string 
      lpstrType) LIBRARY "winmm.dll" ALIAS FOR "mciGetDeviceIDFromElementIDA"
      FUNCTION ulong mciGetErrorString(ulong dwError,ref string 
      lpstrBuffer,ulong uLength) LIBRARY "winmm.dll" ALIAS FOR 
      "mciGetErrorStringA"
      FUNCTION ulong mciGetYieldProc(ulong mciId,ref ulong pdwYieldData) LIBRARY 
      "winmm"
      FUNCTION ulong mciSendCommand(ulong wDeviceID,ulong uMessage,ulong 
      dwParam1,ulong dwParam2) LIBRARY "winmm.dll" ALIAS FOR "mciSendCommandA"
      FUNCTION ulong mciSendString(ref string lpstrCommand,ref string 
      lpstrReturnString,ulong uReturnLength,ulong hwndCallback) LIBRARY 
      "winmm.dll" ALIAS FOR "mciSendStringA"
      FUNCTION boolean mciSetYieldProc(ulong mciId,ulong fpYieldProc,ulong 
      dwYieldData) LIBRARY "winmm"
      FUNCTION ulong MenuItemFromPoint(ulong hWnd,ulong hMenu,POINTAPI ptScreen) 
      LIBRARY "user32.dll"
      FUNCTION ulong MessageBeep(ulong wType) LIBRARY "user32.dll" ALIAS FOR 
      "BeepA"
      FUNCTION ulong MessageBox(ulong hwnd,ref string lpText,ref string 
      lpCaption,ulong wType) LIBRARY "user32.dll" ALIAS FOR "MessageBoxA"
      FUNCTION ulong MessageBoxEx(ulong hwnd,ref string lpText,ref string 
      lpCaption,ulong uType,ulong wLanguageId) LIBRARY "user32.dll" ALIAS FOR 
      "MessageBoxExA"
      FUNCTION ulong MessageBoxIndirect(ref MSGBOXPARAMS lpMsgBoxParams) LIBRARY 
      "user32.dll" ALIAS FOR "MessageBoxIndirectA"
      FUNCTION ulong midiConnect(ulong hmi,ulong hmo,ref Any pReserved) LIBRARY 
      "winmm.dll"
      FUNCTION ulong midiDisconnect(ulong hmi,ulong hmo,ref Any pReserved) 
      LIBRARY "winmm.dll"
      FUNCTION ulong midiInAddBuffer(ulong hMidiIn,ref MIDIHDR lpMidiInHdr,ulong 
      uSize) LIBRARY "winmm.dll"
      FUNCTION ulong midiInClose(ulong hMidiIn) LIBRARY "winmm.dll"
      FUNCTION ulong midiInGetDevCaps(ulong uDeviceID,ref MIDIINCAPS 
      lpCaps,ulong uSize) LIBRARY "winmm.dll" ALIAS FOR "midiInGetDevCapsA"
      FUNCTION ulong midiInGetErrorText(ulong err,ref string lpText,ulong uSize) 
      LIBRARY "winmm.dll" ALIAS FOR "midiInGetErrorTextA"
      FUNCTION ulong midiInGetID(ulong hMidiIn,ref ulong lpuDeviceID) LIBRARY 
      "winmm.dll"
      FUNCTION ulong midiInGetNumDevs() LIBRARY "winmm.dll"
      FUNCTION ulong midiInMessage(ulong hMidiIn,ulong msg,ulong dw1,ulong dw2) 
      LIBRARY "winmm.dll"
      FUNCTION ulong midiInOpen(ref ulong lphMidiIn,ulong uDeviceID,ulong 
      dwCallback,ulong dwInstance,ulong dwFlags) LIBRARY "winmm.dll"
      FUNCTION ulong midiInPrepareHeader(ulong hMidiIn,ref MIDIHDR 
      lpMidiInHdr,ulong uSize) LIBRARY "winmm.dll"
      FUNCTION ulong midiInReset(ulong hMidiIn) LIBRARY "winmm.dll"
      FUNCTION ulong midiInStart(ulong hMidiIn) LIBRARY "winmm.dll"
      FUNCTION ulong midiInStop(ulong hMidiIn) LIBRARY "winmm.dll"
      FUNCTION ulong midiInUnprepareHeader(ulong hMidiIn,ref MIDIHDR 
      lpMidiInHdr,ulong uSize) LIBRARY "winmm.dll"
      FUNCTION ulong midiOutCacheDrumPatches(ulong hMidiOut,ulong uPatch,ref 
      ulong lpKeyArray,ulong uFlags) LIBRARY "winmm.dll"
      FUNCTION ulong midiOutCachePatches(ulong hMidiOut,ulong uBank,ref ulong 
      lpPatchArray,ulong uFlags) LIBRARY "winmm.dll"
      FUNCTION ulong midiOutClose(ulong hMidiOut) LIBRARY "winmm.dll"
      FUNCTION ulong midiOutGetDevCaps(ulong uDeviceID,ref MIDIOUTCAPS 
      lpCaps,ulong uSize) LIBRARY "winmm.dll" ALIAS FOR "midiOutGetDevCapsA"
      FUNCTION ulong midiOutGetErrorText(ulong err,ref string lpText,ulong 
      uSize) LIBRARY "winmm.dll" ALIAS FOR "midiOutGetErrorTextA"
      FUNCTION ulong midiOutGetID(ulong hMidiOut,ref ulong lpuDeviceID) LIBRARY 
      "winmm.dll"
      FUNCTION Integer midiOutGetNumDevs() LIBRARY "winmm"
      FUNCTION ulong midiOutGetVolume(ulong uDeviceID,ref ulong lpdwVolume) 
      LIBRARY "winmm.dll"
      FUNCTION ulong midiOutLongMsg(ulong hMidiOut,ref MIDIHDR 
      lpMidiOutHdr,ulong uSize) LIBRARY "winmm.dll"
      FUNCTION ulong midiOutMessage(ulong hMidiOut,ulong msg,ulong dw1,ulong 
      dw2) LIBRARY "winmm.dll"
      FUNCTION ulong midiOutOpen(ref ulong lphMidiOut,ulong uDeviceID,ulong 
      dwCallback,ulong dwInstance,ulong dwFlags) LIBRARY "winmm.dll"
      FUNCTION ulong midiOutPrepareHeader(ulong hMidiOut,ref MIDIHDR 
      lpMidiOutHdr,ulong uSize) LIBRARY "winmm.dll"
      FUNCTION ulong midiOutReset(ulong hMidiOut) LIBRARY "winmm.dll"
      FUNCTION ulong midiOutSetVolume(ulong uDeviceID,ulong dwVolume) LIBRARY 
      "winmm.dll"
      FUNCTION ulong midiOutShortMsg(ulong hMidiOut,ulong dwMsg) LIBRARY 
      "winmm.dll"
      FUNCTION ulong midiOutUnprepareHeader(ulong hMidiOut,ref MIDIHDR 
      lpMidiOutHdr,ulong uSize) LIBRARY "winmm.dll"
      FUNCTION ulong midiStreamClose(ulong hms) LIBRARY "winmm.dll"
      FUNCTION ulong midiStreamOpen(ref ulong phms,ref ulong puDeviceID,ulong 
      cMidi,ulong dwCallback,ulong dwInstance,ulong fdwOpen) LIBRARY "winmm.dll"
      FUNCTION ulong midiStreamOut(ulong hms,ref MIDIHDR pmh,ulong cbmh) LIBRARY 
      "winmm.dll"
      FUNCTION ulong midiStreamPause(ulong hms) LIBRARY "winmm.dll"
      FUNCTION ulong midiStreamPosition(ulong hms,ref MMTIME lpmmt,ulong cbmmt) 
      LIBRARY "winmm.dll"
      FUNCTION ulong midiStreamProperty(ulong hms,ref Byte lppropdata,ulong 
      dwProperty) LIBRARY "winmm.dll"
      FUNCTION ulong midiStreamRestart(ulong hms) LIBRARY "winmm.dll"
      FUNCTION ulong midiStreamStop(ulong hms) LIBRARY "winmm.dll"
      FUNCTION ulong mixerClose(ulong hmx) LIBRARY "winmm.dll"
      FUNCTION ulong mixerGetControlDetails(ulong hmxobj,ref MIXERCONTROLDETAILS 
      pmxcd,ulong fdwDetails) LIBRARY "winmm.dll" ALIAS FOR 
      "mixerGetControlDetailsA"
      FUNCTION ulong mixerGetDevCaps(ulong uMxId,MIXERCAPS pmxcaps,ulong 
      cbmxcaps) LIBRARY "winmm.dll" ALIAS FOR "mixerGetDevCapsA"
      FUNCTION ulong mixerGetID(ulong hmxobj,ref ulong pumxID,ulong fdwId) 
      LIBRARY "winmm.dll"
      FUNCTION ulong mixerGetLineControls(ulong hmxobj,ref MIXERLINECONTROLS 
      pmxlc,ulong fdwControls) LIBRARY "winmm.dll" ALIAS FOR 
      "mixerGetLineControlsA"
      FUNCTION ulong mixerGetLineInfo(ulong hmxobj,ref MIXERLINE pmxl,ulong 
      fdwInfo) LIBRARY "winmm.dll" ALIAS FOR "mixerGetLineInfoA"
      FUNCTION ulong mixerGetNumDevs() LIBRARY "winmm.dll"
      FUNCTION ulong mixerMessage(ulong hmx,ulong uMsg,ulong dwParam1,ulong 
      dwParam2) LIBRARY "winmm.dll"
      FUNCTION ulong mixerOpen(ref ulong phmx,ulong uMxId,ulong dwCallback,ulong 
      dwInstance,ulong fdwOpen) LIBRARY "winmm.dll"
      FUNCTION ulong mixerSetControlDetails(ulong hmxobj,ref MIXERCONTROLDETAILS 
      pmxcd,ulong fdwDetails) LIBRARY "winmm.dll"
      FUNCTION ulong mmioAdvance(ulong hmmio,ref MMIOINFO lpmmioinfo,ulong 
      uFlags) LIBRARY "winmm.dll"
      FUNCTION ulong mmioAscend(ulong hmmio,ref MMCKINFO lpck,ulong uFlags) 
      LIBRARY "winmm.dll"
      FUNCTION ulong mmioClose(ulong hmmio,ulong uFlags) LIBRARY "winmm.dll"
      FUNCTION ulong mmioCreateChunk(ulong hmmio,ref MMCKINFO lpck,ulong uFlags) 
      LIBRARY "winmm.dll"
      FUNCTION ulong mmioDescend(ulong hmmio,ref MMCKINFO lpck,ref MMCKINFO 
      lpckParent,ulong uFlags) LIBRARY "winmm.dll"
      FUNCTION ulong mmioFlush(ulong hmmio,ulong uFlags) LIBRARY "winmm.dll"
      FUNCTION ulong mmioGetInfo(ulong hmmio,ref MMIOINFO lpmmioinfo,ulong 
      uFlags) LIBRARY "winmm.dll"
      FUNCTION ulong mmioInstallIOProcA(ref string fccIOProc,ulong pIOProc,ulong 
      dwFlags) LIBRARY "winmm"
      FUNCTION ulong mmioOpen(ref string szFileName,ref MMIOINFO 
      lpmmioinfo,ulong dwOpenFlags) LIBRARY "winmm.dll" ALIAS FOR "mmioOpenA"
      FUNCTION ulong mmioRead(ulong hmmio,ref string pch,ulong cch) LIBRARY 
      "winmm.dll"
      FUNCTION ulong mmioRename(ref string szFileName,ref string 
      SzNewFileName,ref MMIOINFO lpmmioinfo,ulong dwRenameFlags) LIBRARY 
      "winmm.dll" ALIAS FOR "mmioRenameA"
      FUNCTION ulong mmioSeek(ulong hmmio,ulong lOffset,ulong iOrigin) LIBRARY 
      "winmm.dll"
      FUNCTION ulong mmioSendMessage(ulong hmmio,ulong uMsg,ulong lParam1,ulong 
      lParam2) LIBRARY "winmm.dll"
      FUNCTION ulong mmioSetBuffer(ulong hmmio,ref string pchBuffer,ulong 
      cchBuffer,ulong uFlags) LIBRARY "winmm.dll"
      FUNCTION ulong mmioSetInfo(ulong hmmio,ref MMIOINFO lpmmioinfo,ulong 
      uFlags) LIBRARY "winmm.dll"
      FUNCTION ulong mmioStringToFOURCC(ref string sz,ulong uFlags) LIBRARY 
      "winmm.dll" ALIAS FOR "mmioStringToFOURCCA"
      FUNCTION ulong mmioWrite(ulong hmmio,ref string pch,ulong cch) LIBRARY 
      "winmm.dll"
      FUNCTION ulong mmsystemGetVersion() LIBRARY "winmm.dll"
      FUNCTION ulong ModifyMenu(ulong hMenu,ulong nPosition,ulong wFlags,ulong 
      wIDNewItem,ref string lpString) LIBRARY "user32.dll" ALIAS FOR 
      "ModifyMenuA"
      FUNCTION ulong ModifyWorldTransform(ulong hdc,ref xform lpXform,ulong 
      iMode) LIBRARY "gdi32.dll"
      Subroutine mouse_event(ulong dwFlags,ulong dx,ulong dy,ulong 
      cButtons,ulong dwExtraInfo) LIBRARY "user32.dll"
      FUNCTION ulong MoveFile(ref string lpExistingFileName,ref string 
      lpNewFileName) LIBRARY "kernel32.dll" ALIAS FOR "MoveFileA"
      FUNCTION ulong MoveFileEx(ref string lpExistingFileName,ref string 
      lpNewFileName,ulong dwFlags) LIBRARY "kernel32.dll" ALIAS FOR 
"MoveFileExA"
      FUNCTION ulong MoveToEx(ulong hdc,ulong x,ulong y,ref POINTAPI lpPoint) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong MoveWindow(ulong hwnd,ulong x,ulong y,ulong nWidth,ulong 
      nHeight,ulong bRepaint) LIBRARY "user32.dll"
      FUNCTION ulong MsgWaitForMultipleObjects(ulong nCount,ref ulong 
      pHandles,ulong fWaitAll,ulong dwMilliseconds,ulong dwWakeMask) LIBRARY 
      "user32.dll"
      FUNCTION ulong MulDiv(ulong nNumber,ulong nNumerator,ulong nDenominator) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong MultiByteToWideChar(ulong CodePage,ulong dwFlags,ref string 
      lpMultiByteStr,ulong cchMultiByte,ref string lpWideCharStr,ulong 
      cchWideChar) LIBRARY "kernel32.dll"
      FUNCTION Byte Netbios(ref NCB pncb) LIBRARY "netapi32.dll"
      FUNCTION ulong NotifyBootConfigStatus(ulong BootAcceptable) LIBRARY 
      "advapi32.dll"
      FUNCTION boolean NotifyChangeEventLog(ulong hEventLog,ulong hEvent) 
      LIBRARY "advapi32"
      FUNCTION ulong ObjectCloseAuditAlarm(ref string SubsystemName,ref Any 
      HandleId,ulong GenerateOnClose) LIBRARY "advapi32.dll" ALIAS FOR 
      "ObjectCloseAuditAlarmA"
      FUNCTION boolean ObjectOpenAuditAlarm(ref string SubsystemName,ref Any 
      HandleId,ref string ObjectTypeName,ref string ObjectName,ref 
      SECURITY_DESCRIPTOR pSecurityDescriptor,ulong ClientToken,ulong 
      DesiredAccess,ulong GrantedAccess,ref PRIVILEGE_SET Privileges,boolean 
      ObjectCreation,boolean AccessGranted,ref boolean GenerateOnClose) LIBRARY 
      "advapi32" ALIAS FOR "ObjectOpenAuditAlarmA"
      FUNCTION ulong ObjectOpenAuditAlarm(ref string SubsystemName,ref Any 
      HandleId,ref string ObjectTypeName,ref string ObjectName,ref 
      SECURITY_DESCRIPTOR pSecurityDescriptor,ulong ClientToken,ulong 
      DesiredAccess,ulong GrantedAccess,ref PRIVILEGE_SET Privileges,ulong 
      ObjectCreation,ulong AccessGranted,ulong GenerateOnClose) LIBRARY 
      "kernel32.dll" ALIAS FOR "ObjectOpenAuditAlarmA"
      FUNCTION ulong ObjectPrivilegeAuditAlarm(ref string SubsystemName,ref Any 
      HandleId,ulong ClientToken,ulong DesiredAccess,ref PRIVILEGE_SET 
      Privileges,ulong AccessGranted) LIBRARY "advapi32.dll" ALIAS FOR 
      "ObjectPrivilegeAuditAlarmA"
      FUNCTION ulong OemKeyScan(ulong wOemChar) LIBRARY "user32.dll"
      FUNCTION ulong OemToChar(ref string lpszSrc,ref string lpszDst) LIBRARY 
      "user32.dll" ALIAS FOR "OemToCharA"
      FUNCTION ulong OemToCharBuff(ref string lpszSrc,ref string lpszDst,ulong 
      cchDstLength) LIBRARY "user32.dll" ALIAS FOR "OemToCharBuffA"
      FUNCTION ulong OffsetClipRgn(ulong hdc,ulong x,ulong y) LIBRARY 
"gdi32.dll"
      FUNCTION ulong OffsetRect(ref RECT lpRect,ulong x,ulong y) LIBRARY 
      "user32.dll"
      FUNCTION ulong OffsetRgn(ulong hRgn,ulong x,ulong y) LIBRARY "gdi32.dll"
      FUNCTION ulong OffsetViewportOrgEx(ulong hdc,ulong nX,ulong nY,ref 
      POINTAPI lpPoint) LIBRARY "gdi32.dll"
      FUNCTION ulong OffsetWindowOrgEx(ulong hdc,ulong nX,ulong nY,ref POINTAPI 
      lpPoint) LIBRARY "gdi32.dll"
      FUNCTION ulong OpenBackupEventLog(ref string lpUNCServerName,ref string 
      lpFileName) LIBRARY "advapi32.dll" ALIAS FOR "OpenBackupEventLogA"
      FUNCTION ulong OpenClipboard(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong OpenDesktop(ref string lpszDesktop,ulong dwFlags,boolean 
      fInherit,ulong dwDesiredAccess) LIBRARY "user32.dll" ALIAS FOR 
      "OpenDesktopA"
      FUNCTION ulong OpenDriver(ref string szDriverName,ref string 
      szSectionName,ulong lParam2) LIBRARY "winmm.dll"
      FUNCTION ulong OpenEvent(ulong dwDesiredAccess,ulong bInheritHandle,ref 
      string lpName) LIBRARY "kernel32.dll" ALIAS FOR "OpenEventA"
      FUNCTION ulong OpenEventLog(ref string lpUNCServerName,ref string 
      lpSourceName) LIBRARY "advapi32.dll"
      FUNCTION ulong OpenFile(ref string lpFileName,ref OFSTRUCT 
      lpReOpenBuff,ulong wStyle) LIBRARY "kernel32.dll"
      FUNCTION ulong OpenFileMapping(ulong dwDesiredAccess,ulong 
      bInheritHandle,ref string lpName) LIBRARY "kernel32.dll" ALIAS FOR 
      "OpenFileMappingA"
      FUNCTION ulong OpenIcon(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong OpenInputDesktop(ulong dwFlags,boolean fInherit,ulong 
      dwDesiredAccess) LIBRARY "user32.dll"
      FUNCTION ulong OpenMutex(ulong dwDesiredAccess,ulong bInheritHandle,ref 
      string lpName) LIBRARY "kernel32.dll" ALIAS FOR "OpenMutexA"
      FUNCTION ulong OpenPrinter(ref string pPrinterName,ref ulong phPrinter,ref 
      PRINTER_DEFAULTS pDefault) LIBRARY "winspool.drv" ALIAS FOR "OpenPrinterA"
      FUNCTION ulong OpenProcess(ulong dwDesiredAccess,ulong 
      bInheritHandle,ulong dwProcessId) LIBRARY "kernel32.dll"
      FUNCTION ulong OpenProcessToken(ulong ProcessHandle,ulong 
      DesiredAccess,ref ulong TokenHandle) LIBRARY "advapi32.dll"
      FUNCTION ulong OpenSCManager(ref string lpMachineName,ref string 
      lpDatabaseName,ulong dwDesiredAccess) LIBRARY "advapi32.dll" ALIAS FOR 
      "OpenSCManagerA"
      FUNCTION ulong OpenSemaphore(ulong dwDesiredAccess,ulong 
      bInheritHandle,ref string lpName) LIBRARY "kernel32.dll" ALIAS FOR 
      "OpenSemaphoreA"
      FUNCTION ulong OpenService(ulong hSCManager,ref string lpServiceName,ulong 
      dwDesiredAccess) LIBRARY "advapi32.dll" ALIAS FOR "OpenServiceA"
      FUNCTION ulong OpenThreadToken(ulong ThreadHandle,ulong 
      DesiredAccess,ulong OpenAsSelf,ref ulong TokenHandle) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong OpenWindowStation(ref string lpszWinSta,boolean 
      fInherit,ulong dwDesiredAccess) LIBRARY "user32.dll" ALIAS FOR 
      "OpenWindowStationA"
      Subroutine OutputDebugStr(ref string lpszOutputString) LIBRARY "winmm.dll"
      Subroutine OutputDebugString(ref string lpOutputString) LIBRARY 
      "kernel32.dll" ALIAS FOR "OutputDebugStringA"
      FUNCTION ulong PackDDElParam(ulong msg,ulong uiLo,ulong uiHi) LIBRARY 
      "user32.dll"
      FUNCTION ulong PageSetupDlg(ref PAGESETUPDLG pPagesetupdlg) LIBRARY 
      "comdlg32.dll" ALIAS FOR "PageSetupDlgA"
      FUNCTION boolean PaintDesktop(ulong hdc) LIBRARY "user32.dll"
      FUNCTION ulong PaintRgn(ulong hdc,ulong hRgn) LIBRARY "gdi32.dll"
      FUNCTION ulong PatBlt(ulong hdc,ulong x,ulong y,ulong nWidth,ulong 
      nHeight,ulong dwRop) LIBRARY "gdi32.dll"
      FUNCTION ulong PathToRegion(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong PeekMessage(ref MSG lpMsg,ulong hwnd,ulong 
      wMsgFilterMin,ulong wMsgFilterMax,ulong wRemoveMsg) LIBRARY "user32.dll" 
      ALIAS FOR "PeekMessageA"
      FUNCTION ulong PeekNamedPipe(ulong hNamedPipe,ref Any lpBuffer,ulong 
      nBufferSize,ref ulong lpBytesRead,ref ulong lpTotalBytesAvail,ref ulong 
      lpBytesLeftThisMessage) LIBRARY "kernel32.dll"
      FUNCTION ulong Pie(ulong hdc,ulong X1,ulong Y1,ulong X2,ulong Y2,ulong 
      X3,ulong Y3,ulong X4,ulong Y4) LIBRARY "gdi32.dll"
      FUNCTION ulong PlayEnhMetaFile(ulong hdc,ulong hemf,ref RECT lpRect) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong PlayEnhMetaFileRecord(ulong hdc,ref HANDLETABLE 
      lpHandletable,ref ENHMETARECORD lpEnhMetaRecord,ulong nHandles) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong PlayMetaFile(ulong hdc,ulong hMF) LIBRARY "gdi32.dll"
      FUNCTION ulong PlayMetaFileRecord(ulong hdc,ref HANDLETABLE 
      lpHandletable,ref METARECORD lpMetaRecord,ulong nHandles) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong PlaySound(ref string lpszName,ulong hModule,ulong dwFlags) 
      LIBRARY "winmm.dll" ALIAS FOR "PlaySoundA"
      FUNCTION ulong PlgBlt(ulong hdcDest,ref POINTAPI lpPoint,ulong 
      hdcSrc,ulong nXSrc,ulong nYSrc,ulong nWidth,ulong nHeight,ulong 
      hbmMask,ulong xMask,ulong yMask) LIBRARY "gdi32.dll"
      FUNCTION ulong PolyBezier(ulong hdc,ref POINTAPI lppt,ulong cPoints) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong PolyBezierTo(ulong hdc,ref POINTAPI lppt,ulong cCount) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong PolyDraw(ulong hdc,ref POINTAPI lppt,ref Byte 
      lpbTypes,ulong cCount) LIBRARY "gdi32.dll"
      FUNCTION ulong Polygon(ulong hdc,ref POINTAPI lpPoint,ulong nCount) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong Polyline(ulong hdc,ref POINTAPI lpPoint,ulong nCount) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong PolylineTo(ulong hdc,ref POINTAPI lppt,ulong cCount) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong PolyPolygon(ulong hdc,ref POINTAPI lpPoint,ref ulong 
      lpPolyCounts,ulong nCount) LIBRARY "gdi32.dll"
      FUNCTION ulong PolyPolyline(ulong hdc,ref POINTAPI lppt,ref ulong 
      lpdwPolyPoints,ulong cCount) LIBRARY "gdi32.dll"
      FUNCTION ulong PolyTextOut(ulong hdc,ref POLYTEXT pptxt,ref ulong 
      cStrings) LIBRARY "gdi32.dll" ALIAS FOR "PolyTextOutA"
      FUNCTION ulong PostMessage(ulong hwnd,ulong wMsg,ulong wParam,ulong 
      lParam) LIBRARY "user32.dll" ALIAS FOR "PostMessageA"
      Subroutine PostQuitMessage(ulong nExitCode) LIBRARY "user32.dll"
      FUNCTION ulong PostThreadMessage(ulong idThread,ulong msg,ulong 
      wParam,ulong lParam) LIBRARY "user32.dll" ALIAS FOR "PostThreadMessageA"
      FUNCTION ulong PrepareTape(ulong hDevice,ulong dwOperation,ulong 
      bimmediate) LIBRARY "kernel32.dll"
      FUNCTION ulong PrintDlg(ref PRINTDLG pPrintdlg) LIBRARY "comdlg32.dll" 
      ALIAS FOR "PrintDlgA"
      FUNCTION ulong PrinterMessageBox(ulong hPrinter,ulong error,ulong hwnd,ref 
      string pText,ref string pCaption,ulong dwType) LIBRARY "winspool.drv" 
      ALIAS FOR "PrinterMessageBoxA"
      FUNCTION ulong PrinterProperties(ulong hwnd,ulong hPrinter) LIBRARY 
      "winspool.drv"
      FUNCTION ulong PrivilegeCheck(ulong ClientToken,ref PRIVILEGE_SET 
      RequiredPrivileges,ulong pfResult) LIBRARY "advapi32.dll"
      FUNCTION ulong PrivilegedServiceAuditAlarm(ref string SubsystemName,ref 
      string ServiceName,ulong ClientToken,ref PRIVILEGE_SET Privileges,ulong 
      AccessGranted) LIBRARY "advapi32.dll" ALIAS FOR 
      "PrivilegedServiceAuditAlarmA"
      FUNCTION ulong PtInRect(ref RECT lpRect,ref POINTAPI pt) LIBRARY 
      "user32.dll"
      FUNCTION ulong PtInRegion(ulong hRgn,ulong x,ulong y) LIBRARY "gdi32.dll"
      FUNCTION ulong PtVisible(ulong hdc,ulong x,ulong y) LIBRARY "gdi32.dll"
      FUNCTION ulong PulseEvent(ulong hEvent) LIBRARY "kernel32.dll"
      FUNCTION ulong PurgeComm(ulong hFile,ulong dwFlags) LIBRARY "kernel32.dll"
      FUNCTION ulong QueryDosDevice(ref string lpDeviceName,ref string 
      lpTargetPath,ulong ucchMax) LIBRARY "kernel32.dll" ALIAS FOR 
      "QueryDosDeviceA"
      FUNCTION ulong QueryPerformanceCounter(ref LARGE_INTEGER 
      lpPerformanceCount) LIBRARY "kernel32.dll"
      FUNCTION ulong QueryPerformanceFrequency(ref LARGE_INTEGER lpFrequency) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong QueryServiceConfig(ulong hService,ref QUERY_SERVICE_CONFIG 
      lpServiceConfig,ulong cbBufSize,ref ulong pcbBytesNeeded) LIBRARY 
      "advapi32.dll" ALIAS FOR "QueryServiceConfigA"
      FUNCTION ulong QueryServiceLockStatus(ulong hSCManager,ref 
      QUERY_SERVICE_LOCK_STATUS lpLockStatus,ulong cbBufSize,ref ulong 
      pcbBytesNeeded) LIBRARY "advapi32.dll" ALIAS FOR "QueryServiceLockStatusA"
      FUNCTION ulong QueryServiceObjectSecurity(ulong hService,ulong 
      dwSecurityInformation,ref Any lpSecurityDescriptor,ulong cbBufSize,ref 
      ulong pcbBytesNeeded) LIBRARY "advapi32.dll"
      FUNCTION ulong QueryServiceStatus(ulong hService,ref SERVICE_STATUS 
      lpServiceStatus) LIBRARY "advapi32.dll"
      Subroutine RaiseException(ulong dwExceptionCode,ulong 
      dwExceptionFlags,ulong nNumberOfArguments,ref ulong lpArguments) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong ReadConsole(ulong hConsoleInput,ref Any lpBuffer,ulong 
      nNumberOfCharsToRead,ref ulong lpNumberOfCharsRead,ref Any lpReserved) 
      LIBRARY "kernel32.dll" ALIAS FOR "ReadConsoleA"
      FUNCTION ulong ReadConsoleOutput(ulong hConsoleOutput,ref CHAR_INFO 
      lpBuffer,ref COORD dwBufferSize,ref COORD dwBufferCoord,ref SMALL_RECT 
      lpReadRegion) LIBRARY "kernel32.dll" ALIAS FOR "ReadConsoleOutputA"
      FUNCTION ulong ReadConsoleOutputAttribute(ulong hConsoleOutput,ref ulong 
      lpAttribute,ulong nLength,ref COORD dwReadCoord,ref ulong 
      lpNumberOfAttrsRead) LIBRARY "kernel32.dll"
      FUNCTION ulong ReadConsoleOutputCharacter(ulong hConsoleOutput,ref string 
      lpCharacter,ulong nLength,ref COORD dwReadCoord,ref ulong 
      lpNumberOfCharsRead) LIBRARY "kernel32.dll" ALIAS FOR 
      "ReadConsoleOutputCharacterA"
      FUNCTION ulong ReadEventLog(ulong hEventLog,ulong dwReadFlags,ulong 
      dwRecordOffset,ref EVENTLOGRECORD lpBuffer,ulong nNumberOfBytesToRead,ref 
      ulong pnBytesRead,ref ulong pnMinNumberOfBytesNeeded) LIBRARY 
      "advapi32.dll" ALIAS FOR "ReadEventLogA"
      FUNCTION ulong ReadFile(ulong hFile,ref Any lpBuffer,ulong 
      nNumberOfBytesToRead,ref ulong lpNumberOfBytesRead,ref OVERLAPPED 
      lpOverlapped) LIBRARY "kernel32.dll"
      FUNCTION boolean ReadFileEx(ulong hFile,ref Any lpBuffer,ulong 
      nNumberOfBytesToRead,ref OVERLAPPED lpOverlapped,ulong 
      lpCompletionRoutine) LIBRARY "kernel32.dll"
      FUNCTION ulong ReadPrinter(ulong hPrinter,ref Any pBuf,ulong cdBuf,ref 
      ulong pNoBytesRead) LIBRARY "winspool.drv"
      FUNCTION ulong ReadProcessMemory(ulong hProcess,ref Any lpBaseAddress,ref 
      Any lpBuffer,ulong nSize,ref ulong lpNumberOfBytesWritten) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong RealizePalette(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong Rectangle(ulong hdc,ulong X1,ulong Y1,ulong X2,ulong Y2) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong RectInRegion(ulong hRgn,ref RECT lpRect) LIBRARY 
"gdi32.dll"
      FUNCTION ulong RectVisible(ulong hdc,ref RECT lpRect) LIBRARY "gdi32.dll"
      FUNCTION ulong RedrawWindow(ulong hwnd,ref RECT lprcUpdate,ulong 
      hrgnUpdate,ulong fuRedraw) LIBRARY "user32.dll"
      FUNCTION ulong RegCloseKey(ulong hKey) LIBRARY "advapi32.dll"
      FUNCTION ulong RegConnectRegistry(ref string lpMachineName,ulong hKey,ref 
      ulong phkResult) LIBRARY "advapi32.dll" ALIAS FOR "RegConnectRegistryA"
      FUNCTION ulong RegCreateKey(ulong hKey,ref string lpSubKey,ref ulong 
      phkResult) LIBRARY "advapi32.dll" ALIAS FOR "RegCreateKeyA"
      FUNCTION ulong RegCreateKeyEx(ulong hKey,ref string lpSubKey,ulong 
      Reserved,ref string lpClass,ulong dwOptions,ulong samDesired,ref 
      SECURITY_ATTRIBUTES lpSecurityAttributes,ref ulong phkResult,ref ulong 
      lpdwDisposition) LIBRARY "advapi32.dll" ALIAS FOR "RegCreateKeyExA"
      FUNCTION ulong RegDeleteKey(ulong hKey,ref string lpSubKey) LIBRARY 
      "advapi32.dll" ALIAS FOR "RegDeleteKeyA"
      FUNCTION ulong RegDeleteValue(ulong hKey,ref string lpValueName) LIBRARY 
      "advapi32.dll" ALIAS FOR "RegDeleteValueA"
      FUNCTION ulong RegEnumKey(ulong hKey,ulong dwIndex,ref string lpName,ulong 
      cbName) LIBRARY "advapi32.dll" ALIAS FOR "RegEnumKeyA"
      FUNCTION ulong RegEnumKeyEx(ulong hKey,ulong dwIndex,ref string lpName,ref 
      ulong lpcbName,ref ulong lpReserved,ref string lpClass,ref ulong 
      lpcbClass,ref FILETIME lpftLastWriteTime) LIBRARY "advapi32.dll" ALIAS FOR 
      "RegEnumKeyExA"
      FUNCTION ulong RegEnumValue(ulong hKey,ulong dwIndex,ref string 
      lpValueName,ref ulong lpcbValueName,ref ulong lpReserved,ref ulong 
      lpType,ref Byte lpData,ref ulong lpcbData) LIBRARY "advapi32.dll" ALIAS 
      FOR "RegEnumValueA"
      FUNCTION ulong RegFlushKey(ulong hKey) LIBRARY "advapi32.dll"
      FUNCTION ulong RegGetKeySecurity((ulong hKey,ulong SecurityInformation,ref 
      SECURITY_DESCRIPTOR pSecurityDescriptor,ref ulong lpcbSecurityDescriptor) 
      LIBRARY "advapi32.dll"
      FUNCTION ulong RegisterClass(ref WNDCLASS Class) LIBRARY "user32.dll"
      FUNCTION Integer RegisterClassEx(ref WNDCLASSEX pcWndClassEx) LIBRARY 
      "user32.dll" ALIAS FOR "RegisterClassExA"
      FUNCTION ulong RegisterClipboardFormat(ref string lpString) LIBRARY 
      "user32.dll" ALIAS FOR "RegisterClipboardFormatA"
      FUNCTION ulong RegisterEventSource(ref string lpUNCServerName,ref string 
      lpSourceName) LIBRARY "advapi32.dll" ALIAS FOR "RegisterEventSourceA"
      FUNCTION ulong RegisterHotKey(ulong hwnd,ulong id,ulong fsModifiers,ulong 
      vk) LIBRARY "user32.dll"
      FUNCTION ulong RegisterServiceCtrlHandler(ref string lpServiceName,ulong 
      lpHandlerProc) LIBRARY "advapi32.dll" ALIAS FOR 
      "RegisterServiceCtrlHandlerA"
      FUNCTION ulong RegisterWindowMessage(ref string lpString) LIBRARY 
      "user32.dll" ALIAS FOR "RegisterWindowMessageA"
      FUNCTION ulong RegLoadKey(ulong hKey,ref string lpSubKey,ref string 
      lpFile) LIBRARY "advapi32.dll" ALIAS FOR "RegLoadKeyA"
      FUNCTION ulong RegNotifyChangeKeyValue(ulong hKey,ulong 
      bWatchSubtree,ulong dwNotifyFilter,ulong hEvent,ulong fAsynchronus) 
      LIBRARY "advapi32.dll"
      FUNCTION ulong RegOpenKey(ulong hKey,ref string lpSubKey,ref ulong 
      phkResult) LIBRARY "advapi32.dll" ALIAS FOR "RegOpenKeyA"
      FUNCTION ulong RegOpenKeyEx(ulong hKey,ref string lpSubKey,ulong 
      ulOptions,ulong samDesired,ref ulong phkResult) LIBRARY "advapi32.dll" 
      ALIAS FOR "RegOpenKeyExA"
      FUNCTION ulong RegQueryInfoKey(ulong hKey,ref string lpClass,ref ulong 
      lpcbClass,ref ulong lpReserved,ref ulong lpcSubKeys,ref ulong 
      lpcbMaxSubKeyLen,ref ulong lpcbMaxClassLen,ref ulong lpcValues,ref ulong 
      lpcbMaxValueNameLen,ref ulong lpcbMaxValueLen,ref ulong 
      lpcbSecurityDescriptor,ref FILETIME lpftLastWriteTime) LIBRARY 
      "advapi32.dll" ALIAS FOR "RegQueryInfoKeyA"
      FUNCTION ulong RegQueryValue(ulong hKey,ref string lpSubKey,ref string 
      lpValue,ref ulong lpcbValue) LIBRARY "advapi32.dll" ALIAS FOR 
      "RegQueryValueA"
      FUNCTION ulong RegQueryValueEx(ulong hKey,ref string lpValueName,ulong 
      lpReserved,ref ulong lpType,ref Any lpData,ref ulong lpcbData) LIBRARY 
      "advapi32.dll" ALIAS FOR "RegQueryValueExA"
      FUNCTION ulong RegReplaceKey(ulong hKey,ref string lpSubKey,ref string 
      lpNewFile,ref string lpOldFile) LIBRARY "advapi32.dll" ALIAS FOR 
      "RegReplaceKeyA"
      FUNCTION ulong RegRestoreKey(ulong hKey,ref string lpFile,ulong dwFlags) 
      LIBRARY "advapi32.dll" ALIAS FOR "RegRestoreKeyA"
      FUNCTION ulong RegSaveKey(ulong hKey,ref string lpFile,ref 
      SECURITY_ATTRIBUTES lpSecurityAttributes) LIBRARY "advapi32.dll" ALIAS FOR 
      "RegSaveKeyA"
      FUNCTION ulong RegSetKeySecurity(ulong hKey,ulong SecurityInformation,ref 
      SECURITY_DESCRIPTOR pSecurityDescriptor) LIBRARY "advapi32.dll"
      FUNCTION ulong RegSetValue(ulong hKey,ref string lpSubKey,ulong dwType,ref 
      string lpData,ulong cbData) LIBRARY "advapi32.dll" ALIAS FOR 
"RegSetValueA"
      FUNCTION ulong RegSetValueEx(ulong hKey,ref string lpValueName,ulong 
      Reserved,ulong dwType,ref Any lpData,ulong cbData) LIBRARY "advapi32.dll" 
      ALIAS FOR "RegSetValueExA"
      FUNCTION ulong RegUnLoadKey(ulong hKey,ref string lpSubKey) LIBRARY 
      "advapi32.dll" ALIAS FOR "RegUnLoadKeyA"
      FUNCTION ulong ReleaseCapture() LIBRARY "user32.dll"
      FUNCTION ulong ReleaseDC(ulong hwnd,ulong hdc) LIBRARY "user32.dll"
      FUNCTION ulong ReleaseMutex(ulong hMutex) LIBRARY "kernel32.dll"
      FUNCTION ulong ReleaseSemaphore(ulong hSemaphore,ulong lReleaseCount,ref 
      ulong lpPreviousCount) LIBRARY "kernel32.dll"
      FUNCTION ulong RemoveDirectory(ref string lpPathName) LIBRARY 
      "kernel32.dll" ALIAS FOR "RemoveDirectoryA"
      FUNCTION ulong RemoveFontResource(ref string lpFileName) LIBRARY 
      "gdi32.dll" ALIAS FOR "RemoveFontResourceA"
      FUNCTION ulong RemoveMenu(ulong hMenu,ulong nPosition,ulong wFlags) 
      LIBRARY "user32.dll"
      FUNCTION ulong RemoveProp(ulong hwnd,ref string lpString) LIBRARY 
      "user32.dll" ALIAS FOR "RemovePropA"
      FUNCTION ulong ReplaceText(ref FINDREPLACE pFindreplace) LIBRARY 
      "comdlg32.dll" ALIAS FOR "ReplaceTextA"
      FUNCTION ulong ReplyMessage(ulong lReply) LIBRARY "user32.dll"
      FUNCTION ulong ReportEvent(ulong hEventLog,ulong wType,ulong 
      wCategory,ulong dwEventID,ref Any lpUserSid,ulong wNumStrings,ulong 
      dwDataSize,ulong lpStrings,ref Any lpRawData) LIBRARY "advapi32.dll" ALIAS 
      FOR "ReportEventA"
      FUNCTION ulong ResetDC(ulong hdc,ref DEVMODE lpInitData) LIBRARY 
      "gdi32.dll" ALIAS FOR "ResetDCA"
      FUNCTION ulong ResetEvent(ulong hEvent) LIBRARY "kernel32.dll"
      FUNCTION ulong ResetPrinter(ulong hPrinter,ref PRINTER_DEFAULTS pDefault) 
      LIBRARY "winspool.drv" ALIAS FOR "ResetPrinterA"
      FUNCTION ulong ResizePalette(ulong hPalette,ulong nNumEntries) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong RestoreDC(ulong hdc,ulong nSavedDC) LIBRARY "gdi32.dll"
      FUNCTION ulong ResumeThread(ulong hThread) LIBRARY "kernel32.dll"
      FUNCTION ulong ReuseDDElParam(ulong lParam,ulong msgIn,ulong msgOut,ulong 
      uiLo,ulong uiHi) LIBRARY "user32.dll"
      FUNCTION ulong RevertToSelf() LIBRARY "advapi32.dll"
      FUNCTION ulong RoundRect(ulong hdc,ulong X1,ulong Y1,ulong X2,ulong 
      Y2,ulong X3,ulong Y3) LIBRARY "gdi32.dll"
      FUNCTION ulong SaveDC(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong ScaleViewportExtEx(ulong hdc,ulong nXnum,ulong 
      nXdenom,ulong nYnum,ulong nYdenom,ref SIZE lpSize) LIBRARY "gdi32.dll"
      FUNCTION ulong ScaleWindowExtEx(ulong hdc,ulong nXnum,ulong nXdenom,ulong 
      nYnum,ulong nYdenom,ref SIZE lpSize) LIBRARY "gdi32.dll"
      FUNCTION ulong ScheduleJob(ulong hPrinter,ulong JobId) LIBRARY 
      "winspool.drv"
      FUNCTION ulong ScreenToClient(ulong hwnd,ref POINTAPI lpPoint) LIBRARY 
      "user32.dll"
      FUNCTION ulong ScrollConsoleScreenBuffer(ulong hConsoleOutput,ref 
      SMALL_RECT lpScrollRectangle,ref SMALL_RECT lpClipRectangle,ref COORD 
      dwDestinationOrigin,ref CHAR_INFO lpFill) LIBRARY "kernel32.dll" ALIAS FOR 
      "ScrollConsoleScreenBufferA"
      FUNCTION ulong ScrollDC(ulong hdc,ulong dx,ulong dy,ref RECT 
      lprcScroll,ref RECT lprcClip,ulong hrgnUpdate,ref RECT lprcUpdate) LIBRARY 
      "user32.dll"
      FUNCTION ulong ScrollWindow(ulong hWnd,ulong XAmount,ulong YAmount,ref 
      RECT lpRect,ref RECT lpClipRect) LIBRARY "user32.dll"
      FUNCTION ulong ScrollWindowEx(ulong hwnd,ulong dx,ulong dy,ref RECT 
      lprcScroll,ref RECT lprcClip,ulong hrgnUpdate,ref RECT lprcUpdate,ulong 
      fuScroll) LIBRARY "user32.dll"
      FUNCTION ulong SearchPath(ref string lpPath,ref string lpFileName,ref 
      string lpExtension,ulong nBufferLength,ref string lpBuffer,ref string 
      lpFilePart) LIBRARY "kernel32.dll" ALIAS FOR "SearchPathA"
      FUNCTION ulong SelectClipPath(ulong hdc,ulong iMode) LIBRARY "gdi32.dll"
      FUNCTION ulong SelectClipRgn(ulong hdc,ulong hRgn) LIBRARY "gdi32.dll"
      FUNCTION ulong SelectObject(ulong hdc,ulong hObject) LIBRARY "user32.dll"
      FUNCTION ulong SelectPalette(ulong hdc,ulong hPalette,ulong 
      bForceBackground) LIBRARY "gdi32.dll"
      FUNCTION ulong SendDlgItemMessage(ulong hDlg,ulong nIDDlgItem,ulong 
      wMsg,ulong wParam,ulong lParam) LIBRARY "user32.dll" ALIAS FOR 
      "SendDlgItemMessageA"
      FUNCTION ulong SendDriverMessage(ulong hDriver,ulong message,ulong 
      lParam1,ulong lParam2) LIBRARY "winmm.dll"
      FUNCTION ulong SendMessage(ulong hwnd,ulong wMsg,ulong wParam,ref ulong 
      lParam) LIBRARY "user32.dll" ALIAS FOR "SendMessageA"
      FUNCTION ulong SendMessageCallback(ulong hwnd,ulong msg,ulong wParam,ulong 
      lParam,ulong lpResultCallBack,ulong dwData) LIBRARY "user32.dll" ALIAS FOR 
      "SendMessageCallbackA"
      FUNCTION ulong SendMessageTimeout(ulong hwnd,ulong msg,ulong wParam,ulong 
      lParam,ulong fuFlags,ulong uTimeout,ref ulong lpdwResult) LIBRARY 
      "user32.dll" ALIAS FOR "SendMessageTimeoutA"
      FUNCTION ulong SendNotifyMessage(ulong hwnd,ulong msg,ulong wParam,ulong 
      lParam) LIBRARY "user32.dll" ALIAS FOR "SendNotifyMessageA"
      FUNCTION ulong SetAbortProc(ulong hDC,ulong lpAbortProc) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SetAclInformation(ref ACL pAcl,ref Any 
      pAclInformation,ulong nAclInformationLength,Integer dwAclInformationClass) 
      LIBRARY "advapi32.dll"
      FUNCTION ulong SetActiveWindow(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong SetArcDirection(ulong hdc,ulong ArcDirection) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SetBitmapBits(ulong hBitmap,ulong dwCount,ref Any lpBits) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong SetBitmapDimensionEx(ulong hbm,ulong nX,ulong nY,ref SIZE 
      lpSize) LIBRARY "gdi32.dll"
      FUNCTION ulong SetBkColor(ulong hdc,ulong crColor) LIBRARY "gdi32.dll"
      FUNCTION ulong SetBkMode(ulong hdc,ulong nBkMode) LIBRARY "gdi32.dll"
      FUNCTION ulong SetBoundsRect(ulong hdc,ref RECT lprcBounds,ulong flags) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong SetBrushOrgEx(ulong hdc,ulong nXOrg,ulong nYOrg,ref 
      POINTAPI lppt) LIBRARY "gdi32.dll"
      FUNCTION ulong SetCapture(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong SetCaretBlinkTime(ulong wMSeconds) LIBRARY "user32.dll"
      FUNCTION ulong SetCaretPos(ulong x,ulong y) LIBRARY "user32.dll"
      FUNCTION ulong SetClassulong(ulong hwnd,ulong nIndex,ulong dwNewLong) 
      LIBRARY "user32.dll" ALIAS FOR "SetClassLongA"
      FUNCTION ulong SetClassWord(ulong hwnd,ulong nIndex,ulong wNewWord) 
      LIBRARY "user32.dll"
      FUNCTION ulong SetClipboardData(ulong wFormat,ulong hMem) LIBRARY 
      "user32.dll" ALIAS FOR "SetClipboardDataA"
      FUNCTION ulong SetClipboardViewer(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong SetColorAdjustment(ulong hdc,ref COLORADJUSTMENT lpca) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong SetColorSpace(ulong hdc,ulong hcolorspace) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SetCommBreak(ulong nCid) LIBRARY "kernel32.dll"
      FUNCTION boolean SetCommConfig(ulong hCommDev,ref COMMCONFIG lpCC,ulong 
      dwSize) LIBRARY "kernel32.dll"
      FUNCTION ulong SetCommMask(ulong hFile,ulong dwEvtMask) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetCommState(ulong hCommDev,ref DCB lpDCB) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetCommTimeouts(ulong hFile,ref COMMTIMEOUTS 
      lpCommTimeouts) LIBRARY "kernel32.dll"
      FUNCTION ulong SetComputerName(ref string lpComputerName) LIBRARY 
      "kernel32.dll" ALIAS FOR "SetComputerNameA"
      FUNCTION ulong SetConsoleActiveScreenBuffer(ulong hConsoleOutput) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetConsoleCP(ulong wCodePageID) LIBRARY "kernel32.dll"
      FUNCTION ulong SetConsoleCtrlHandler(ulong HandlerRoutine,ulong Add) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong SetConsoleCursorInfo(ulong hConsoleOutput,ref 
      CONSOLE_CURSOR_INFO lpConsoleCursorInfo) LIBRARY "kernel32.dll"
      FUNCTION ulong SetConsoleCursorPosition(ulong hConsoleOutput,ref COORD 
      dwCursorPosition) LIBRARY "kernel32.dll"
      FUNCTION ulong SetConsoleMode(ulong hConsoleHandle,ulong dwMode) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetConsoleOutputCP(ulong wCodePageID) LIBRARY 
"kernel32.dll"
      FUNCTION ulong SetConsoleScreenBufferSize(ulong hConsoleOutput,ref COORD 
      dwSize) LIBRARY "kernel32.dll"
      FUNCTION ulong SetConsoleTextAttribute(ulong hConsoleOutput,ulong 
      wAttributes) LIBRARY "kernel32.dll"
      FUNCTION ulong SetConsoleTitle(ref string lpConsoleTitle) LIBRARY 
      "kernel32.dll" ALIAS FOR "SetConsoleTitleA"
      FUNCTION ulong SetConsoleWindowInfo(ulong hConsoleOutput,ulong 
      bAbsolute,ref SMALL_RECT lpConsoleWindow) LIBRARY "kernel32.dll"
      FUNCTION ulong SetCurrentDirectory(ref string lpPathName) LIBRARY 
      "kernel32.dll" ALIAS FOR "SetCurrentDirectoryA"
      FUNCTION ulong SetCursor(ulong hCursor) LIBRARY "user32.dll"
      FUNCTION ulong SetCursorPos(ulong x,ulong y) LIBRARY "user32.dll"
      Subroutine SetDebugErrorLevel(ulong dwLevel) LIBRARY "user32.dll"
      FUNCTION boolean SetDefaultCommConfig(ref string lpszName,ref COMMCONFIG 
      lpCC,ulong dwSize) LIBRARY "kernel32.dll" ALIAS FOR 
"SetDefaultCommConfigA"
      FUNCTION ulong SetDeviceGammaRamp(ulong hdc,ref Any lpv) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SetDIBColorTable(ulong hDC,ulong un1,ulong un2,ref RGBQUAD 
      pcRGBQuad) LIBRARY "gdi32.dll"
      FUNCTION ulong SetDIBits(ulong hdc,ulong hBitmap,ulong nStartScan,ulong 
      nNumScans,ref Any lpBits,ref BITMAPINFO lpBI,ulong wUsage) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SetDIBitsToDevice(ulong hdc,ulong x,ulong y,ulong dx,ulong 
      dy,ulong SrcX,ulong SrcY,ulong Scan,ulong NumScans,ref Any Bits,ref 
      BITMAPINFO BitsInfo,ulong wUsage) LIBRARY "gdi32.dll"
      FUNCTION ulong SetDlgItemInt(ulong hDlg,ulong nIDDlgItem,ulong 
      wValue,ulong bSigned) LIBRARY "user32.dll"
      FUNCTION ulong SetDlgItemText(ulong hDlg,ulong nIDDlgItem,ref string 
      lpString) LIBRARY "user32.dll" ALIAS FOR "SetDlgItemTextA"
      FUNCTION ulong SetDoubleClickTime(ulong wCount) LIBRARY "user32.dll"
      FUNCTION ulong SetEndOfFile(ulong hFile) LIBRARY "kernel32.dll"
      FUNCTION ulong SetEnhMetaFileBits(ulong cbBuffer,ref Byte lpData) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SetEnvironmentVariable(ref string lpName,ref string 
      lpValue) LIBRARY "kernel32.dll" ALIAS FOR "SetEnvironmentVariableA"
      FUNCTION ulong SetErrorMode(ulong wMode) LIBRARY "kernel32.dll"
      FUNCTION ulong SetEvent(ulong hEvent) LIBRARY "kernel32.dll"
      Subroutine SetFileApisToANSI() LIBRARY "kernel32.dll"
      Subroutine SetFileApisToOEM() LIBRARY "kernel32.dll"
      FUNCTION ulong SetFileAttributes(ref string lpFileName,ulong 
      dwFileAttributes) LIBRARY "kernel32.dll" ALIAS FOR "SetFileAttributesA"
      FUNCTION ulong SetFilePointer(ulong hFile,ulong lDistanceToMove,ref ulong 
      lpDistanceToMoveHigh,ulong dwMoveMethod) LIBRARY "kernel32.dll"
      FUNCTION ulong SetFileSecurity(ref string lpFileName,ulong 
      SecurityInformation,ref SECURITY_DESCRIPTOR pSecurityDescriptor) LIBRARY 
      "advapi32.dll" ALIAS FOR "SetFileSecurityA"
      FUNCTION ulong SetFileTime(ulong hFile,ref FILETIME lpCreationTime,ref 
      FILETIME lpLastAccessTime,ref FILETIME lpLastWriteTime) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetFocus(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong SetForegroundWindow(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong SetForm(ulong hPrinter,ref string pFormName,ulong Level,ref 
      Byte pForm) LIBRARY "winspool.drv" ALIAS FOR "SetFormA"
      FUNCTION ulong SetGraphicsMode(ulong hdc,ulong iMode) LIBRARY "gdi32.dll"
      FUNCTION ulong SetHandleCount(ulong wNumber) LIBRARY "kernel32.dll"
      FUNCTION boolean SetHandleInformation(ulong hObject,ulong dwMask,ulong 
      dwFlags) LIBRARY "kernel32.dll"
      FUNCTION ulong SetICMMode(ulong hdc,ulong n) LIBRARY "gdi32.dll"
      FUNCTION ulong SetICMProfile(ulong hdc,ref string lpStr) LIBRARY 
      "gdi32.dll" ALIAS FOR "SetICMProfileA"
      FUNCTION ulong SetJob(ulong hPrinter,ulong JobId,ulong Level,ref Byte 
      pJob,ulong Command) LIBRARY "winspool.drv" ALIAS FOR "SetJobA"
      FUNCTION ulong SetKernelObjectSecurity(ulong Handle,ulong 
      SecurityInformation,ref SECURITY_DESCRIPTOR SecurityDescriptor) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong SetKeyboardState(ref Byte lppbKeyState) LIBRARY 
"user32.dll"
      Subroutine SetLastError(ulong dwErrCode) LIBRARY "kernel32.dll"
      Subroutine SetLastErrorEx(ulong dwErrCode,ulong dwType) LIBRARY 
      "user32.dll"
      FUNCTION boolean SetLocaleInfo(ulong Locale,ulong LCType,ref string 
      lpLCData) LIBRARY "kernel32.dll" ALIAS FOR "SetLocaleInfoA"
      FUNCTION ulong SetLocalTime(ref SYSTEMTIME lpSystemTime) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetMailslotInfo(ulong hMailslot,ulong lReadTimeout) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetMapMode(ulong hdc,ulong nMapMode) LIBRARY "gdi32.dll"
      FUNCTION ulong SetMapperFlags(ulong hdc,ulong dwFlag) LIBRARY "gdi32.dll"
      FUNCTION ulong SetMenu(ulong hwnd,ulong hMenu) LIBRARY "user32.dll"
      FUNCTION boolean SetMenuContextHelpId(ulong hMenu,ulong dw) LIBRARY 
      "user32.dll"
      FUNCTION boolean SetMenuDefaultItem(ulong hMenu,ulong uItem,ulong fByPos) 
      LIBRARY "user32.dll"
      FUNCTION ulong SetMenuItemBitmaps(ulong hMenu,ulong nPosition,ulong 
      wFlags,ulong hBitmapUnchecked,ulong hBitmapChecked) LIBRARY "user32.dll"
      FUNCTION boolean SetMenuItemInfo(ulong hMenu,ulong un,boolean bool,ref 
      MENUITEMINFO lpcMenuItemInfo) LIBRARY "user32.dll" ALIAS FOR 
      "SetMenuItemInfoA"
      FUNCTION ulong SetMessageExtraInfo(ulong lParam) LIBRARY "user32.dll"
      FUNCTION boolean SetMessageQueue(ulong cMessagesMax) LIBRARY "user32.dll"
      FUNCTION ulong SetMetaFileBitsEx(ulong nSize,ref Byte lpData) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SetMetaRgn(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong SetMiterLimit(ulong hdc,Double eNewLimit,ref Double 
      peOldLimit) LIBRARY "gdi32.dll"
      FUNCTION ulong SetNamedPipeHandleState(ulong hNamedPipe,ref ulong 
      lpMode,ref ulong lpMaxCollectionCount,ref ulong lpCollectDataTimeout) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong SetPaletteEntries(ulong hPalette,ulong wStartIndex,ulong 
      wNumEntries,ref PALETTEENTRY lpPaletteEntries) LIBRARY "gdi32.dll"
      FUNCTION ulong SetParent(ulong hWndChild,ulong hWndNewParent) LIBRARY 
      "user32.dll"
      FUNCTION ulong SetPixel(ulong hdc,ulong x,ulong y,ulong crColor) LIBRARY 
      "gdi32.dll"
      FUNCTION boolean SetPixelFormat(ulong hDC,ulong n,ref 
      PIXELFORMATDESCRIPTOR pcPixelFormatDescriptor) LIBRARY "gdi32.dll"
      FUNCTION ulong SetPixelV(ulong hdc,ulong x,ulong y,ulong crColor) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SetPolyFillMode(ulong hdc,ulong nPolyFillMode) LIBRARY 
      "gdi32.dll"
      FUNCTION boolean SetPrinter(ulong hPrinter,ulong Level,ref Byte 
      pPrinter,ulong Command) LIBRARY "winspool" ALIAS FOR "SetPrinterA"
      FUNCTION ulong SetPrinterData(ulong hPrinter,ref string pValueName,ulong 
      dwType,ref Byte pData,ulong cbData) LIBRARY "winspool.drv" ALIAS FOR 
      "SetPrinterDataA"
      FUNCTION ulong SetPriorityClass(ulong hProcess,ulong dwPriorityClass) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong SetPrivateObjectSecurity(ulong SecurityInformation,ref 
      SECURITY_DESCRIPTOR ModificationDescriptor,ref SECURITY_DESCRIPTOR 
      ObjectsSecurityDescriptor,ref GENERIC_MAPPING GenericMapping,ulong Token) 
      LIBRARY "advapi32.dll"
      FUNCTION ulong SetProcessShutdownParameters(ulong dwLevel,ulong dwFlags) 
      LIBRARY "kernel32.dll"
      FUNCTION boolean SetProcessWindowStation(ulong hWinSta) LIBRARY 
      "user32.dll"
      FUNCTION boolean SetProcessWorkingSetSize(ulong hProcess,ulong 
      dwMinimumWorkingSetSize,ulong dwMaximumWorkingSetSize) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetProp(ulong hwnd,ref string lpString,ulong hData) LIBRARY 
      "user32.dll" ALIAS FOR "SetPropA"
      FUNCTION ulong SetRect(ref RECT lpRect,ulong X1,ulong Y1,ulong X2,ulong 
      Y2) LIBRARY "user32.dll"
      FUNCTION ulong SetRectEmpty(ref RECT lpRect) LIBRARY "user32.dll"
      FUNCTION ulong SetRectRgn(ulong hRgn,ulong X1,ulong Y1,ulong X2,ulong Y2) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong SetROP2(ulong hdc,ulong nDrawMode) LIBRARY "gdi32.dll"
      FUNCTION ulong SetScrollInfo(ulong hWnd,ulong n,ref SCROLLINFO 
      lpcScrollInfo,boolean bool) LIBRARY "user32.dll"
      FUNCTION ulong SetScrollPos(ulong hwnd,ulong nBar,ulong nPos,ulong 
      bRedraw) LIBRARY "user32.dll"
      FUNCTION ulong SetScrollRange(ulong hwnd,ulong nBar,ulong nMinPos,ulong 
      nMaxPos,ulong bRedraw) LIBRARY "user32.dll"
      FUNCTION ulong SetSecurityDescriptorDacl(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ulong bDaclPresent,ref ACL pDacl,ulong bDaclDefaulted) 
      LIBRARY "advapi32.dll"
      FUNCTION ulong SetSecurityDescriptorGroup(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ref Any pGroup,ulong bGroupDefaulted) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong SetSecurityDescriptorOwner(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ref Any pOwner,ulong bOwnerDefaulted) LIBRARY 
      "advapi32.dll"
      FUNCTION ulong SetSecurityDescriptorSacl(ref SECURITY_DESCRIPTOR 
      pSecurityDescriptor,ulong bSaclPresent,ref ACL pSacl,ulong bSaclDefaulted) 
      LIBRARY "advapi32.dll"
      FUNCTION boolean SetServiceBits(ulong hServiceStatus,ulong 
      dwServiceBits,boolean bSetBitsOn,boolean bUpdateImmediately) LIBRARY 
      "advapi32"
      FUNCTION ulong SetServiceObjectSecurity(ulong hService,ulong 
      dwSecurityInformation,ref Any lpSecurityDescriptor) LIBRARY "advapi32.dll"
      FUNCTION ulong SetServiceStatus(ulong hServiceStatus,ref SERVICE_STATUS 
      lpServiceStatus) LIBRARY "advapi32.dll"
      FUNCTION ulong SetStdHandle(ulong nStdHandle,ulong nHandle) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetStretchBltMode(ulong hdc,ulong nStretchMode) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SetSysColors(ulong nChanges,ref ulong lpSysColor,ref ulong 
      lpColorValues) LIBRARY "user32.dll"
      FUNCTION boolean SetSystemCursor(ulong hcur,ulong id) LIBRARY "user32.dll"
      FUNCTION ulong SetSystemPaletteUse(ulong hdc,ulong wUsage) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SetSystemPowerState(ulong fSuspend,ulong fForce) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetSystemTime(ref SYSTEMTIME lpSystemTime) LIBRARY 
      "kernel32.dll"
      FUNCTION boolean SetSystemTimeAdjustment(ulong dwTimeAdjustment,boolean 
      bTimeAdjustmentDisabled) LIBRARY "kernel32.dll"
      FUNCTION ulong SetTapeParameters(ulong hDevice,ulong dwOperation,ref Any 
      lpTapeInformation) LIBRARY "kernel32.dll"
      FUNCTION ulong SetTapePosition(ulong hDevice,ulong dwPositionMethod,ulong 
      dwPartition,ulong dwOffsetLow,ulong dwOffsetHigh,ulong bimmediate) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong SetTextAlign(ulong hdc,ulong wFlags) LIBRARY "gdi32.dll"
      FUNCTION ulong SetTextCharacterExtra(ulong hdc,ulong nCharExtra) LIBRARY 
      "gdi32.dll" ALIAS FOR "SetTextCharacterExtraA"
      FUNCTION ulong SetTextColor(ulong hdc,ulong crColor) LIBRARY "gdi32.dll"
      FUNCTION ulong SetTextJustification(ulong hdc,ulong nBreakExtra,ulong 
      nBreakCount) LIBRARY "gdi32.dll"
      FUNCTION ulong SetThreadAffinityMask(ulong hThread,ulong 
      dwThreadAffinityMask) LIBRARY "kernel32.dll"
      FUNCTION ulong SetThreadContext(ulong hThread,ref CONTEXT lpContext) 
      LIBRARY "kernel32.dll"
      FUNCTION boolean SetThreadDesktop(ulong hDesktop) LIBRARY "user32.dll"
      FUNCTION ulong SetThreadLocale(ulong Locale) LIBRARY "kernel32.dll"
      FUNCTION ulong SetThreadPriority(ulong hThread,ulong nPriority) LIBRARY 
      "kernel32.dll"
      FUNCTION boolean SetThreadToken(ref ulong Thread,ulong Token) LIBRARY 
      "advapi32"
      FUNCTION ulong SetTimer(ulong hWnd,ulong nIDEvent,ulong uElapse,,ulong 
      lpTimerFunc) LIBRARY "user32.dll"
      FUNCTION ulong SetTimeZoneInformation(ref TIME_ZONE_INFORMATION 
      lpTimeZoneInformation) LIBRARY "kernel32.dll"
      FUNCTION ulong SetTokenInformation(ulong TokenHandle,ref Integer 
      TokenInformationClass,ref Any TokenInformation,ulong 
      TokenInformationLength) LIBRARY "advapi32.dll"
      FUNCTION ulong SetUnhandledExceptionFilter(ulong 
      lpTopLevelExceptionFilter) LIBRARY "kernel32.dll"
      FUNCTION ulong SetupComm(ulong hFile,ulong dwInQueue,ulong dwOutQueue) 
      LIBRARY "kernel32.dll"
      FUNCTION boolean SetUserObjectInformation(ulong hObj,ulong nIndex,ref Any 
      pvInfo,ulong nLength) LIBRARY "user32.dll" ALIAS FOR 
      "SetUserObjectInformationA"
      FUNCTION ulong SetUserObjectSecurity(ulong hObj,ref ulong pSIRequested,ref 
      SECURITY_DESCRIPTOR pSd) LIBRARY "user32.dll"
      FUNCTION ulong SetViewportExtEx(ulong hdc,ulong nX,ulong nY,ref SIZE 
      lpSize) LIBRARY "gdi32.dll"
      FUNCTION ulong SetViewportOrgEx(ulong hdc,ulong nX,ulong nY,ref POINTAPI 
      lpPoint) LIBRARY "gdi32.dll"
      FUNCTION ulong SetVolumeLabel(ref string lpRootPathName,ref string 
      lpVolumeName) LIBRARY "kernel32.dll" ALIAS FOR "SetVolumeLabelA"
      FUNCTION boolean SetWindowContextHelpId(ulong hWnd,ulong dw) LIBRARY 
      "user32.dll"
      FUNCTION ulong SetWindowExtEx(ulong hdc,ulong nX,ulong nY,ref SIZE lpSize) 
      LIBRARY "gdi32.dll"
      FUNCTION ulong SetWindowulong(ulong hwnd,ulong nIndex,ulong dwNewLong) 
      LIBRARY "user32.dll" ALIAS FOR "SetWindowLongA"
      FUNCTION ulong SetWindowOrgEx(ulong hdc,ulong nX,ulong nY,ref POINTAPI 
      lpPoint) LIBRARY "gdi32.dll"
      FUNCTION ulong SetWindowPlacement(ulong hwnd,ref WINDOWPLACEMENT lpwndpl) 
      LIBRARY "user32.dll"
      FUNCTION ulong SetWindowPos(ulong hwnd,ulong hWndInsertAfter,ulong x,ulong 
      y,ulong cx,ulong cy,ulong wFlags) LIBRARY "user32.dll"
      FUNCTION ulong SetWindowRgn(ulong hWnd,ulong hRgn,boolean bRedraw) LIBRARY 
      "user32.dll"
      FUNCTION ulong SetWindowsHook(ulong nFilterType,ulong pfnFilterProc) 
      LIBRARY "user32.dll" ALIAS FOR "SetWindowsHookA"
      FUNCTION ulong SetWindowsHookEx(ulong idHook,ulong lpfn,ulong hmod,ulong 
      dwThreadId) LIBRARY "user32.dll" ALIAS FOR "SetWindowsHookExA"
      FUNCTION ulong SetWindowText(ulong hwnd,ref string lpString) LIBRARY 
      "user32.dll" ALIAS FOR "SetWindowTextA"
      FUNCTION ulong SetWindowWord(ulong hwnd,ulong nIndex,ulong wNewWord) 
      LIBRARY "user32.dll"
      FUNCTION ulong SetWinMetaFileBits(ulong cbBuffer,ref Byte lpbBuffer,ulong 
      hdcref,ref METAFILEPICT lpmfp) LIBRARY "gdi32.dll"
      FUNCTION ulong SetWorldTransform(ulong hdc,ref xform lpXform) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong SHAppBarMessage(ulong dwMessage,ref APPBARDATA pData) 
      LIBRARY "shell32.dll"
      FUNCTION ulong Shell_NotifyIcon(ulong dwMessage,ref NOTIFYICONDATA lpData) 
      LIBRARY "shell32.dll" ALIAS FOR "
      FUNCTION ulong ShellAbout(ulong hwnd,ref string szApp,ref string 
      szOtherStuff,ulong hIcon) LIBRARY "shell32.dll" ALIAS FOR "ShellAboutA"
      FUNCTION ulong ShellExecute(ulong hwnd,ref string lpOperation,ref string 
      lpFile,ref string lpParameters,ref string lpDirectory,ulong nShowCmd) 
      LIBRARY "shell32.dll" ALIAS FOR "ShellExecuteA"
      FUNCTION ulong SHFileOperation(ref SHFILEOPSTRUCT lpFileOp) LIBRARY 
      "shell32.dll" ALIAS FOR "
      Subroutine SHFreeNameMappings(ulong hNameMappings) LIBRARY "shell32.dll"
      FUNCTION ulong SHGetFileInfo(ref string pszPath,ulong dwFileAttributes,ref 
      SHFILEINFO psfi,ulong cbFileInfo,ulong uFlags) LIBRARY "shell32.dll" ALIAS 
      FOR "
      FUNCTION ulong SHGetNewLinkInfo(ref string pszLinkto,ref string pszDir,ref 
      string pszName,ref ulong pfMustCopy,ulong uFlags) LIBRARY "shell32.dll" 
      ALIAS FOR "SHGetNewLinkInfoA"
      FUNCTION ulong ShowCaret(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong ShowCursor(ulong bShow) LIBRARY "user32.dll"
      FUNCTION ulong ShowOwnedPopups(ulong hwnd,ulong fShow) LIBRARY 
"user32.dll"
      FUNCTION ulong ShowScrollBar(ulong hwnd,ulong wBar,ulong bShow) LIBRARY 
      "user32.dll"
      FUNCTION ulong ShowWindow(ulong hwnd,ulong nCmdShow) LIBRARY "user32.dll"
      FUNCTION boolean ShowWindowAsync(ulong hWnd,ulong nCmdShow) LIBRARY 
      "user32.dll"
      FUNCTION ulong SizeofResource(ulong hInstance,ulong hResInfo) LIBRARY 
      "kernel32.dll"
      Subroutine Sleep(ulong dwMilliseconds) LIBRARY "kernel32.dll"
      FUNCTION ulong SleepEx(ulong dwMilliseconds,ulong bAlertable) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong sndPlaySound(ref string lpszSoundName,ulong uFlags) LIBRARY 
      "winmm.dll" ALIAS FOR "sndPlaySoundA"
      FUNCTION ulong StartDoc(ulong hdc,ref DOCINFO lpdi) LIBRARY "gdi32.dll" 
      ALIAS FOR "StartDocA"
      FUNCTION ulong StartDocPrinter(ulong hPrinter,ulong Level,ref Byte 
      pDocInfo) LIBRARY "winspool.drv" ALIAS FOR "StartDocPrinterA"
      FUNCTION ulong StartPage(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong StartPagePrinter(ulong hPrinter) LIBRARY "winspool.drv"
      FUNCTION ulong StartService(ulong hService,ulong dwNumServiceArgs,ulong 
      lpServiceArgVectors) LIBRARY "advapi32.dll" ALIAS FOR "StartServiceA"
      FUNCTION ulong StartServiceCtrlDispatcher(ref SERVICE_TABLE_ENTRY 
      lpServiceStartTable) LIBRARY "advapi32.dll" ALIAS FOR 
      "StartServiceCtrlDispatcherA"
      FUNCTION ulong StretchBlt(ulong hdc,ulong x,ulong y,ulong nWidth,ulong 
      nHeight,ulong hSrcDC,ulong xSrc,ulong ySrc,ulong nSrcWidth,ulong 
      nSrcHeight,ulong dwRop) LIBRARY "gdi32.dll"
      FUNCTION ulong StretchDIBits(ulong hdc,ulong x,ulong y,ulong dx,ulong 
      dy,ulong SrcX,ulong SrcY,ulong wSrcWidth,ulong wSrcHeight,ref Any 
      lpBits,ref BITMAPINFO lpBitsInfo,ulong wUsage,ulong dwRop) LIBRARY 
      "gdi32.dll"
      FUNCTION ulong StrokeAndFillPath(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong StrokePath(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong SubtractRect(ref RECT lprcDst,ref RECT lprcSrc1,ref RECT 
      lprcSrc2) LIBRARY "user32.dll"
      FUNCTION ulong SuspendThread(ulong hThread) LIBRARY "kernel32.dll"
      FUNCTION boolean SwapBuffers(ulong hDC) LIBRARY "gdi32.dll"
      FUNCTION ulong SwapMouseButton(ulong bSwap) LIBRARY "user32.dll"
      FUNCTION boolean SwitchDesktop(ulong hDesktop) LIBRARY "user32.dll"
      FUNCTION ulong SystemParametersInfo(ulong uAction,ulong uParam,Any 
      lpvParam,ulong fuWinIni) LIBRARY "user32.dll" ALIAS FOR 
      "SystemParametersInfoA"
      FUNCTION ulong SystemTimeToFileTime(ref SYSTEMTIME lpSystemTime,ref 
      FILETIME lpFileTime) LIBRARY "kernel32.dll"
      FUNCTION boolean SystemTimeToTzSpecificLocalTime(ref TIME_ZONE_INFORMATION 
      lpTimeZoneInformation,ref SYSTEMTIME lpUniversalTime,ref SYSTEMTIME 
      lpLocalTime) LIBRARY "kernel32.dll"
      FUNCTION ulong TabbedTextOut(ulong hdc,ulong x,ulong y,ref string 
      lpString,ulong nCount,ulong nTabPositions,ref ulong 
      lpnTabStopPositions,ulong nTabOrigin) LIBRARY "user32.dll" ALIAS FOR 
      "TabbedTextOutA"
      FUNCTION ulong TerminateProcess(ulong hProcess,ulong uExitCode) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong TerminateThread(ulong hThread,ulong dwExitCode) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong TextOut(ulong hdc,ulong x,ulong y,ref string lpString,ulong 
      nCount) LIBRARY "gdi32.dll" ALIAS FOR "TextOutA"
      FUNCTION Integer TileWindows(ulong hwndParent,ulong wHow,ref Rect 
      lpRect,ulong cKids,ref ulong lpKids) LIBRARY "user32.dll"
      FUNCTION ulong timeBeginPeriod(ulong uPeriod) LIBRARY "winmm.dll"
      FUNCTION ulong timeEndPeriod(ulong uPeriod) LIBRARY "winmm.dll"
      FUNCTION ulong timeGetDevCaps(ref TIMECAPS lpTimeCaps,ulong uSize) LIBRARY 
      "winmm.dll"
      FUNCTION ulong timeGetSystemTime(ref MMTIME lpTime,ulong uSize) LIBRARY 
      "winmm.dll"
      FUNCTION ulong timeGetTime() LIBRARY "winmm.dll"
      FUNCTION ulong timeKillEvent(ulong uID) LIBRARY "winmm.dll"
      FUNCTION ulong timeSetEvent(ulong uDelay,ulong uResolution,ulong 
      lpFUNCTION,ulong dwUser,ulong uFlags) LIBRARY "winmm.dll"
      FUNCTION ulong TlsAlloc() LIBRARY "kernel32.dll"
      FUNCTION ulong TlsFree(ulong dwTlsIndex) LIBRARY "kernel32.dll"
      FUNCTION ulong TlsGetValue(ulong dwTlsIndex) LIBRARY "kernel32.dll"
      FUNCTION ulong TlsSetValue(ulong dwTlsIndex,ref Any lpTlsValue) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong ToAscii(ulong uVirtKey,ulong uScanCode,ref Byte 
      lpbKeyState,ref ulong lpwTransKey,ulong fuState) LIBRARY "user32.dll"
      FUNCTION ulong ToAsciiEx(ulong uVirtKey,ulong uScanCode,ref Byte 
      lpKeyState,ref Integer lpChar,ulong uFlags,ulong dwhkl) LIBRARY 
      "user32.dll"
      FUNCTION ulong ToUnicode(ulong wVirtKey,ulong wScanCode,ref Byte 
      lpKeyState,ref string pwszBuff,ulong cchBuff,ulong wFlags) LIBRARY 
      "user32.dll"
      FUNCTION ulong TrackPopupMenu(ulong hMenu,ulong wFlags,ulong x,ulong 
      y,ulong nReserved,ulong hwnd,ref Rect lprc) LIBRARY "user32.dll"
      FUNCTION boolean TrackPopupMenuEx(ulong hMenu,ulong un,ulong n1,ulong 
      n2,ulong hWnd,ref TPMPARAMS lpTPMParams) LIBRARY "user32.dll"
      FUNCTION ulong TransactNamedPipe(ulong hNamedPipe,ref Any lpInBuffer,ulong 
      nInBufferSize,ref Any lpOutBuffer,ulong nOutBufferSize,ref ulong 
      lpBytesRead,ref OVERLAPPED lpOverlapped) LIBRARY "kernel32.dll"
      FUNCTION ulong TranslateAccelerator(ulong hwnd,ulong hAccTable,ref MSG 
      lpMsg) LIBRARY "user32.dll" ALIAS FOR "TranslateAcceleratorA"
      FUNCTION ulong TranslateCharsetInfo(ref ulong lpSrc,ref CHARSETINFO 
      lpcs,ulong dwFlags) LIBRARY "gdi32.dll"
      FUNCTION ulong TranslateMDISysAccel(ulong hWndClient,ref MSG lpMsg) 
      LIBRARY "user32.dll"
      FUNCTION ulong TranslateMessage(ref MSG lpMsg) LIBRARY "user32.dll"
      FUNCTION ulong TransmitCommChar(ulong nCid,Byte cChar) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong UnhandledExceptionFilter(ref EXCEPTION_POINTERS 
      ExceptionInfo) LIBRARY "kernel32.dll"
      FUNCTION boolean UnhookWindowsHook(ulong nCode,ulong pfnFilterProc) 
      LIBRARY "user32.dll"
      FUNCTION ulong UnhookWindowsHookEx(ulong hHook) LIBRARY "user32.dll"
      FUNCTION ulong UnionRect(ref RECT lpDestRect,ref RECT lpSrc1Rect,ref RECT 
      lpSrc2Rect) LIBRARY "user32.dll"
      FUNCTION ulong UnloadKeyboardLayout(ulong HKL) LIBRARY "user32.dll"
      FUNCTION ulong UnlockFile(ulong hFile,ulong dwFileOffsetLow,ulong 
      dwFileOffsetHigh,ulong nNumberOfBytesToUnlockLow,ulong 
      nNumberOfBytesToUnlockHigh) LIBRARY "kernel32.dll"
      FUNCTION ulong UnlockFileEx(ulong hFile,ulong dwReserved,ulong 
      nNumberOfBytesToUnlockLow,ulong nNumberOfBytesToUnlockHigh,ref OVERLAPPED 
      lpOverlapped) LIBRARY "kernel32.dll"
      FUNCTION ulong UnlockServiceDatabase(ref Any ScLock) LIBRARY 
"advapi32.dll"
      FUNCTION ulong UnmapViewOfFile(ref Any lpBaseAddress) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong UnpackDDElParam(ulong msg,ulong lParam,ref ulong puiLo,ref 
      ulong puiHi) LIBRARY "user32.dll"
      FUNCTION ulong UnrealizeObject(ulong hObject) LIBRARY "gdi32.dll"
      FUNCTION ulong UnregisterClass(ref string lpClassName,ulong hInstance) 
      LIBRARY "user32.dll" ALIAS FOR "UnregisterClassA"
      FUNCTION ulong UnregisterHotKey(ulong hwnd,ulong id) LIBRARY "user32.dll"
      FUNCTION ulong UpdateColors(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong UpdateResource(ulong hUpdate,ref string lpType,ref string 
      lpName,ulong wLanguage,ref Any lpData,ulong cbData) LIBRARY "kernel32.dll" 
      ALIAS FOR "UpdateResourceA"
      FUNCTION ulong UpdateWindow(ulong hwnd) LIBRARY "user32.dll"
      FUNCTION ulong ValidateRect(ulong hwnd,ref RECT lpRect) LIBRARY 
      "user32.dll"
      FUNCTION ulong ValidateRgn(ulong hwnd,ulong hRgn) LIBRARY "user32.dll"
      FUNCTION ulong VerFindFile(ulong uFlags,ref string szFileName,ref string 
      szWinDir,ref string szAppDir,ref string szCurDir,ref ulong 
      lpuCurDirLen,ref string szDestDir,ref ulong lpuDestDirLen) LIBRARY 
      "version.dll" ALIAS FOR "VerFindFileA"
      FUNCTION ulong VerInstallFile(ulong uFlags,ref string szSrcFileName,ref 
      string szDestFileName,ref string szSrcDir,ref string szDestDir,ref string 
      szCurDir,ref string szTmpFile,ref ulong lpuTmpFileLen) LIBRARY 
      "version.dll" ALIAS FOR "
      FUNCTION ulong VerLanguageName(ulong wLang,ref string szLang,ulong nSize) 
      LIBRARY "kernel32.dll" ALIAS FOR "VerLanguageNameA"
      FUNCTION ulong VerQueryValue(ref Any pBlock,ref string lpSubBlock,ulong 
      lplpBuffer,ref ulong puLen) LIBRARY "version.dll"
      FUNCTION ulong VirtualAlloc(ref Any lpAddress,ulong dwSize,ulong 
      flAllocationType,ulong flProtect) LIBRARY "kernel32.dll"
      FUNCTION ulong VirtualFree(ref Any lpAddress,ulong dwSize,ulong 
      dwFreeType) LIBRARY "kernel32.dll"
      FUNCTION ulong VirtualLock(ref Any lpAddress,ulong dwSize) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong VirtualProtect(ref Any lpAddress,ulong dwSize,ulong 
      flNewProtect,ref ulong lpflOldProtect) LIBRARY "kernel32.dll"
      FUNCTION ulong VirtualProtectEx(ulong hProcess,ref Any lpAddress,ulong 
      dwSize,ulong flNewProtect,ref ulong lpflOldProtect) LIBRARY "kernel32.dll"
      FUNCTION ulong VirtualQuery(ref Any lpAddress,ref MEMORY_BASIC_INFORMATION 
      lpBuffer,ulong dwLength) LIBRARY "kernel32.dll"
      FUNCTION ulong VirtualQueryEx(ulong hProcess,ref Any lpAddress,ref 
      MEMORY_BASIC_INFORMATION lpBuffer,ulong dwLength) LIBRARY "kernel32.dll"
      FUNCTION ulong VirtualUnlock(ref Any lpAddress,ulong dwSize) LIBRARY 
      "kernel32.dll"
      FUNCTION Integer VkKeyScan(Byte cChar) LIBRARY "user32.dll" ALIAS FOR 
      "VkKeyScanA"
      FUNCTION Integer VkKeyScanEx(Byte ch,ulong dwhkl) LIBRARY "user32.dll" 
      ALIAS FOR "VkKeyScanExA"
      FUNCTION ulong WaitCommEvent(ulong hFile,ref ulong lpEvtMask,ref 
      OVERLAPPED lpOverlapped) LIBRARY "kernel32.dll"
      FUNCTION ulong WaitForInputIdle(ulong hProcess,ulong dwMilliseconds) 
      LIBRARY "user32.dll"
      FUNCTION ulong WaitForMultipleObjects(ulong nCount,ref ulong 
      lpHandles,ulong bWaitAll,ulong dwMilliseconds) LIBRARY "kernel32.dll"
      FUNCTION ulong WaitForMultipleObjectsEx(ulong nCount,ref ulong 
      lpHandles,ulong bWaitAll,ulong dwMilliseconds,ulong bAlertable) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong WaitForPrinterChange(ulong hPrinter,ulong flags) LIBRARY 
      "winspool.drv"
      FUNCTION ulong WaitForSingleObject(ulong hHandle,ulong dwMilliseconds) 
      LIBRARY "kernel32.dll"
      FUNCTION ulong WaitForSingleObjectEx(ulong hHandle,ulong 
      dwMilliseconds,ulong bAlertable) LIBRARY "kernel32.dll"
      FUNCTION ulong WaitMessage() LIBRARY "user32.dll"
      FUNCTION ulong WaitNamedPipe(ref string lpNamedPipeName,ulong nTimeOut) 
      LIBRARY "kernel32.dll" ALIAS FOR "WaitNamedPipeA"
      FUNCTION ulong waveInAddBuffer(ulong hWaveIn,ref WAVEHDR lpWaveInHdr,ulong 
      uSize) LIBRARY "winmm.dll"
      FUNCTION ulong waveInClose(ulong hWaveIn) LIBRARY "winmm.dll"
      FUNCTION ulong waveInGetDevCaps(ulong uDeviceID,ref WAVEINCAPS 
      lpCaps,ulong uSize) LIBRARY "winmm.dll" ALIAS FOR "waveInGetDevCapsA"
      FUNCTION ulong waveInGetErrorText(ulong err,ref string lpText,ulong uSize) 
      LIBRARY "winmm.dll" ALIAS FOR "waveInGetErrorTextA"
      FUNCTION ulong waveInGetID(ulong hWaveIn,ref ulong lpuDeviceID) LIBRARY 
      "winmm.dll"
      FUNCTION ulong waveInGetNumDevs() LIBRARY "winmm.dll"
      FUNCTION ulong waveInGetPosition(ulong hWaveIn,ref MMTIME lpInfo,ulong 
      uSize) LIBRARY "winmm.dll"
      FUNCTION ulong waveInMessage(ulong hWaveIn,ulong msg,ulong dw1,ulong dw2) 
      LIBRARY "winmm.dll"
      FUNCTION ulong waveInOpen(ref ulong lphWaveIn,ulong uDeviceID,ref 
      WAVEFORMAT lpFormat,ulong dwCallback,ulong dwInstance,ulong dwFlags) 
      LIBRARY "winmm.dll"
      FUNCTION ulong waveInPrepareHeader(ulong hWaveIn,ref WAVEHDR 
      lpWaveInHdr,ulong uSize) LIBRARY "winmm.dll"
      FUNCTION ulong waveInReset(ulong hWaveIn) LIBRARY "winmm.dll"
      FUNCTION ulong waveInStart(ulong hWaveIn) LIBRARY "winmm.dll"
      FUNCTION ulong waveInStop(ulong hWaveIn) LIBRARY "winmm.dll"
      FUNCTION ulong waveInUnprepareHeader(ulong hWaveIn,ref WAVEHDR 
      lpWaveInHdr,ulong uSize) LIBRARY "winmm.dll"
      FUNCTION ulong waveOutBreakLoop(ulong hWaveOut) LIBRARY "winmm.dll"
      FUNCTION ulong waveOutClose(ulong hWaveOut) LIBRARY "winmm.dll"
      FUNCTION ulong waveOutGetDevCaps(ulong uDeviceID,ref WAVEOUTCAPS 
      lpCaps,ulong uSize) LIBRARY "winmm.dll" ALIAS FOR "waveOutGetDevCapsA"
      FUNCTION ulong waveOutGetErrorText(ulong err,ref string lpText,ulong 
      uSize) LIBRARY "winmm.dll" ALIAS FOR "waveOutGetErrorTextA"
      FUNCTION ulong waveOutGetID(ulong hWaveOut,ref ulong lpuDeviceID) LIBRARY 
      "winmm.dll"
      FUNCTION ulong waveOutGetNumDevs() LIBRARY "winmm.dll"
      FUNCTION ulong waveOutGetPitch(ulong hWaveOut,ref ulong lpdwPitch) LIBRARY 
      "winmm.dll"
      FUNCTION ulong waveOutGetPlaybackRate(ulong hWaveOut,ref ulong lpdwRate) 
      LIBRARY "winmm.dll"
      FUNCTION ulong waveOutGetPosition(ulong hWaveOut,ref MMTIME lpInfo,ulong 
      uSize) LIBRARY "winmm.dll"
      FUNCTION ulong waveOutGetVolume(ulong uDeviceID,ref ulong lpdwVolume) 
      LIBRARY "winmm.dll"
      FUNCTION ulong waveOutMessage(ulong hWaveOut,ulong msg,ulong dw1,ulong 
      dw2) LIBRARY "winmm.dll"
      FUNCTION ulong waveOutOpen(ref ulong lphWaveOut,ulong uDeviceID,ref 
      WAVEFORMAT lpFormat,ulong dwCallback,ulong dwInstance,ulong dwFlags) 
      LIBRARY "winmm.dll"
      FUNCTION ulong waveOutPause(ulong hWaveOut) LIBRARY "winmm.dll"
      FUNCTION ulong waveOutPrepareHeader(ulong hWaveOut,ref WAVEHDR 
      lpWaveOutHdr,ulong uSize) LIBRARY "winmm.dll"
      FUNCTION ulong waveOutReset(ulong hWaveOut) LIBRARY "winmm.dll"
      FUNCTION ulong waveOutRestart(ulong hWaveOut) LIBRARY "winmm.dll"
      FUNCTION ulong waveOutSetPitch(ulong hWaveOut,ulong dwPitch) LIBRARY 
      "winmm.dll"
      FUNCTION ulong waveOutSetPlaybackRate(ulong hWaveOut,ulong dwRate) LIBRARY 
      "winmm.dll"
      FUNCTION ulong waveOutSetVolume(ulong uDeviceID,ulong dwVolume) LIBRARY 
      "winmm.dll"
      FUNCTION ulong waveOutUnprepareHeader(ulong hWaveOut,ref WAVEHDR 
      lpWaveOutHdr,ulong uSize) LIBRARY "winmm.dll"
      FUNCTION ulong waveOutWrite(ulong hWaveOut,ref WAVEHDR lpWaveOutHdr,ulong 
      uSize) LIBRARY "winmm.dll"
      FUNCTION ulong WideCharToMultiByte(ulong CodePage,ulong dwFlags,ref string 
      lpWideCharStr,ulong cchWideChar,ref string lpMultiByteStr,ulong 
      cchMultiByte,ref string lpDefaultChar,ulong lpUsedDefaultChar) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong WidenPath(ulong hdc) LIBRARY "gdi32.dll"
      FUNCTION ulong WindowFromDC(ulong hdc) LIBRARY "user32.dll"
      FUNCTION ulong WindowFromPoint(ulong xPoint,ulong yPoint) LIBRARY 
      "user32.dll"
      FUNCTION ulong WinExec(ref string lpCmdLine,ulong nCmdShow) LIBRARY 
      "kernel32.dll"
      Subroutine WinExecError(ulong hwnd,ulong error,ref string 
      lpstrFileName,ref string lpstrTitle) LIBRARY "shell32.dll" ALIAS FOR 
      "WinExecErrorA"
      FUNCTION ulong WinHelp(ulong hwnd,ref string lpHelpFile,ulong 
      wCommand,ulong dwData) LIBRARY "user32.dll" ALIAS FOR "WinHelpA"
      FUNCTION ulong WNetAddConnection(ref string lpszNetPath,ref string 
      lpszPassword,ref string lpszLocalName) LIBRARY "mpr.dll" ALIAS FOR 
      "WNetAddConnectionA"
      FUNCTION ulong WNetAddConnection2(ref NETRESOURCE lpNetResource,ref string 
      lpPassword,ref string lpUserName,ulong dwFlags) LIBRARY "mpr.dll" ALIAS 
      FOR "WNetAddConnection2A"
      FUNCTION ulong WNetCancelConnection(ref string lpszName,ulong bForce) 
      LIBRARY "mpr.dll" ALIAS FOR "WNetCancelConnectionA"
      FUNCTION ulong WNetCancelConnection2(ref string lpName,ulong dwFlags,ulong 
      fForce) LIBRARY "mpr.dll" ALIAS FOR "WNetCancelConnection2A"
      FUNCTION ulong WNetCloseEnum(ulong hEnum) LIBRARY "mpr.dll"
      FUNCTION ulong WNetConnectionDialog(ulong hwnd,ulong dwType) LIBRARY 
      "mpr.dll"
      FUNCTION ulong WNetDisconnectDialog(ulong hwnd,ulong dwType) LIBRARY 
      "mpr.dll"
      FUNCTION ulong WNetEnumResource(ulong hEnum,ref ulong lpcCount,ref Any 
      lpBuffer,ref ulong lpBufferSize) LIBRARY "mpr.dll" ALIAS FOR 
      "WNetEnumResourceA"
      FUNCTION ulong WNetGetConnection(ref string lpszLocalName,ref string 
      lpszRemoteName,ref ulong cbRemoteName) LIBRARY "mpr.dll" ALIAS FOR 
      "WNetGetConnectionA"
      FUNCTION ulong WNetGetLastError(ref ulong lpError,ref string 
      lpErrorBuf,ulong nErrorBufSize,ref string lpNameBuf,ulong nNameBufSize) 
      LIBRARY "mpr.dll" ALIAS FOR "WNetGetLastErrorA"
      FUNCTION ulong WNetGetUniversalName(ref string lpLocalPath,ulong 
      dwInfoLevel,ref Any lpBuffer,ref ulong lpBufferSize) LIBRARY "mpr" ALIAS 
      FOR "WNetGetUniversalNameA"
      FUNCTION ulong WNetGetUser(ref string lpName,ref string lpUserName,ref 
      ulong lpnLength) LIBRARY "mpr" ALIAS FOR "WNetGetUserA"
      FUNCTION ulong WNetGetUser(ref string lpName,ref string lpUserName,ref 
      ulong lpnLength) LIBRARY "mpr.dll" ALIAS FOR "WNetGetUserA"
      FUNCTION ulong WNetOpenEnum(ulong dwScope,ulong dwType,ulong dwUsage,ref 
      NETRESOURCE lpNetResource,ref ulong lphEnum) LIBRARY "mpr" ALIAS FOR 
      "WNetOpenEnumA"
      FUNCTION ulong WNetOpenEnum(ulong dwScope,ulong dwType,ulong dwUsage,ref 
      NETRESOURCE lpNetResource,ref ulong lphEnum) LIBRARY "mpr.dll" ALIAS FOR 
      "WNetOpenEnumA"
      FUNCTION ulong WriteConsole(ulong hConsoleOutput,ref Any lpBuffer,ulong 
      nNumberOfCharsToWrite,ref ulong lpNumberOfCharsWritten,ref Any lpReserved) 
      LIBRARY "kernel32.dll" ALIAS FOR "WriteConsoleA"
      FUNCTION ulong WriteConsoleOutput(ulong hConsoleOutput,ref CHAR_INFO 
      lpBuffer,ref COORD dwBufferSize,ref COORD dwBufferCoord,ref SMALL_RECT 
      lpWriteRegion) LIBRARY "kernel32.dll" ALIAS FOR "WriteConsoleOutputA"
      FUNCTION ulong WriteConsoleOutputAttribute(ulong hConsoleOutput,ref 
      Integer lpAttribute,ulong nLength,ref COORD dwWriteCoord,ref ulong 
      lpNumberOfAttrsWritten) LIBRARY "kernel32.dll"
      FUNCTION ulong WriteConsoleOutputCharacter(ulong hConsoleOutput,ref string 
      lpCharacter,ulong nLength,ref COORD dwWriteCoord,ref ulong 
      lpNumberOfCharsWritten) LIBRARY "kernel32.dll" ALIAS FOR 
      "WriteConsoleOutputCharacterA"
      FUNCTION ulong WriteFile(ulong hFile,ref Any lpBuffer,ulong 
      nNumberOfBytesToWrite,ref ulong lpNumberOfBytesWritten,ref OVERLAPPED 
      lpOverlapped) LIBRARY "kernel32.dll"
      FUNCTION boolean WriteFileEx(ulong hFile,ref Any lpBuffer,ulong 
      nNumberOfBytesToWrite,ref OVERLAPPED lpOverlapped,ulong 
      lpCompletionRoutine) LIBRARY "kernel32.dll"
      FUNCTION ulong WritePrinter(ulong hPrinter,ref Any pBuf,ulong cdBuf,ref 
      ulong pcWritten) LIBRARY "winspool.drv"
      FUNCTION ulong WritePrivateProfileSection(ref string lpAppName,ref string 
      lpString,ref string lpFileName) LIBRARY "kernel32.dll" ALIAS FOR 
      "WritePrivateProfileSectionA"
      FUNCTION ulong WritePrivateProfileString(ref string lpApplicationName,Any 
      lpKeyName,Any lpString,ref string lpFileName) LIBRARY "kernel32.dll" ALIAS 
      FOR "WritePrivateProfileStringA"
      FUNCTION ulong WriteProcessMemory(ulong hProcess,ref Any lpBaseAddress,ref 
      Any lpBuffer,ulong nSize,ref ulong lpNumberOfBytesWritten) LIBRARY 
      "kernel32.dll"
      FUNCTION ulong WriteProfileSection(ref string lpAppName,ref string 
      lpString) LIBRARY "kernel32.dll" ALIAS FOR "WriteProfileSectionA"
      FUNCTION ulong WriteProfileString(ref string lpszSection,ref string 
      lpszKeyName,ref string lpszString) LIBRARY "kernel32.dll" ALIAS FOR 
      "WriteProfileStringA"
      FUNCTION ulong WriteTapemark(ulong hDevice,ulong dwTapemarkType,ulong 
      dwTapemarkCount,ulong bimmediate) LIBRARY "kernel32.dll"

