#ifndef __DXLIB__
#define __DXLIB__
#uselib "DxLib.dll"
#func global SetActiveStateChangeCallBackFunction "dx_SetActiveStateChangeCallBackFunction" sptr,sptr
#func global SetUseASyncChangeWindowModeFunction "dx_SetUseASyncChangeWindowModeFunction" int,sptr,sptr
#func global SetMenuItemSelectCallBackFunction "dx_SetMenuItemSelectCallBackFunction" sptr
#func global SetWindowMenu "dx_SetWindowMenu" int,sptr
#func global SetRestoreShredPoint "dx_SetRestoreShredPoint" sptr
#func global SetRestoreGraphCallback "dx_SetRestoreGraphCallback" sptr
#func global ClearDrawScreen "dx_ClearDrawScreen" sptr
#func global ClearDrawScreenZBuffer "dx_ClearDrawScreenZBuffer" sptr
#func global SetKeyInputStringColor "dx_SetKeyInputStringColor" int,int,int,int,int,int,int,int,int,int,int,int,int,int,int
#func global GraphFilterS "dx_GraphFilterS" int,int,int,int,int,int,int,int
#func global GraphFilterBltS "dx_GraphFilterBltS" int,int,int,int,int,int,int,int,int
#func global GraphFilterRectBltS "dx_GraphFilterRectBltS" int,int,int,int,int,int,int,int,int,int,int,int,int,int,int
#func global GraphBlendS "dx_GraphBlendS" int,int,int,int,int,int,int,int,int,int
#func global GraphBlendBltS "dx_GraphBlendBltS" int,int,int,int,int,int,int,int,int,int,int
#func global GraphBlendRectBltS "dx_GraphBlendRectBltS" int,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int
#func global DxLib_Init "dx_DxLib_Init" 
#func global DxLib_End "dx_DxLib_End" 
#func global DxLib_GlobalStructInitialize "dx_DxLib_GlobalStructInitialize" 
#func global DxLib_IsInit "dx_DxLib_IsInit" 
#func global ErrorLogAdd "dx_ErrorLogAdd" str
#func global ErrorLogTabAdd "dx_ErrorLogTabAdd" 
#func global ErrorLogTabSub "dx_ErrorLogTabSub" 
#func global SetUseTimeStampFlag "dx_SetUseTimeStampFlag" int
#func global DxAlloc "dx_DxAlloc" sptr,str,int
#func global DxCalloc "dx_DxCalloc" sptr,str,int
#func global DxRealloc "dx_DxRealloc" sptr,sptr,str,int
#func global DxFree "dx_DxFree" sptr
#func global DxSetAllocSizeTrap "dx_DxSetAllocSizeTrap" sptr
#func global DxSetAllocPrintFlag "dx_DxSetAllocPrintFlag" int
#func global DxGetAllocSize "dx_DxGetAllocSize" 
#func global DxGetAllocNum "dx_DxGetAllocNum" 
#func global DxDumpAlloc "dx_DxDumpAlloc" 
#func global DxErrorCheckAlloc "dx_DxErrorCheckAlloc" 
#func global DxSetAllocSizeOutFlag "dx_DxSetAllocSizeOutFlag" int
#func global DxSetAllocMemoryErrorCheckFlag "dx_DxSetAllocMemoryErrorCheckFlag" int
#func global SetLogDrawOutFlag "dx_SetLogDrawOutFlag" int
#func global GetLogDrawFlag "dx_GetLogDrawFlag" 
#func global clsDx "dx_clsDx" 
#func global FileRead_open "dx_FileRead_open" str,int
#func global FileRead_size "dx_FileRead_size" str
#func global FileRead_close "dx_FileRead_close" int
#func global FileRead_tell "dx_FileRead_tell" int
#func global FileRead_seek "dx_FileRead_seek" int,int,int
#func global FileRead_read "dx_FileRead_read" sptr,int,int
#func global FileRead_idle_chk "dx_FileRead_idle_chk" int
#func global FileRead_eof "dx_FileRead_eof" int
#func global FileRead_gets "dx_FileRead_gets" str,int,int
#func global FileRead_createInfo "dx_FileRead_createInfo" str
#func global FileRead_getInfoNum "dx_FileRead_getInfoNum" int
#func global FileRead_deleteInfo "dx_FileRead_deleteInfo" int
#func global ProcessMessage "dx_ProcessMessage" 
#func global GetWindowCRect "dx_GetWindowCRect" sptr
#func global GetWindowActiveFlag "dx_GetWindowActiveFlag" 
#func global GetWindowModeFlag "dx_GetWindowModeFlag" 
#func global GetDefaultState "dx_GetDefaultState" sptr,sptr,sptr
#func global GetActiveFlag "dx_GetActiveFlag" 
#func global GetNoActiveState "dx_GetNoActiveState" int
#func global GetMouseDispFlag "dx_GetMouseDispFlag" 
#func global GetAlwaysRunFlag "dx_GetAlwaysRunFlag" 
#func global _GetSystemInfo "dx__GetSystemInfo" sptr,sptr,sptr
#func global GetPcInfo "dx_GetPcInfo" str,str,str,sptr,sptr,sptr,str,str,sptr,sptr
#func global GetUseMMXFlag "dx_GetUseMMXFlag" 
#func global GetUseSSEFlag "dx_GetUseSSEFlag" 
#func global GetUseSSE2Flag "dx_GetUseSSE2Flag" 
#func global GetWindowCloseFlag "dx_GetWindowCloseFlag" 
#func global GetUseWindowRgnFlag "dx_GetUseWindowRgnFlag" 
#func global GetWindowSize "dx_GetWindowSize" sptr,sptr
#func global GetWindowPosition "dx_GetWindowPosition" sptr,sptr
#func global GetWindowUserCloseFlag "dx_GetWindowUserCloseFlag" int
#func global GetNotDrawFlag "dx_GetNotDrawFlag" 
#func global GetPaintMessageFlag "dx_GetPaintMessageFlag" 
#func global GetValidHiPerformanceCounter "dx_GetValidHiPerformanceCounter" 
#func global ChangeWindowMode "dx_ChangeWindowMode" int
#func global SetUseCharSet "dx_SetUseCharSet" int
#func global LoadPauseGraph "dx_LoadPauseGraph" str
#func global LoadPauseGraphFromMem "dx_LoadPauseGraphFromMem" sptr,int
#func global SetWindowText "dx_SetWindowText" str
#func global SetMainWindowText "dx_SetMainWindowText" str
#func global SetMainWindowClassName "dx_SetMainWindowClassName" str
#func global SetOutApplicationLogValidFlag "dx_SetOutApplicationLogValidFlag" int
#func global SetApplicationLogSaveDirectory "dx_SetApplicationLogSaveDirectory" str
#func global SetAlwaysRunFlag "dx_SetAlwaysRunFlag" int
#func global SetWindowIconID "dx_SetWindowIconID" int
#func global SetWindowStyleMode "dx_SetWindowStyleMode" int
#func global SetWindowSizeChangeEnableFlag "dx_SetWindowSizeChangeEnableFlag" int,int
#func global SetWindowSizeExtendRate "dx_SetWindowSizeExtendRate" double,double
#func global SetWindowSize "dx_SetWindowSize" int,int
#func global SetWindowPosition "dx_SetWindowPosition" int,int
#func global SetSysCommandOffFlag "dx_SetSysCommandOffFlag" int,str
#func global SetDoubleStartValidFlag "dx_SetDoubleStartValidFlag" int
#func global AddMessageTakeOverWindow "dx_AddMessageTakeOverWindow" sptr
#func global SubMessageTakeOverWindow "dx_SubMessageTakeOverWindow" sptr
#func global SetWindowInitPosition "dx_SetWindowInitPosition" int,int
#func global SetNotWinFlag "dx_SetNotWinFlag" int
#func global SetNotDrawFlag "dx_SetNotDrawFlag" int
#func global SetNotSoundFlag "dx_SetNotSoundFlag" int
#func global SetNotInputFlag "dx_SetNotInputFlag" int
#func global SetDialogBoxHandle "dx_SetDialogBoxHandle" sptr
#func global GetStreamFunctionDefault "dx_GetStreamFunctionDefault" 
#func global SetWindowVisibleFlag "dx_SetWindowVisibleFlag" int
#func global SetWindowUserCloseEnableFlag "dx_SetWindowUserCloseEnableFlag" int
#func global SetDxLibEndPostQuitMessageFlag "dx_SetDxLibEndPostQuitMessageFlag" int
#func global SetUserWindow "dx_SetUserWindow" sptr
#func global SetUserWindowMessageProcessDXLibFlag "dx_SetUserWindowMessageProcessDXLibFlag" int
#func global SetUseDXArchiveFlag "dx_SetUseDXArchiveFlag" int
#func global SetDXArchivePriority "dx_SetDXArchivePriority" int
#func global SetDXArchiveExtension "dx_SetDXArchiveExtension" str
#func global SetDXArchiveKeyString "dx_SetDXArchiveKeyString" str
#func global SetUseDateNameLogFile "dx_SetUseDateNameLogFile" int
#func global SetBackgroundColor "dx_SetBackgroundColor" int,int,int
#func global SetLogFontSize "dx_SetLogFontSize" int
#func global SetUseFPUPreserveFlag "dx_SetUseFPUPreserveFlag" int
#func global SetValidMousePointerWindowOutClientAreaMoveFlag "dx_SetValidMousePointerWindowOutClientAreaMoveFlag" int
#func global SetUseBackBufferTransColorFlag "dx_SetUseBackBufferTransColorFlag" int
#func global SetUseASyncLoadFlag "dx_SetUseASyncLoadFlag" int
#func global CheckHandleASyncLoad "dx_CheckHandleASyncLoad" int
#func global GetASyncLoadNum "dx_GetASyncLoadNum" 
#func global GetClipboardText "dx_GetClipboardText" str
#func global SetClipboardText "dx_SetClipboardText" str
#func global SetDragFileValidFlag "dx_SetDragFileValidFlag" int
#func global DragFileInfoClear "dx_DragFileInfoClear" 
#func global GetDragFilePath "dx_GetDragFilePath" str
#func global GetDragFileNum "dx_GetDragFileNum" 
#func global SetWindowRgnGraph "dx_SetWindowRgnGraph" str
#func global UpdateTransColorWindowRgn "dx_UpdateTransColorWindowRgn" 
#func global SetupToolBar "dx_SetupToolBar" str,int,int
#func global AddToolBarButton "dx_AddToolBarButton" int,int,int,int
#func global AddToolBarSep "dx_AddToolBarSep" 
#func global GetToolBarButtonState "dx_GetToolBarButtonState" int
#func global SetToolBarButtonState "dx_SetToolBarButtonState" int,int
#func global DeleteAllToolBarButton "dx_DeleteAllToolBarButton" 
#func global SetUseMenuFlag "dx_SetUseMenuFlag" int
#func global SetUseKeyAccelFlag "dx_SetUseKeyAccelFlag" int
#func global AddKeyAccel "dx_AddKeyAccel" str,int,int,int,int,int
#func global AddKeyAccel_Name "dx_AddKeyAccel_Name" str,int,int,int,int
#func global AddKeyAccel_ID "dx_AddKeyAccel_ID" int,int,int,int,int
#func global ClearKeyAccel "dx_ClearKeyAccel" 
#func global AddMenuItem "dx_AddMenuItem" int,str,int,int,str,int
#func global DeleteMenuItem "dx_DeleteMenuItem" str,int
#func global CheckMenuItemSelect "dx_CheckMenuItemSelect" str,int
#func global SetMenuItemEnable "dx_SetMenuItemEnable" str,int,int
#func global SetMenuItemMark "dx_SetMenuItemMark" str,int,int
#func global CheckMenuItemSelectAll "dx_CheckMenuItemSelectAll" 
#func global AddMenuItem_Name "dx_AddMenuItem_Name" str,str
#func global AddMenuLine_Name "dx_AddMenuLine_Name" str
#func global InsertMenuItem_Name "dx_InsertMenuItem_Name" str,str
#func global InsertMenuLine_Name "dx_InsertMenuLine_Name" str
#func global DeleteMenuItem_Name "dx_DeleteMenuItem_Name" str
#func global CheckMenuItemSelect_Name "dx_CheckMenuItemSelect_Name" str
#func global SetMenuItemEnable_Name "dx_SetMenuItemEnable_Name" str,int
#func global SetMenuItemMark_Name "dx_SetMenuItemMark_Name" str,int
#func global AddMenuItem_ID "dx_AddMenuItem_ID" int,str,int
#func global AddMenuLine_ID "dx_AddMenuLine_ID" int
#func global InsertMenuItem_ID "dx_InsertMenuItem_ID" int,int
#func global InsertMenuLine_ID "dx_InsertMenuLine_ID" int,int
#func global DeleteMenuItem_ID "dx_DeleteMenuItem_ID" int
#func global CheckMenuItemSelect_ID "dx_CheckMenuItemSelect_ID" int
#func global SetMenuItemEnable_ID "dx_SetMenuItemEnable_ID" int,int
#func global SetMenuItemMark_ID "dx_SetMenuItemMark_ID" int,int
#func global DeleteMenuItemAll "dx_DeleteMenuItemAll" 
#func global ClearMenuItemSelect "dx_ClearMenuItemSelect" 
#func global GetMenuItemID "dx_GetMenuItemID" str
#func global GetMenuItemName "dx_GetMenuItemName" int,str
#func global LoadMenuResource "dx_LoadMenuResource" int
#func global SetDisplayMenuFlag "dx_SetDisplayMenuFlag" int
#func global GetDisplayMenuFlag "dx_GetDisplayMenuFlag" 
#func global GetUseMenuFlag "dx_GetUseMenuFlag" 
#func global SetAutoMenuDisplayFlag "dx_SetAutoMenuDisplayFlag" int
#func global SetMouseDispFlag "dx_SetMouseDispFlag" int
#func global GetMousePoint "dx_GetMousePoint" sptr,sptr
#func global SetMousePoint "dx_SetMousePoint" int,int
#func global GetMouseInput "dx_GetMouseInput" 
#func global GetMouseWheelRotVol "dx_GetMouseWheelRotVol" int
#func global GetMouseHWheelRotVol "dx_GetMouseHWheelRotVol" int
#func global GetMouseInputLog "dx_GetMouseInputLog" sptr,sptr,sptr,int
#func global WaitTimer "dx_WaitTimer" int
#func global WaitKey "dx_WaitKey" 
#func global GetNowCount "dx_GetNowCount" int
#func global GetNowHiPerformanceCount "dx_GetNowHiPerformanceCount" int
#func global GetDateTime "dx_GetDateTime" sptr
#func global GetRand "dx_GetRand" int
#func global SRand "dx_SRand" int
#func global ProcessNetMessage "dx_ProcessNetMessage" int
#func global GetHostIPbyName "dx_GetHostIPbyName" str,sptr
#func global GetHostIPbyName_IPv6 "dx_GetHostIPbyName_IPv6" str,sptr
#func global ConnectNetWork "dx_ConnectNetWork" int,int
#func global ConnectNetWork_IPv6 "dx_ConnectNetWork_IPv6" int,int
#func global ConnectNetWork_ASync "dx_ConnectNetWork_ASync" int,int
#func global ConnectNetWork_IPv6_ASync "dx_ConnectNetWork_IPv6_ASync" int,int
#func global PreparationListenNetWork "dx_PreparationListenNetWork" int
#func global PreparationListenNetWork_IPv6 "dx_PreparationListenNetWork_IPv6" int
#func global StopListenNetWork "dx_StopListenNetWork" 
#func global CloseNetWork "dx_CloseNetWork" int
#func global GetNetWorkAcceptState "dx_GetNetWorkAcceptState" int
#func global GetNetWorkDataLength "dx_GetNetWorkDataLength" int
#func global GetNetWorkSendDataLength "dx_GetNetWorkSendDataLength" int
#func global GetNewAcceptNetWork "dx_GetNewAcceptNetWork" 
#func global GetLostNetWork "dx_GetLostNetWork" 
#func global GetNetWorkIP "dx_GetNetWorkIP" int,sptr
#func global GetNetWorkIP_IPv6 "dx_GetNetWorkIP_IPv6" int,sptr
#func global GetMyIPAddress "dx_GetMyIPAddress" sptr
#func global SetConnectTimeOutWait "dx_SetConnectTimeOutWait" int
#func global SetUseDXNetWorkProtocol "dx_SetUseDXNetWorkProtocol" int
#func global GetUseDXNetWorkProtocol "dx_GetUseDXNetWorkProtocol" 
#func global SetUseDXProtocol "dx_SetUseDXProtocol" int
#func global GetUseDXProtocol "dx_GetUseDXProtocol" 
#func global SetNetWorkCloseAfterLostFlag "dx_SetNetWorkCloseAfterLostFlag" int
#func global GetNetWorkCloseAfterLostFlag "dx_GetNetWorkCloseAfterLostFlag" 
#func global NetWorkRecv "dx_NetWorkRecv" int,sptr,int
#func global NetWorkRecvToPeek "dx_NetWorkRecvToPeek" int,sptr,int
#func global NetWorkRecvBufferClear "dx_NetWorkRecvBufferClear" int
#func global NetWorkSend "dx_NetWorkSend" int,sptr,int
#func global MakeUDPSocket "dx_MakeUDPSocket" int
#func global MakeUDPSocket_IPv6 "dx_MakeUDPSocket_IPv6" int
#func global DeleteUDPSocket "dx_DeleteUDPSocket" int
#func global NetWorkSendUDP "dx_NetWorkSendUDP" int,int,int,sptr,int
#func global NetWorkSendUDP_IPv6 "dx_NetWorkSendUDP_IPv6" int,int,int,sptr,int
#func global NetWorkRecvUDP "dx_NetWorkRecvUDP" int,sptr,sptr,sptr,int,int
#func global NetWorkRecvUDP_IPv6 "dx_NetWorkRecvUDP_IPv6" int,sptr,sptr,sptr,int,int
#func global CheckNetWorkRecvUDP "dx_CheckNetWorkRecvUDP" int
#func global StockInputChar "dx_StockInputChar" sptr
#func global ClearInputCharBuf "dx_ClearInputCharBuf" 
#func global GetOneChar "dx_GetOneChar" str,int
#func global GetOneCharWait "dx_GetOneCharWait" str,int
#func global GetCtrlCodeCmp "dx_GetCtrlCodeCmp" sptr
#func global DrawIMEInputString "dx_DrawIMEInputString" int,int,int
#func global SetUseIMEFlag "dx_SetUseIMEFlag" int
#func global SetInputStringMaxLengthIMESync "dx_SetInputStringMaxLengthIMESync" int
#func global SetIMEInputStringMaxLength "dx_SetIMEInputStringMaxLength" int
#func global GetStringPoint "dx_GetStringPoint" str,int
#func global GetStringPoint2 "dx_GetStringPoint2" str,int
#func global DrawObtainsString "dx_DrawObtainsString" int,int,int,str,int,int,int,int,int,int,int,int
#func global DrawObtainsBox "dx_DrawObtainsBox" int,int,int,int,int,int,int
#func global InputStringToCustom "dx_InputStringToCustom" int,int,int,str,int,int,int,int
#func global KeyInputString "dx_KeyInputString" int,int,int,str,int
#func global KeyInputSingleCharString "dx_KeyInputSingleCharString" int,int,int,str,int
#func global KeyInputNumber "dx_KeyInputNumber" int,int,int,int,int
#func global GetIMEInputModeStr "dx_GetIMEInputModeStr" str
#func global SetKeyInputStringFont "dx_SetKeyInputStringFont" int
#func global DrawKeyInputModeString "dx_DrawKeyInputModeString" int,int
#func global InitKeyInput "dx_InitKeyInput" 
#func global MakeKeyInput "dx_MakeKeyInput" int,int,int,int,int
#func global DeleteKeyInput "dx_DeleteKeyInput" int
#func global SetActiveKeyInput "dx_SetActiveKeyInput" int
#func global GetActiveKeyInput "dx_GetActiveKeyInput" 
#func global CheckKeyInput "dx_CheckKeyInput" int
#func global ReStartKeyInput "dx_ReStartKeyInput" int
#func global ProcessActKeyInput "dx_ProcessActKeyInput" 
#func global DrawKeyInputString "dx_DrawKeyInputString" int,int,int
#func global SetKeyInputSelectArea "dx_SetKeyInputSelectArea" int,int,int
#func global GetKeyInputSelectArea "dx_GetKeyInputSelectArea" sptr,sptr,int
#func global SetKeyInputDrawStartPos "dx_SetKeyInputDrawStartPos" int,int
#func global GetKeyInputDrawStartPos "dx_GetKeyInputDrawStartPos" int
#func global SetKeyInputCursorBrinkTime "dx_SetKeyInputCursorBrinkTime" int
#func global SetKeyInputCursorBrinkFlag "dx_SetKeyInputCursorBrinkFlag" int
#func global SetKeyInputString "dx_SetKeyInputString" str,int
#func global SetKeyInputNumber "dx_SetKeyInputNumber" int,int
#func global SetKeyInputNumberToFloat "dx_SetKeyInputNumberToFloat" float,int
#func global GetKeyInputString "dx_GetKeyInputString" str,int
#func global GetKeyInputNumber "dx_GetKeyInputNumber" int
#func global GetKeyInputNumberToFloat "dx_GetKeyInputNumberToFloat" int
#func global SetKeyInputCursorPosition "dx_SetKeyInputCursorPosition" int,int
#func global GetKeyInputCursorPosition "dx_GetKeyInputCursorPosition" int
#func global CheckHitKey "dx_CheckHitKey" int
#func global CheckHitKeyAll "dx_CheckHitKeyAll" int
#func global GetHitKeyStateAll "dx_GetHitKeyStateAll" sptr
#func global SetKeyExclusiveCooperativeLevelFlag "dx_SetKeyExclusiveCooperativeLevelFlag" int
#func global GetJoypadNum "dx_GetJoypadNum" 
#func global GetJoypadInputState "dx_GetJoypadInputState" int
#func global GetJoypadAnalogInput "dx_GetJoypadAnalogInput" sptr,sptr,int
#func global GetJoypadAnalogInputRight "dx_GetJoypadAnalogInputRight" sptr,sptr,int
#func global GetJoypadDirectInputState "dx_GetJoypadDirectInputState" int,sptr
#func global KeyboradBufferProcess "dx_KeyboradBufferProcess" 
#func global ConvertKeyCodeToVirtualKey "dx_ConvertKeyCodeToVirtualKey" int
#func global SetJoypadInputToKeyInput "dx_SetJoypadInputToKeyInput" int,int,int,int,int,int
#func global SetJoypadDeadZone "dx_SetJoypadDeadZone" int,double
#func global StartJoypadVibration "dx_StartJoypadVibration" int,int,int
#func global StopJoypadVibration "dx_StopJoypadVibration" int
#func global GetJoypadPOVState "dx_GetJoypadPOVState" int,int
#func global GetJoypadName "dx_GetJoypadName" int,str,str
#func global ReSetupJoypad "dx_ReSetupJoypad" 
#func global SetKeyboardNotDirectInputFlag "dx_SetKeyboardNotDirectInputFlag" int
#func global SetUseDirectInputFlag "dx_SetUseDirectInputFlag" int
#func global SetUseJoypadVibrationFlag "dx_SetUseJoypadVibrationFlag" int
#func global Set2D3DKyouzonFlag "dx_Set2D3DKyouzonFlag" int
#func global SetNotUse3DFlag "dx_SetNotUse3DFlag" int
#func global SetBasicBlendFlag "dx_SetBasicBlendFlag" int
#func global SetScreenMemToVramFlag "dx_SetScreenMemToVramFlag" int
#func global SetUseSoftwareRenderModeFlag "dx_SetUseSoftwareRenderModeFlag" int
#func global SetUseDirectDrawFlag "dx_SetUseDirectDrawFlag" int
#func global SetUseGDIFlag "dx_SetUseGDIFlag" int
#func global SetDisplayRefreshRate "dx_SetDisplayRefreshRate" int
#func global SetMultiThreadFlag "dx_SetMultiThreadFlag" int
#func global SetUseDirectDrawDeviceIndex "dx_SetUseDirectDrawDeviceIndex" int
#func global SetUseTempFrontScreen "dx_SetUseTempFrontScreen" int
#func global GetDrawScreenSize "dx_GetDrawScreenSize" sptr,sptr
#func global GetScreenBitDepth "dx_GetScreenBitDepth" 
#func global GetBmpSurf3DRenderingValidState "dx_GetBmpSurf3DRenderingValidState" int
#func global GetDesktopDrawCmp "dx_GetDesktopDrawCmp" 
#func global GetUseDirectDrawFlag "dx_GetUseDirectDrawFlag" 
#func global GetColorBitDepth "dx_GetColorBitDepth" 
#func global GetChangeDisplayFlag "dx_GetChangeDisplayFlag" 
#func global GetScreenMemToSystemMemFlag "dx_GetScreenMemToSystemMemFlag" 
#func global GetVideoMemorySize "dx_GetVideoMemorySize" sptr,sptr
#func global GetUseGDIFlag "dx_GetUseGDIFlag" 
#func global GetNotDraw3DFlag "dx_GetNotDraw3DFlag" 
#func global GetDirectDrawDeviceDescription "dx_GetDirectDrawDeviceDescription" int,str
#func global GetDirectDrawDeviceNum "dx_GetDirectDrawDeviceNum" 
#func global GetUseMEMIMGFlag "dx_GetUseMEMIMGFlag" 
#func global GetVSyncTime "dx_GetVSyncTime" 
#func global GetRefreshRate "dx_GetRefreshRate" 
#func global GetDisplayModeNum "dx_GetDisplayModeNum" 
#func global GetDisplayMode "dx_GetDisplayMode" int
#func global SetPalette "dx_SetPalette" int,int,int,int
#func global ReflectionPalette "dx_ReflectionPalette" 
#func global GetPalette "dx_GetPalette" int,sptr,sptr,sptr
#func global SetBmpPal "dx_SetBmpPal" str
#func global SetBmpPalPart "dx_SetBmpPalPart" str,int,int,int
#func global GetGraphPalette "dx_GetGraphPalette" int,int,sptr,sptr,sptr
#func global GetGraphOriginalPalette "dx_GetGraphOriginalPalette" int,int,sptr,sptr,sptr
#func global SetGraphPalette "dx_SetGraphPalette" int,int,int
#func global ResetGraphPalette "dx_ResetGraphPalette" int
#func global GetPixel "dx_GetPixel" int,int
#func global Paint "dx_Paint" int,int,int,int
#func global WaitVSync "dx_WaitVSync" int
#func global ScreenFlip "dx_ScreenFlip" 
#func global ScreenCopy "dx_ScreenCopy" 
#func global BltBackScreenToWindow "dx_BltBackScreenToWindow" sptr,int,int
#func global BltRectBackScreenToWindow "dx_BltRectBackScreenToWindow" sptr,int,int,int,int,int,int,int,int
#func global GraphCopy "dx_GraphCopy" sptr,sptr,int,int
#func global SetGraphMode "dx_SetGraphMode" int,int,int,int
#func global SetZBufferSize "dx_SetZBufferSize" int,int
#func global SetFullSceneAntiAliasingMode "dx_SetFullSceneAntiAliasingMode" int,int
#func global SetGraphDisplayArea "dx_SetGraphDisplayArea" int,int,int,int
#func global SetChangeScreenModeGraphicsSystemResetFlag "dx_SetChangeScreenModeGraphicsSystemResetFlag" int
#func global SaveDrawScreen "dx_SaveDrawScreen" int,int,int,int,str,int,int,int,int
#func global SaveDrawScreenToBMP "dx_SaveDrawScreenToBMP" int,int,int,int,str
#func global SaveDrawScreenToJPEG "dx_SaveDrawScreenToJPEG" int,int,int,int,str,int,int
#func global SaveDrawScreenToPNG "dx_SaveDrawScreenToPNG" int,int,int,int,str,int
#func global RenderVertex "dx_RenderVertex" 
#func global SetUseDivGraphFlag "dx_SetUseDivGraphFlag" int
#func global SetUseMaxTextureSize "dx_SetUseMaxTextureSize" int
#func global SetUseVertexBufferFlag "dx_SetUseVertexBufferFlag" int
#func global SetUseOldDrawModiGraphCodeFlag "dx_SetUseOldDrawModiGraphCodeFlag" int
#func global MakeGraph "dx_MakeGraph" int,int,int
#func global MakeScreen "dx_MakeScreen" int,int,int
#func global DeleteGraph "dx_DeleteGraph" int,int
#func global DeleteSharingGraph "dx_DeleteSharingGraph" int
#func global GetGraphNum "dx_GetGraphNum" 
#func global SetGraphLostFlag "dx_SetGraphLostFlag" int,sptr
#func global InitGraph "dx_InitGraph" int
#func global OpenMovieToOverlay "dx_OpenMovieToOverlay" str
#func global UpdateMovieToOverlay "dx_UpdateMovieToOverlay" int,int,int,int,int
#func global CloseMovieToOverlay "dx_CloseMovieToOverlay" int
#func global ReloadFileGraphAll "dx_ReloadFileGraphAll" 
#func global SetGraphTransColor "dx_SetGraphTransColor" int,int,int,int
#func global RestoreGraph "dx_RestoreGraph" int
#func global AllRestoreGraph "dx_AllRestoreGraph" 
#func global ClsDrawScreen "dx_ClsDrawScreen" 
#func global LoadGraphScreen "dx_LoadGraphScreen" int,int,str,int
#func global DrawGraph "dx_DrawGraph" int,int,int,int
#func global DrawGraphF "dx_DrawGraphF" float,float,int,int
#func global DrawExtendGraph "dx_DrawExtendGraph" int,int,int,int,int,int
#func global DrawExtendGraphF "dx_DrawExtendGraphF" float,float,float,float,int,int
#func global DrawRotaGraph "dx_DrawRotaGraph" int,int,double,double,int,int,int
#func global DrawRotaGraphF "dx_DrawRotaGraphF" float,float,double,double,int,int,int
#func global DrawRotaGraph2 "dx_DrawRotaGraph2" int,int,int,int,double,double,int,int,int
#func global DrawRotaGraph2F "dx_DrawRotaGraph2F" float,float,float,float,double,double,int,int,int
#func global DrawModiGraph "dx_DrawModiGraph" int,int,int,int,int,int,int,int,int,int
#func global DrawModiGraphF "dx_DrawModiGraphF" float,float,float,float,float,float,float,float,int,int
#func global DrawTurnGraph "dx_DrawTurnGraph" int,int,int,int
#func global DrawTurnGraphF "dx_DrawTurnGraphF" float,float,int,int
#func global DrawTile "dx_DrawTile" int,int,int,int,int,int,double,double,int,int
#func global DrawRectGraph "dx_DrawRectGraph" int,int,int,int,int,int,int,int,int
#func global DrawRectExtendGraph "dx_DrawRectExtendGraph" int,int,int,int,int,int,int,int,int,int
#func global DrawRectRotaGraph "dx_DrawRectRotaGraph" int,int,int,int,int,int,double,double,int,int,int
#func global DrawRectGraphF "dx_DrawRectGraphF" float,float,int,int,int,int,int,int,int
#func global DrawRectExtendGraphF "dx_DrawRectExtendGraphF" float,float,float,float,int,int,int,int,int,int
#func global DrawRectRotaGraphF "dx_DrawRectRotaGraphF" float,float,int,int,int,int,double,double,int,int,int
#func global DrawBlendGraph "dx_DrawBlendGraph" int,int,int,int,int,int,int
#func global DrawBlendGraphPos "dx_DrawBlendGraphPos" int,int,int,int,int,int,int,int,int
#func global DrawCircleGauge "dx_DrawCircleGauge" int,int,double,int
#func global DrawGraphToZBuffer "dx_DrawGraphToZBuffer" int,int,int,int
#func global DrawTurnGraphToZBuffer "dx_DrawTurnGraphToZBuffer" int,int,int,int
#func global DrawExtendGraphToZBuffer "dx_DrawExtendGraphToZBuffer" int,int,int,int,int,int
#func global DrawRotaGraphToZBuffer "dx_DrawRotaGraphToZBuffer" int,int,double,double,int,int,int
#func global DrawModiGraphToZBuffer "dx_DrawModiGraphToZBuffer" int,int,int,int,int,int,int,int,int,int
#func global DrawBoxToZBuffer "dx_DrawBoxToZBuffer" int,int,int,int,int,int
#func global DrawCircleToZBuffer "dx_DrawCircleToZBuffer" int,int,int,int,int
#func global DrawStringToZBuffer "dx_DrawStringToZBuffer" int,int,str,int
#func global DrawVStringToZBuffer "dx_DrawVStringToZBuffer" int,int,str,int
#func global DrawStringToHandleToZBuffer "dx_DrawStringToHandleToZBuffer" int,int,str,int,int,int
#func global DrawVStringToHandleToZBuffer "dx_DrawVStringToHandleToZBuffer" int,int,str,int,int
#func global DrawExtendStringToZBuffer "dx_DrawExtendStringToZBuffer" int,int,double,double,str,int
#func global DrawExtendVStringToZBuffer "dx_DrawExtendVStringToZBuffer" int,int,double,double,str,int
#func global DrawExtendStringToHandleToZBuffer "dx_DrawExtendStringToHandleToZBuffer" int,int,double,double,str,int,int,int
#func global DrawExtendVStringToHandleToZBuffer "dx_DrawExtendVStringToHandleToZBuffer" int,int,double,double,str,int,int
#func global DrawPolygonBase "dx_DrawPolygonBase" sptr,int,int,int,int,int
#func global DrawPolygon "dx_DrawPolygon" sptr,int,int,int,int
#func global DrawPrimitive2D "dx_DrawPrimitive2D" sptr,int,int,int,int
#func global DrawPrimitiveIndexed2D "dx_DrawPrimitiveIndexed2D" sptr,int,sptr,int,int,int,int
#func global DrawPrimitive3D "dx_DrawPrimitive3D" sptr,int,int,int,int
#func global DrawPrimitiveIndexed3D "dx_DrawPrimitiveIndexed3D" sptr,int,sptr,int,int,int,int
#func global DrawPrimitive3D_UseVertexBuffer "dx_DrawPrimitive3D_UseVertexBuffer" int,int,int,int
#func global DrawPrimitive3D_UseVertexBuffer2 "dx_DrawPrimitive3D_UseVertexBuffer2" int,int,int,int,int,int
#func global DrawPrimitiveIndexed3D_UseVertexBuffer "dx_DrawPrimitiveIndexed3D_UseVertexBuffer" int,int,int,int,int
#func global DrawPrimitiveIndexed3D_UseVertexBuffer2 "dx_DrawPrimitiveIndexed3D_UseVertexBuffer2" int,int,int,int,int,int,int,int,int,int
#func global DrawPolygon3D "dx_DrawPolygon3D" sptr,int,int,int
#func global DrawPolygonIndexed3D "dx_DrawPolygonIndexed3D" sptr,int,sptr,int,int,int
#func global DrawPolygon3D_UseVertexBuffer "dx_DrawPolygon3D_UseVertexBuffer" int,int,int
#func global DrawPolygonIndexed3D_UseVertexBuffer "dx_DrawPolygonIndexed3D_UseVertexBuffer" int,int,int,int
#func global DrawPolygonIndexed3DBase "dx_DrawPolygonIndexed3DBase" sptr,int,sptr,int,int,int,int
#func global DrawPolygon3DBase "dx_DrawPolygon3DBase" sptr,int,int,int,int
#func global DrawPolygon3D_2 "dx_DrawPolygon3D_2" sptr,int,int,int
#func global DrawGraph3D "dx_DrawGraph3D" float,float,float,int,int
#func global DrawExtendGraph3D "dx_DrawExtendGraph3D" float,float,float,double,double,int,int
#func global DrawRotaGraph3D "dx_DrawRotaGraph3D" float,float,float,double,double,int,int,int
#func global DrawRota2Graph3D "dx_DrawRota2Graph3D" float,float,float,float,float,double,double,double,int,int,int
#func global DrawModiBillboard3D "dx_DrawModiBillboard3D" float,float,float,float,float,float,float,float,float,float,float,int,int
#func global DrawBillboard3D "dx_DrawBillboard3D" float,float,float,float,float,float,float,int,int,int
#func global FillGraph "dx_FillGraph" int,int,int,int,int
#func global DrawLine "dx_DrawLine" int,int,int,int,int,int
#func global DrawBox "dx_DrawBox" int,int,int,int,int,int
#func global DrawFillBox "dx_DrawFillBox" int,int,int,int,int
#func global DrawLineBox "dx_DrawLineBox" int,int,int,int,int
#func global DrawCircle "dx_DrawCircle" int,int,int,int,int
#func global DrawOval "dx_DrawOval" int,int,int,int,int,int
#func global DrawTriangle "dx_DrawTriangle" int,int,int,int,int,int,int,int
#func global DrawQuadrangle "dx_DrawQuadrangle" int,int,int,int,int,int,int,int,int,int
#func global DrawPixel "dx_DrawPixel" int,int,int
#func global DrawPixelSet "dx_DrawPixelSet" sptr,int
#func global DrawLineSet "dx_DrawLineSet" sptr,int
#func global DrawPixel3D "dx_DrawPixel3D" float,float,float,int
#func global DrawLine3D "dx_DrawLine3D" float,float,float,float,float,float,int
#func global DrawTriangle3D "dx_DrawTriangle3D" float,float,float,float,float,float,float,float,float,int,int
#func global DrawCube3D "dx_DrawCube3D" float,float,float,float,float,float,int,int,int
#func global DrawSphere3D "dx_DrawSphere3D" float,float,float,float,int,int,int,int
#func global DrawCapsule3D "dx_DrawCapsule3D" float,float,float,float,float,float,float,int,int,int,int
#func global DrawCone3D "dx_DrawCone3D" float,float,float,float,float,float,float,int,int,int,int
#func global DrawString "dx_DrawString" int,int,str,int,int
#func global DrawVString "dx_DrawVString" int,int,str,int,int
#func global DrawStringToHandle "dx_DrawStringToHandle" int,int,str,int,int,int,int
#func global DrawVStringToHandle "dx_DrawVStringToHandle" int,int,str,int,int,int
#func global DrawExtendString "dx_DrawExtendString" int,int,double,double,str,int,int
#func global DrawExtendVString "dx_DrawExtendVString" int,int,double,double,str,int,int
#func global DrawExtendStringToHandle "dx_DrawExtendStringToHandle" int,int,double,double,str,int,int,int,int
#func global DrawExtendVStringToHandle "dx_DrawExtendVStringToHandle" int,int,double,double,str,int,int,int
#func global DrawNumberToI "dx_DrawNumberToI" int,int,int,int,int,int
#func global DrawNumberToF "dx_DrawNumberToF" int,int,double,int,int,int
#func global DrawNumberPlusToI "dx_DrawNumberPlusToI" int,int,str,int,int,int,int
#func global DrawNumberPlusToF "dx_DrawNumberPlusToF" int,int,str,double,int,int,int
#func global DrawNumberToIToHandle "dx_DrawNumberToIToHandle" int,int,int,int,int,int,int
#func global DrawNumberToFToHandle "dx_DrawNumberToFToHandle" int,int,double,int,int,int,int
#func global DrawNumberPlusToIToHandle "dx_DrawNumberPlusToIToHandle" int,int,str,int,int,int,int,int
#func global DrawNumberPlusToFToHandle "dx_DrawNumberPlusToFToHandle" int,int,str,double,int,int,int,int
#func global CreateVertexBuffer "dx_CreateVertexBuffer" int,int
#func global DeleteVertexBuffer "dx_DeleteVertexBuffer" int
#func global InitVertexBuffer "dx_InitVertexBuffer" 
#func global SetVertexBufferData "dx_SetVertexBufferData" int,sptr,int,int
#func global CreateIndexBuffer "dx_CreateIndexBuffer" int,int
#func global DeleteIndexBuffer "dx_DeleteIndexBuffer" int
#func global InitIndexBuffer "dx_InitIndexBuffer" 
#func global SetIndexBufferData "dx_SetIndexBufferData" int,sptr,int,int
#func global GetValidShaderVersion "dx_GetValidShaderVersion" 
#func global LoadVertexShader "dx_LoadVertexShader" str
#func global LoadVertexShaderFromMem "dx_LoadVertexShaderFromMem" sptr,int
#func global LoadPixelShader "dx_LoadPixelShader" str
#func global LoadPixelShaderFromMem "dx_LoadPixelShaderFromMem" sptr,int
#func global DeleteShader "dx_DeleteShader" int
#func global InitShader "dx_InitShader" 
#func global GetConstIndexToShader "dx_GetConstIndexToShader" str,int
#func global GetConstCountToShader "dx_GetConstCountToShader" str,int
#func global SetVSConstSF "dx_SetVSConstSF" int,float
#func global SetVSConstF "dx_SetVSConstF" int,float,float,float,float
#func global SetVSConstFMtx "dx_SetVSConstFMtx" int,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global SetVSConstSI "dx_SetVSConstSI" int,int
#func global SetVSConstI "dx_SetVSConstI" int,int,int,int,int
#func global SetVSConstB "dx_SetVSConstB" int,int
#func global SetVSConstSFArray "dx_SetVSConstSFArray" int,sptr,int
#func global SetVSConstFArray "dx_SetVSConstFArray" int,sptr,int
#func global SetVSConstFMtxArray "dx_SetVSConstFMtxArray" int,sptr,int
#func global SetVSConstSIArray "dx_SetVSConstSIArray" int,sptr,int
#func global SetVSConstIArray "dx_SetVSConstIArray" int,sptr,int
#func global SetVSConstBArray "dx_SetVSConstBArray" int,sptr,int
#func global SetPSConstSF "dx_SetPSConstSF" int,float
#func global SetPSConstF "dx_SetPSConstF" int,float,float,float,float
#func global SetPSConstFMtx "dx_SetPSConstFMtx" int,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global SetPSConstSI "dx_SetPSConstSI" int,int
#func global SetPSConstI "dx_SetPSConstI" int,int,int,int,int
#func global SetPSConstB "dx_SetPSConstB" int,int
#func global SetPSConstSFArray "dx_SetPSConstSFArray" int,sptr,int
#func global SetPSConstFArray "dx_SetPSConstFArray" int,sptr,int
#func global SetPSConstFMtxArray "dx_SetPSConstFMtxArray" int,sptr,int
#func global SetPSConstSIArray "dx_SetPSConstSIArray" int,sptr,int
#func global SetPSConstIArray "dx_SetPSConstIArray" int,sptr,int
#func global SetPSConstBArray "dx_SetPSConstBArray" int,sptr,int
#func global SetUseTextureToShader "dx_SetUseTextureToShader" int,int
#func global SetUseVertexShader "dx_SetUseVertexShader" int
#func global SetUsePixelShader "dx_SetUsePixelShader" int
#func global DrawPrimitive2DToShader "dx_DrawPrimitive2DToShader" sptr,int,int
#func global DrawPrimitive3DToShader "dx_DrawPrimitive3DToShader" sptr,int,int
#func global DrawPrimitiveIndexed2DToShader "dx_DrawPrimitiveIndexed2DToShader" sptr,int,sptr,int,int
#func global DrawPrimitiveIndexed3DToShader "dx_DrawPrimitiveIndexed3DToShader" sptr,int,sptr,int,int
#func global SetDrawMode "dx_SetDrawMode" int
#func global SetMaxAnisotropy "dx_SetMaxAnisotropy" int
#func global SetDrawBlendMode "dx_SetDrawBlendMode" int,int
#func global SetDrawAlphaTest "dx_SetDrawAlphaTest" int,int
#func global SetBlendGraph "dx_SetBlendGraph" int,int,int
#func global SetBlendGraphPosition "dx_SetBlendGraphPosition" int,int
#func global SetDrawBright "dx_SetDrawBright" int,int,int
#func global SetIgnoreDrawGraphColor "dx_SetIgnoreDrawGraphColor" int
#func global SetDrawScreen "dx_SetDrawScreen" int
#func global SetDrawZBuffer "dx_SetDrawZBuffer" int
#func global SetDrawArea "dx_SetDrawArea" int,int,int,int
#func global SetDraw3DScale "dx_SetDraw3DScale" float
#func global SetDrawAreaFull "dx_SetDrawAreaFull" 
#func global SetUse3DFlag "dx_SetUse3DFlag" int
#func global SetUseHardwareVertexProcessing "dx_SetUseHardwareVertexProcessing" int
#func global RunRestoreShred "dx_RunRestoreShred" 
#func global SetTransformToWorld "dx_SetTransformToWorld" sptr
#func global SetTransformToView "dx_SetTransformToView" sptr
#func global SetTransformToProjection "dx_SetTransformToProjection" sptr
#func global SetTransformToViewport "dx_SetTransformToViewport" sptr
#func global SetUseCullingFlag "dx_SetUseCullingFlag" int
#func global SetUseBackCulling "dx_SetUseBackCulling" int
#func global SetTextureAddressMode "dx_SetTextureAddressMode" int,int
#func global SetTextureAddressModeUV "dx_SetTextureAddressModeUV" int,int,int
#func global SetTextureAddressTransform "dx_SetTextureAddressTransform" float,float,float,float,float,float,float
#func global SetTextureAddressTransformMatrix "dx_SetTextureAddressTransformMatrix" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global ResetTextureAddressTransform "dx_ResetTextureAddressTransform" 
#func global SetFogEnable "dx_SetFogEnable" int
#func global SetFogMode "dx_SetFogMode" int
#func global SetFogColor "dx_SetFogColor" int,int,int
#func global SetFogStartEnd "dx_SetFogStartEnd" float,float
#func global SetFogDensity "dx_SetFogDensity" float
#func global SetUseSystemMemGraphCreateFlag "dx_SetUseSystemMemGraphCreateFlag" int
#func global SetUseVramFlag "dx_SetUseVramFlag" int
#func global RestoreGraphSystem "dx_RestoreGraphSystem" 
#func global SetAeroDisableFlag "dx_SetAeroDisableFlag" int
#func global GetDrawScreenGraph "dx_GetDrawScreenGraph" int,int,int,int,int,int
#func global GraphUnLock "dx_GraphUnLock" int
#func global SetUseGraphZBuffer "dx_SetUseGraphZBuffer" int,int
#func global CopyGraphZBufferImage "dx_CopyGraphZBufferImage" int,int
#func global GetGraphSize "dx_GetGraphSize" int,sptr,sptr
#func global GetGraphTextureSize "dx_GetGraphTextureSize" int,sptr,sptr
#func global GetGraphMipmapCount "dx_GetGraphMipmapCount" int
#func global GetScreenState "dx_GetScreenState" sptr,sptr,sptr
#func global GetUse3DFlag "dx_GetUse3DFlag" 
#func global GetValidRestoreShredPoint "dx_GetValidRestoreShredPoint" 
#func global GetTransformToViewMatrix "dx_GetTransformToViewMatrix" sptr
#func global GetTransformToWorldMatrix "dx_GetTransformToWorldMatrix" sptr
#func global GetTransformToProjectionMatrix "dx_GetTransformToProjectionMatrix" sptr
#func global GetTransformPosition "dx_GetTransformPosition" sptr,sptr,sptr
#func global GetBillboardPixelSize "dx_GetBillboardPixelSize" float,float,float,float
#func global ConvWorldPosToScreenPos "dx_ConvWorldPosToScreenPos" float,float,float
#func global ConvWorldPosToScreenPosPlusW "dx_ConvWorldPosToScreenPosPlusW" float,float,float
#func global ConvScreenPosToWorldPos "dx_ConvScreenPosToWorldPos" float,float,float
#func global ConvScreenPosToWorldPos_ZLinear "dx_ConvScreenPosToWorldPos_ZLinear" float,float,float
#func global GetUseVramFlag "dx_GetUseVramFlag" 
#func global GetCreateGraphColorData "dx_GetCreateGraphColorData" sptr,sptr
#func global DerivationGraph "dx_DerivationGraph" int,int,int,int,int
#func global PlayMovie "dx_PlayMovie" str,int,int
#func global OpenMovieToGraph "dx_OpenMovieToGraph" str,int
#func global PlayMovieToGraph "dx_PlayMovieToGraph" int,int,int
#func global PauseMovieToGraph "dx_PauseMovieToGraph" int,int
#func global AddMovieFrameToGraph "dx_AddMovieFrameToGraph" int,sptr
#func global SeekMovieToGraph "dx_SeekMovieToGraph" int,int
#func global GetMovieStateToGraph "dx_GetMovieStateToGraph" int
#func global SetMovieVolumeToGraph "dx_SetMovieVolumeToGraph" int,int
#func global ChangeMovieVolumeToGraph "dx_ChangeMovieVolumeToGraph" int,int
#func global GetMovieTotalFrameToGraph "dx_GetMovieTotalFrameToGraph" int
#func global TellMovieToGraph "dx_TellMovieToGraph" int
#func global TellMovieToGraphToFrame "dx_TellMovieToGraphToFrame" int
#func global SeekMovieToGraphToFrame "dx_SeekMovieToGraphToFrame" int,int
#func global GetOneFrameTimeMovieToGraph "dx_GetOneFrameTimeMovieToGraph" int
#func global GetLastUpdateTimeMovieToGraph "dx_GetLastUpdateTimeMovieToGraph" int
#func global LoadBmpToGraph "dx_LoadBmpToGraph" str,int,int,int
#func global LoadGraph "dx_LoadGraph" str,int
#func global LoadReverseGraph "dx_LoadReverseGraph" str,int
#func global LoadDivGraph "dx_LoadDivGraph" str,int,int,int,int,int,sptr,int
#func global LoadDivBmpToGraph "dx_LoadDivBmpToGraph" str,int,int,int,int,int,sptr,int,int
#func global LoadReverseDivGraph "dx_LoadReverseDivGraph" str,int,int,int,int,int,sptr,int
#func global LoadBlendGraph "dx_LoadBlendGraph" str
#func global LoadDivGraphToResource "dx_LoadDivGraphToResource" int,int,int,int,int,int,sptr
#func global LoadDivGraphToResource_2 "dx_LoadDivGraphToResource_2" str,str,int,int,int,int,int,sptr
#func global CreateGraphFromMem "dx_CreateGraphFromMem" sptr,int,sptr,int,int,int
#func global ReCreateGraphFromMem "dx_ReCreateGraphFromMem" sptr,int,int,sptr,int,int,int
#func global CreateDivGraphFromMem "dx_CreateDivGraphFromMem" sptr,int,int,int,int,int,int,sptr,int,int,sptr,int
#func global ReCreateDivGraphFromMem "dx_ReCreateDivGraphFromMem" sptr,int,int,int,int,int,int,sptr,int,int,sptr,int
#func global CreateGraph "dx_CreateGraph" int,int,int,sptr,sptr,int
#func global CreateDivGraph "dx_CreateDivGraph" int,int,int,sptr,int,int,int,int,int,sptr,sptr
#func global ReCreateGraph "dx_ReCreateGraph" int,int,int,sptr,int,sptr
#func global CreateBlendGraphFromSoftImage "dx_CreateBlendGraphFromSoftImage" int
#func global CreateGraphFromSoftImage "dx_CreateGraphFromSoftImage" int
#func global CreateGraphFromRectSoftImage "dx_CreateGraphFromRectSoftImage" int,int,int,int,int
#func global ReCreateGraphFromSoftImage "dx_ReCreateGraphFromSoftImage" int,int
#func global ReCreateGraphFromRectSoftImage "dx_ReCreateGraphFromRectSoftImage" int,int,int,int,int,int
#func global CreateDivGraphFromSoftImage "dx_CreateDivGraphFromSoftImage" int,int,int,int,int,int,sptr
#func global ReloadGraph "dx_ReloadGraph" str,int,int
#func global ReloadDivGraph "dx_ReloadDivGraph" str,int,int,int,int,int,sptr,int
#func global ReloadReverseGraph "dx_ReloadReverseGraph" str,int
#func global ReloadReverseDivGraph "dx_ReloadReverseDivGraph" str,int,int,int,int,int,sptr
#func global SetCameraNearFar "dx_SetCameraNearFar" float,float
#func global SetCameraPositionAndTarget_UpVecY "dx_SetCameraPositionAndTarget_UpVecY" float,float,float,float,float,float
#func global SetCameraPositionAndTargetAndUpVec "dx_SetCameraPositionAndTargetAndUpVec" float,float,float,float,float,float,float,float,float
#func global SetCameraPositionAndAngle "dx_SetCameraPositionAndAngle" float,float,float,float,float,float
#func global SetCameraViewMatrix "dx_SetCameraViewMatrix" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global SetCameraScreenCenter "dx_SetCameraScreenCenter" float,float
#func global SetupCamera_Perspective "dx_SetupCamera_Perspective" float
#func global SetupCamera_Ortho "dx_SetupCamera_Ortho" float
#func global SetupCamera_ProjectionMatrix "dx_SetupCamera_ProjectionMatrix" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global SetCameraDotAspect "dx_SetCameraDotAspect" float
#func global GetCameraNear "dx_GetCameraNear" 
#func global GetCameraFar "dx_GetCameraFar" 
#func global GetCameraPosition "dx_GetCameraPosition" 
#func global GetCameraTarget "dx_GetCameraTarget" 
#func global GetCameraUpVector "dx_GetCameraUpVector" 
#func global GetCameraAngleHRotate "dx_GetCameraAngleHRotate" 
#func global GetCameraAngleVRotate "dx_GetCameraAngleVRotate" 
#func global GetCameraAngleTRotate "dx_GetCameraAngleTRotate" 
#func global GetCameraViewMatrix "dx_GetCameraViewMatrix" 
#func global GetCameraBillboardMatrix "dx_GetCameraBillboardMatrix" 
#func global GetCameraFov "dx_GetCameraFov" 
#func global GetCameraSize "dx_GetCameraSize" 
#func global GetCameraProjectionMatrix "dx_GetCameraProjectionMatrix" 
#func global GetCameraDotAspect "dx_GetCameraDotAspect" 
#func global SetUseLighting "dx_SetUseLighting" int
#func global SetMaterialUseVertDifColor "dx_SetMaterialUseVertDifColor" int
#func global SetMaterialUseVertSpcColor "dx_SetMaterialUseVertSpcColor" int
#func global SetMaterialParam "dx_SetMaterialParam" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global SetUseSpecular "dx_SetUseSpecular" int
#func global SetGlobalAmbientLight "dx_SetGlobalAmbientLight" float,float,float,float
#func global ChangeLightTypeDir "dx_ChangeLightTypeDir" float,float,float
#func global ChangeLightTypeSpot "dx_ChangeLightTypeSpot" float,float,float,float,float,float,float,float,float,float,float,float
#func global ChangeLightTypePoint "dx_ChangeLightTypePoint" float,float,float,float,float,float,float
#func global SetLightEnable "dx_SetLightEnable" int
#func global SetLightDifColor "dx_SetLightDifColor" float,float,float,float
#func global SetLightSpcColor "dx_SetLightSpcColor" float,float,float,float
#func global SetLightAmbColor "dx_SetLightAmbColor" float,float,float,float
#func global SetLightDirection "dx_SetLightDirection" float,float,float
#func global SetLightPosition "dx_SetLightPosition" float,float,float
#func global SetLightRangeAtten "dx_SetLightRangeAtten" float,float,float,float
#func global SetLightAngle "dx_SetLightAngle" float,float
#func global GetLightType "dx_GetLightType" 
#func global GetLightEnable "dx_GetLightEnable" 
#func global GetLightDifColor "dx_GetLightDifColor" 
#func global GetLightSpcColor "dx_GetLightSpcColor" 
#func global GetLightAmbColor "dx_GetLightAmbColor" 
#func global GetLightDirection "dx_GetLightDirection" 
#func global GetLightPosition "dx_GetLightPosition" 
#func global GetLightRangeAtten "dx_GetLightRangeAtten" sptr,sptr,sptr,sptr
#func global GetLightAngle "dx_GetLightAngle" sptr,sptr
#func global CreateDirLightHandle "dx_CreateDirLightHandle" float,float,float
#func global CreateSpotLightHandle "dx_CreateSpotLightHandle" float,float,float,float,float,float,float,float,float,float,float,float
#func global CreatePointLightHandle "dx_CreatePointLightHandle" float,float,float,float,float,float,float
#func global DeleteLightHandle "dx_DeleteLightHandle" int
#func global DeleteLightHandleAll "dx_DeleteLightHandleAll" 
#func global SetLightTypeHandle "dx_SetLightTypeHandle" int,int
#func global SetLightEnableHandle "dx_SetLightEnableHandle" int,int
#func global SetLightDifColorHandle "dx_SetLightDifColorHandle" int,float,float,float,float
#func global SetLightSpcColorHandle "dx_SetLightSpcColorHandle" int,float,float,float,float
#func global SetLightAmbColorHandle "dx_SetLightAmbColorHandle" int,float,float,float,float
#func global SetLightDirectionHandle "dx_SetLightDirectionHandle" int,float,float,float
#func global SetLightPositionHandle "dx_SetLightPositionHandle" int,float,float,float
#func global SetLightRangeAttenHandle "dx_SetLightRangeAttenHandle" int,float,float,float,float
#func global SetLightAngleHandle "dx_SetLightAngleHandle" int,float,float
#func global GetLightTypeHandle "dx_GetLightTypeHandle" int
#func global GetLightEnableHandle "dx_GetLightEnableHandle" int
#func global GetLightDifColorHandle "dx_GetLightDifColorHandle" int
#func global GetLightSpcColorHandle "dx_GetLightSpcColorHandle" int
#func global GetLightAmbColorHandle "dx_GetLightAmbColorHandle" int
#func global GetLightDirectionHandle "dx_GetLightDirectionHandle" int
#func global GetLightPositionHandle "dx_GetLightPositionHandle" int
#func global GetLightRangeAttenHandle "dx_GetLightRangeAttenHandle" int,sptr,sptr,sptr,sptr
#func global GetLightAngleHandle "dx_GetLightAngleHandle" int,sptr,sptr
#func global SetGraphColorBitDepth "dx_SetGraphColorBitDepth" int
#func global SetCreateGraphColorBitDepth "dx_SetCreateGraphColorBitDepth" int
#func global GetCreateGraphColorBitDepth "dx_GetCreateGraphColorBitDepth" 
#func global GetGraphColorBitDepth "dx_GetGraphColorBitDepth" 
#func global SetDrawValidGraphCreateFlag "dx_SetDrawValidGraphCreateFlag" int
#func global GetDrawValidGraphCreateFlag "dx_GetDrawValidGraphCreateFlag" 
#func global SetLeftUpColorIsTransColorFlag "dx_SetLeftUpColorIsTransColorFlag" int
#func global GetUseBlendGraphCreateFlag "dx_GetUseBlendGraphCreateFlag" 
#func global GetUseSystemMemGraphCreateFlag "dx_GetUseSystemMemGraphCreateFlag" 
#func global SetUseBlendGraphCreateFlag "dx_SetUseBlendGraphCreateFlag" int
#func global SetUseAlphaTestGraphCreateFlag "dx_SetUseAlphaTestGraphCreateFlag" int
#func global SetUseAlphaTestFlag "dx_SetUseAlphaTestFlag" int
#func global SetUseNoBlendModeParam "dx_SetUseNoBlendModeParam" int
#func global SetDrawValidFlagOf3DGraph "dx_SetDrawValidFlagOf3DGraph" int
#func global GetUseAlphaTestFlag "dx_GetUseAlphaTestFlag" 
#func global GetUseAlphaTestGraphCreateFlag "dx_GetUseAlphaTestGraphCreateFlag" 
#func global SetDrawValidAlphaChannelGraphCreateFlag "dx_SetDrawValidAlphaChannelGraphCreateFlag" int
#func global GetDrawValidAlphaChannelGraphCreateFlag "dx_GetDrawValidAlphaChannelGraphCreateFlag" 
#func global SetDrawValidFloatTypeGraphCreateFlag "dx_SetDrawValidFloatTypeGraphCreateFlag" int
#func global GetDrawValidFloatTypeGraphCreateFlag "dx_GetDrawValidFloatTypeGraphCreateFlag" 
#func global SetDrawValidMultiSample "dx_SetDrawValidMultiSample" int,int
#func global GetMultiSampleQuality "dx_GetMultiSampleQuality" int
#func global SetUseZBufferFlag "dx_SetUseZBufferFlag" int
#func global SetWriteZBufferFlag "dx_SetWriteZBufferFlag" int
#func global SetZBufferCmpType "dx_SetZBufferCmpType" int
#func global SetZBias "dx_SetZBias" int
#func global SetUseZBuffer3D "dx_SetUseZBuffer3D" int
#func global SetWriteZBuffer3D "dx_SetWriteZBuffer3D" int
#func global SetZBufferCmpType3D "dx_SetZBufferCmpType3D" int
#func global SetZBias3D "dx_SetZBias3D" int
#func global SetDrawZ "dx_SetDrawZ" float
#func global SetUseTransColor "dx_SetUseTransColor" int
#func global SetUseTransColorGraphCreateFlag "dx_SetUseTransColorGraphCreateFlag" int
#func global SetUseAlphaChannelGraphCreateFlag "dx_SetUseAlphaChannelGraphCreateFlag" int
#func global SetUseGraphAlphaChannel "dx_SetUseGraphAlphaChannel" int
#func global GetUseAlphaChannelGraphCreateFlag "dx_GetUseAlphaChannelGraphCreateFlag" 
#func global GetUseGraphAlphaChannel "dx_GetUseGraphAlphaChannel" 
#func global SetUseNotManageTextureFlag "dx_SetUseNotManageTextureFlag" int
#func global SetTransColor "dx_SetTransColor" int,int,int
#func global GetTransColor "dx_GetTransColor" sptr,sptr,sptr
#func global GetDrawArea "dx_GetDrawArea" sptr
#func global GetUseNotManageTextureFlag "dx_GetUseNotManageTextureFlag" 
#func global SetUseBasicGraphDraw3DDeviceMethodFlag "dx_SetUseBasicGraphDraw3DDeviceMethodFlag" int
#func global SetWindowDrawRect "dx_SetWindowDrawRect" sptr
#func global GetDrawBlendMode "dx_GetDrawBlendMode" sptr,sptr
#func global GetDrawMode "dx_GetDrawMode" 
#func global GetDrawBright "dx_GetDrawBright" sptr,sptr,sptr
#func global GetActiveGraph "dx_GetActiveGraph" 
#func global GetTexFormatIndex "dx_GetTexFormatIndex" sptr
#func global SetWaitVSyncFlag "dx_SetWaitVSyncFlag" int
#func global GetWaitVSyncFlag "dx_GetWaitVSyncFlag" 
#func global ColorKaiseki "dx_ColorKaiseki" sptr,sptr
#func global SetDefTransformMatrix "dx_SetDefTransformMatrix" 
#func global SetEmulation320x240 "dx_SetEmulation320x240" int
#func global SetUseGraphBaseDataBackup "dx_SetUseGraphBaseDataBackup" int
#func global GetUseGraphBaseDataBackup "dx_GetUseGraphBaseDataBackup" 
#func global CreateMaskScreen "dx_CreateMaskScreen" 
#func global DeleteMaskScreen "dx_DeleteMaskScreen" 
#func global GetMaskSurface "dx_GetMaskSurface" 
#func global DrawMaskToDirectData "dx_DrawMaskToDirectData" int,int,int,int,sptr,int
#func global DrawFillMaskToDirectData "dx_DrawFillMaskToDirectData" int,int,int,int,int,int,sptr
#func global SetUseMaskScreenFlag "dx_SetUseMaskScreenFlag" int
#func global GetUseMaskScreenFlag "dx_GetUseMaskScreenFlag" 
#func global FillMaskScreen "dx_FillMaskScreen" int
#func global InitMask "dx_InitMask" 
#func global MakeMask "dx_MakeMask" int,int
#func global GetMaskSize "dx_GetMaskSize" sptr,sptr,int
#func global SetDataToMask "dx_SetDataToMask" int,int,sptr,int
#func global DeleteMask "dx_DeleteMask" int
#func global LoadMask "dx_LoadMask" str
#func global LoadDivMask "dx_LoadDivMask" str,int,int,int,int,int,sptr
#func global DrawMask "dx_DrawMask" int,int,int,int
#func global DrawStringMask "dx_DrawStringMask" int,int,int,str
#func global DrawStringMaskToHandle "dx_DrawStringMaskToHandle" int,int,int,int,str
#func global DrawFillMask "dx_DrawFillMask" int,int,int,int,int
#func global SetMaskTransColor "dx_SetMaskTransColor" int
#func global SetMaskReverseEffectFlag "dx_SetMaskReverseEffectFlag" int
#func global GetMaskScreenData "dx_GetMaskScreenData" int,int,int,int,int
#func global GetMaskUseFlag "dx_GetMaskUseFlag" 
#func global SetMovieRightImageAlphaFlag "dx_SetMovieRightImageAlphaFlag" int
#func global EnumFontName "dx_EnumFontName" str,int,int
#func global EnumFontNameEx "dx_EnumFontNameEx" str,int,int
#func global InitFontToHandle "dx_InitFontToHandle" 
#func global CreateFontToHandle "dx_CreateFontToHandle" str,int,int,int,int,int,int,int
#func global SetFontSpaceToHandle "dx_SetFontSpaceToHandle" int,int
#func global SetDefaultFontState "dx_SetDefaultFontState" str,int,int
#func global DeleteFontToHandle "dx_DeleteFontToHandle" int
#func global SetFontLostFlag "dx_SetFontLostFlag" int,sptr
#func global SetFontSize "dx_SetFontSize" int
#func global SetFontThickness "dx_SetFontThickness" int
#func global SetFontSpace "dx_SetFontSpace" int
#func global SetFontCacheToTextureFlag "dx_SetFontCacheToTextureFlag" int
#func global SetFontChacheToTextureFlag "dx_SetFontChacheToTextureFlag" int
#func global SetFontCacheCharNum "dx_SetFontCacheCharNum" int
#func global ChangeFont "dx_ChangeFont" str,int
#func global ChangeFontType "dx_ChangeFontType" int
#func global GetFontMaxWidth "dx_GetFontMaxWidth" 
#func global GetFontMaxWidthToHandle "dx_GetFontMaxWidthToHandle" int
#func global GetFontCharInfo "dx_GetFontCharInfo" int,str,sptr,sptr,sptr,sptr,sptr
#func global GetDrawStringWidth "dx_GetDrawStringWidth" str,int,int
#func global GetDrawStringWidthToHandle "dx_GetDrawStringWidthToHandle" str,int,int,int
#func global GetDrawExtendStringWidth "dx_GetDrawExtendStringWidth" double,str,int,int
#func global GetDrawExtendStringWidthToHandle "dx_GetDrawExtendStringWidthToHandle" double,str,int,int,int
#func global GetFontStateToHandle "dx_GetFontStateToHandle" str,sptr,sptr,int
#func global GetDefaultFontHandle "dx_GetDefaultFontHandle" 
#func global GetFontChacheToTextureFlag "dx_GetFontChacheToTextureFlag" 
#func global GetFontCacheToTextureFlag "dx_GetFontCacheToTextureFlag" 
#func global CheckFontChacheToTextureFlag "dx_CheckFontChacheToTextureFlag" int
#func global CheckFontCacheToTextureFlag "dx_CheckFontCacheToTextureFlag" int
#func global CheckFontHandleValid "dx_CheckFontHandleValid" int
#func global MultiByteCharCheck "dx_MultiByteCharCheck" str,int
#func global GetFontCacheCharNum "dx_GetFontCacheCharNum" 
#func global GetFontSize "dx_GetFontSize" 
#func global GetFontSizeToHandle "dx_GetFontSizeToHandle" int
#func global CreateIdentityMatrix "dx_CreateIdentityMatrix" sptr
#func global CreateLookAtMatrix "dx_CreateLookAtMatrix" sptr,sptr,sptr,sptr
#func global CreateLookAtMatrix2 "dx_CreateLookAtMatrix2" sptr,sptr,double,double
#func global CreateLookAtMatrixRH "dx_CreateLookAtMatrixRH" sptr,sptr,sptr,sptr
#func global CreateMultiplyMatrix "dx_CreateMultiplyMatrix" sptr,sptr,sptr
#func global CreatePerspectiveFovMatrix "dx_CreatePerspectiveFovMatrix" sptr,float,float,float,float
#func global CreatePerspectiveFovMatrixRH "dx_CreatePerspectiveFovMatrixRH" sptr,float,float,float,float
#func global CreateOrthoMatrix "dx_CreateOrthoMatrix" sptr,float,float,float,float
#func global CreateOrthoMatrixRH "dx_CreateOrthoMatrixRH" sptr,float,float,float,float
#func global CreateScalingMatrix "dx_CreateScalingMatrix" sptr,float,float,float
#func global CreateRotationXMatrix "dx_CreateRotationXMatrix" sptr,float
#func global CreateRotationYMatrix "dx_CreateRotationYMatrix" sptr,float
#func global CreateRotationZMatrix "dx_CreateRotationZMatrix" sptr,float
#func global CreateTranslationMatrix "dx_CreateTranslationMatrix" sptr,float,float,float
#func global CreateTransposeMatrix "dx_CreateTransposeMatrix" sptr,sptr
#func global CreateInverseMatrix "dx_CreateInverseMatrix" sptr,sptr
#func global CreateViewportMatrix "dx_CreateViewportMatrix" sptr,float,float,float,float
#func global CreateRotationXYZMatrix "dx_CreateRotationXYZMatrix" sptr,float,float,float
#func global CreateRotationXZYMatrix "dx_CreateRotationXZYMatrix" sptr,float,float,float
#func global CreateRotationYXZMatrix "dx_CreateRotationYXZMatrix" sptr,float,float,float
#func global CreateRotationYZXMatrix "dx_CreateRotationYZXMatrix" sptr,float,float,float
#func global CreateRotationZXYMatrix "dx_CreateRotationZXYMatrix" sptr,float,float,float
#func global CreateRotationZYXMatrix "dx_CreateRotationZYXMatrix" sptr,float,float,float
#func global GetMatrixXYZRotation "dx_GetMatrixXYZRotation" sptr,sptr,sptr,sptr
#func global GetMatrixXZYRotation "dx_GetMatrixXZYRotation" sptr,sptr,sptr,sptr
#func global GetMatrixYXZRotation "dx_GetMatrixYXZRotation" sptr,sptr,sptr,sptr
#func global GetMatrixYZXRotation "dx_GetMatrixYZXRotation" sptr,sptr,sptr,sptr
#func global GetMatrixZXYRotation "dx_GetMatrixZXYRotation" sptr,sptr,sptr,sptr
#func global GetMatrixZYXRotation "dx_GetMatrixZYXRotation" sptr,sptr,sptr,sptr
#func global VectorNormalize "dx_VectorNormalize" sptr,sptr
#func global VectorScale "dx_VectorScale" sptr,sptr,float
#func global VectorMultiply "dx_VectorMultiply" sptr,sptr,sptr
#func global VectorSub "dx_VectorSub" sptr,sptr,sptr
#func global VectorAdd "dx_VectorAdd" sptr,sptr,sptr
#func global VectorOuterProduct "dx_VectorOuterProduct" sptr,sptr,sptr
#func global VectorInnerProduct "dx_VectorInnerProduct" sptr,sptr
#func global VectorRotationX "dx_VectorRotationX" sptr,sptr,double
#func global VectorRotationY "dx_VectorRotationY" sptr,sptr,double
#func global VectorRotationZ "dx_VectorRotationZ" sptr,sptr,double
#func global VectorTransform "dx_VectorTransform" sptr,sptr,sptr
#func global VectorTransform4 "dx_VectorTransform4" sptr,sptr,sptr,sptr,sptr
#func global TriangleBarycenter "dx_TriangleBarycenter" float,float,float,float,float,float,float,float,float,float,float,float,sptr,sptr,sptr
#func global Segment_Segment_MinLength "dx_Segment_Segment_MinLength" float,float,float,float,float,float,float,float,float,float,float,float
#func global Segment_Segment_MinLength_Square "dx_Segment_Segment_MinLength_Square" float,float,float,float,float,float,float,float,float,float,float,float
#func global Segment_Triangle_MinLength "dx_Segment_Triangle_MinLength" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global Segment_Triangle_MinLength_Square "dx_Segment_Triangle_MinLength_Square" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global Segment_Point_MinLength "dx_Segment_Point_MinLength" float,float,float,float,float,float,float,float,float
#func global Segment_Point_MinLength_Square "dx_Segment_Point_MinLength_Square" float,float,float,float,float,float,float,float,float
#func global Triangle_Point_MinLength "dx_Triangle_Point_MinLength" float,float,float,float,float,float,float,float,float,float,float,float
#func global Triangle_Point_MinLength_Square "dx_Triangle_Point_MinLength_Square" float,float,float,float,float,float,float,float,float,float,float,float
#func global Plane_Point_MinLength_Position "dx_Plane_Point_MinLength_Position" float,float,float,float,float,float,float,float,float
#func global Plane_Point_MinLength "dx_Plane_Point_MinLength" float,float,float,float,float,float,float,float,float
#func global HitCheck_Line_Triangle "dx_HitCheck_Line_Triangle" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global HitCheck_Triangle_Triangle "dx_HitCheck_Triangle_Triangle" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global HitCheck_Line_Sphere "dx_HitCheck_Line_Sphere" float,float,float,float,float,float,float,float,float,float
#func global HitCheck_Sphere_Sphere "dx_HitCheck_Sphere_Sphere" float,float,float,float,float,float,float,float
#func global HitCheck_Sphere_Triangle "dx_HitCheck_Sphere_Triangle" float,float,float,float,float,float,float,float,float,float,float,float,float
#func global HitCheck_Capsule_Capsule "dx_HitCheck_Capsule_Capsule" float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global HitCheck_Capsule_Triangle "dx_HitCheck_Capsule_Triangle" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global RectClipping "dx_RectClipping" sptr,sptr
#func global RectAdjust "dx_RectAdjust" sptr
#func global GetRectSize "dx_GetRectSize" sptr,sptr,sptr
#func global MGetIdent "dx_MGetIdent" 
#func global MMult "dx_MMult" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global MScale "dx_MScale" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global MAdd "dx_MAdd" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global MGetScale "dx_MGetScale" float,float,float
#func global MGetRotX "dx_MGetRotX" float
#func global MGetRotY "dx_MGetRotY" float
#func global MGetRotZ "dx_MGetRotZ" float
#func global MGetRotAxis "dx_MGetRotAxis" float,float,float,float
#func global MGetRotVec2 "dx_MGetRotVec2" float,float,float,float,float,float
#func global MGetTranslate "dx_MGetTranslate" float,float,float
#func global MGetAxis1 "dx_MGetAxis1" float,float,float,float,float,float,float,float,float,float,float,float
#func global MGetAxis2 "dx_MGetAxis2" float,float,float,float,float,float,float,float,float,float,float,float
#func global MTranspose "dx_MTranspose" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global MInverse "dx_MInverse" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global MGetSize "dx_MGetSize" float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global VNorm "dx_VNorm" float,float,float
#func global VSize "dx_VSize" float,float,float
#func global VCos "dx_VCos" float,float,float,float,float,float
#func global VRad "dx_VRad" float,float,float,float,float,float
#func global SetUseFastLoadFlag "dx_SetUseFastLoadFlag" int
#func global GetGraphDataShavedMode "dx_GetGraphDataShavedMode" 
#func global SetGraphDataShavedMode "dx_SetGraphDataShavedMode" int
#func global InitSoftImage "dx_InitSoftImage" 
#func global LoadSoftImage "dx_LoadSoftImage" str
#func global LoadSoftImageToMem "dx_LoadSoftImageToMem" sptr,int
#func global MakeSoftImage "dx_MakeSoftImage" int,int
#func global MakeARGB8ColorSoftImage "dx_MakeARGB8ColorSoftImage" int,int
#func global MakeXRGB8ColorSoftImage "dx_MakeXRGB8ColorSoftImage" int,int
#func global MakeARGB4ColorSoftImage "dx_MakeARGB4ColorSoftImage" int,int
#func global MakeRGB8ColorSoftImage "dx_MakeRGB8ColorSoftImage" int,int
#func global MakePAL8ColorSoftImage "dx_MakePAL8ColorSoftImage" int,int
#func global DeleteSoftImage "dx_DeleteSoftImage" int
#func global GetSoftImageSize "dx_GetSoftImageSize" int,sptr,sptr
#func global CheckPaletteSoftImage "dx_CheckPaletteSoftImage" int
#func global CheckAlphaSoftImage "dx_CheckAlphaSoftImage" int
#func global CheckPixelAlphaSoftImage "dx_CheckPixelAlphaSoftImage" int
#func global GetDrawScreenSoftImage "dx_GetDrawScreenSoftImage" int,int,int,int,int
#func global UpdateLayerdWindowForSoftImage "dx_UpdateLayerdWindowForSoftImage" int
#func global UpdateLayerdWindowForPremultipliedAlphaSoftImage "dx_UpdateLayerdWindowForPremultipliedAlphaSoftImage" int
#func global FillSoftImage "dx_FillSoftImage" int,int,int,int,int
#func global ClearRectSoftImage "dx_ClearRectSoftImage" int,int,int,int,int
#func global GetPaletteSoftImage "dx_GetPaletteSoftImage" int,int,sptr,sptr,sptr,sptr
#func global SetPaletteSoftImage "dx_SetPaletteSoftImage" int,int,int,int,int,int
#func global DrawPixelPalCodeSoftImage "dx_DrawPixelPalCodeSoftImage" int,int,int,int
#func global GetPixelPalCodeSoftImage "dx_GetPixelPalCodeSoftImage" int,int,int
#func global GetImageAddressSoftImage "dx_GetImageAddressSoftImage" int
#func global DrawPixelSoftImage "dx_DrawPixelSoftImage" int,int,int,int,int,int,int
#func global DrawPixelSoftImage_Unsafe_XRGB8 "dx_DrawPixelSoftImage_Unsafe_XRGB8" int,int,int,int,int,int
#func global DrawPixelSoftImage_Unsafe_ARGB8 "dx_DrawPixelSoftImage_Unsafe_ARGB8" int,int,int,int,int,int,int
#func global GetPixelSoftImage "dx_GetPixelSoftImage" int,int,int,sptr,sptr,sptr,sptr
#func global GetPixelSoftImage_Unsafe_XRGB8 "dx_GetPixelSoftImage_Unsafe_XRGB8" int,int,int,sptr,sptr,sptr
#func global GetPixelSoftImage_Unsafe_ARGB8 "dx_GetPixelSoftImage_Unsafe_ARGB8" int,int,int,sptr,sptr,sptr,sptr
#func global DrawLineSoftImage "dx_DrawLineSoftImage" int,int,int,int,int,int,int,int,int
#func global BltSoftImage "dx_BltSoftImage" int,int,int,int,int,int,int,int
#func global BltSoftImageWithTransColor "dx_BltSoftImageWithTransColor" int,int,int,int,int,int,int,int,int,int,int,int
#func global BltSoftImageWithAlphaBlend "dx_BltSoftImageWithAlphaBlend" int,int,int,int,int,int,int,int,int
#func global ReverseSoftImageH "dx_ReverseSoftImageH" int
#func global ReverseSoftImageV "dx_ReverseSoftImageV" int
#func global ReverseSoftImage "dx_ReverseSoftImage" int
#func global BltStringSoftImage "dx_BltStringSoftImage" int,int,str,int,int,int
#func global BltStringSoftImageToHandle "dx_BltStringSoftImageToHandle" int,int,str,int,int,int,int
#func global DrawSoftImage "dx_DrawSoftImage" int,int,int
#func global SaveSoftImageToBmp "dx_SaveSoftImageToBmp" str,int
#func global SaveSoftImageToPng "dx_SaveSoftImageToPng" str,int,int
#func global SaveSoftImageToJpeg "dx_SaveSoftImageToJpeg" str,int,int,int
#func global GetColorF "dx_GetColorF" float,float,float,float
#func global GetColorU8 "dx_GetColorU8" int,int,int,int
#func global GetColor "dx_GetColor" int,int,int
#func global GetColor2 "dx_GetColor2" int,sptr,sptr,sptr
#func global GetColor3 "dx_GetColor3" sptr,int,int,int,int
#func global GetColor4 "dx_GetColor4" sptr,sptr,int
#func global GetColor5 "dx_GetColor5" sptr,int,sptr,sptr,sptr,sptr
#func global CreatePaletteColorData "dx_CreatePaletteColorData" sptr
#func global CreateXRGB8ColorData "dx_CreateXRGB8ColorData" sptr
#func global CreateARGB8ColorData "dx_CreateARGB8ColorData" sptr
#func global CreateARGB4ColorData "dx_CreateARGB4ColorData" sptr
#func global CreateFullColorData "dx_CreateFullColorData" sptr
#func global CreateGrayColorData "dx_CreateGrayColorData" sptr
#func global CreatePal8ColorData "dx_CreatePal8ColorData" sptr
#func global CreateColorData "dx_CreateColorData" sptr,int,sptr,sptr,sptr,sptr
#func global SetColorDataNoneMask "dx_SetColorDataNoneMask" sptr
#func global CmpColorData "dx_CmpColorData" sptr,sptr
#func global InitSoundMem "dx_InitSoundMem" int
#func global AddSoundData "dx_AddSoundData" int
#func global AddStreamSoundMemToMem "dx_AddStreamSoundMemToMem" sptr,int,int,int,int,int
#func global AddStreamSoundMemToFile "dx_AddStreamSoundMemToFile" str,int,int,int,int
#func global SetupStreamSoundMem "dx_SetupStreamSoundMem" int
#func global PlayStreamSoundMem "dx_PlayStreamSoundMem" int,int,int
#func global CheckStreamSoundMem "dx_CheckStreamSoundMem" int
#func global StopStreamSoundMem "dx_StopStreamSoundMem" int
#func global SetStreamSoundCurrentPosition "dx_SetStreamSoundCurrentPosition" int,int
#func global GetStreamSoundCurrentPosition "dx_GetStreamSoundCurrentPosition" int
#func global SetStreamSoundCurrentTime "dx_SetStreamSoundCurrentTime" int,int
#func global GetStreamSoundCurrentTime "dx_GetStreamSoundCurrentTime" int
#func global ProcessStreamSoundMem "dx_ProcessStreamSoundMem" int
#func global ProcessStreamSoundMemAll "dx_ProcessStreamSoundMemAll" 
#func global LoadSoundMem2 "dx_LoadSoundMem2" str,str
#func global LoadBGM "dx_LoadBGM" str
#func global LoadSoundMemBase "dx_LoadSoundMemBase" str,int,int
#func global LoadSoundMem "dx_LoadSoundMem" str,int,int
#func global LoadSoundMemToBufNumSitei "dx_LoadSoundMemToBufNumSitei" str,int
#func global LoadSoundMemByResource "dx_LoadSoundMemByResource" str,str,int
#func global DuplicateSoundMem "dx_DuplicateSoundMem" int,int
#func global LoadSoundMemByMemImageBase "dx_LoadSoundMemByMemImageBase" sptr,int,int,int
#func global LoadSoundMemByMemImage "dx_LoadSoundMemByMemImage" sptr,int,int
#func global LoadSoundMemByMemImageToBufNumSitei "dx_LoadSoundMemByMemImageToBufNumSitei" sptr,int,int
#func global LoadSoundMem2ByMemImage "dx_LoadSoundMem2ByMemImage" sptr,int,sptr,int
#func global LoadSoundMemFromSoftSound "dx_LoadSoundMemFromSoftSound" int,int
#func global DeleteSoundMem "dx_DeleteSoundMem" int,int
#func global PlaySoundMem "dx_PlaySoundMem" int,int,int
#func global StopSoundMem "dx_StopSoundMem" int
#func global CheckSoundMem "dx_CheckSoundMem" int
#func global SetPanSoundMem "dx_SetPanSoundMem" int,int
#func global GetPanSoundMem "dx_GetPanSoundMem" int
#func global SetVolumeSoundMem "dx_SetVolumeSoundMem" int,int
#func global ChangeVolumeSoundMem "dx_ChangeVolumeSoundMem" int,int
#func global GetVolumeSoundMem "dx_GetVolumeSoundMem" int
#func global SetFrequencySoundMem "dx_SetFrequencySoundMem" int,int
#func global GetFrequencySoundMem "dx_GetFrequencySoundMem" int
#func global ResetFrequencySoundMem "dx_ResetFrequencySoundMem" int
#func global SetNextPlayPanSoundMem "dx_SetNextPlayPanSoundMem" int,int
#func global SetNextPlayVolumeSoundMem "dx_SetNextPlayVolumeSoundMem" int,int
#func global ChangeNextPlayVolumeSoundMem "dx_ChangeNextPlayVolumeSoundMem" int,int
#func global SetNextPlayFrequencySoundMem "dx_SetNextPlayFrequencySoundMem" int,int
#func global SetCurrentPositionSoundMem "dx_SetCurrentPositionSoundMem" int,int
#func global GetCurrentPositionSoundMem "dx_GetCurrentPositionSoundMem" int
#func global SetSoundCurrentPosition "dx_SetSoundCurrentPosition" int,int
#func global GetSoundCurrentPosition "dx_GetSoundCurrentPosition" int
#func global SetSoundCurrentTime "dx_SetSoundCurrentTime" int,int
#func global GetSoundCurrentTime "dx_GetSoundCurrentTime" int
#func global GetSoundTotalSample "dx_GetSoundTotalSample" int
#func global GetSoundTotalTime "dx_GetSoundTotalTime" int
#func global SetLoopPosSoundMem "dx_SetLoopPosSoundMem" int,int
#func global SetLoopTimePosSoundMem "dx_SetLoopTimePosSoundMem" int,int
#func global SetLoopSamplePosSoundMem "dx_SetLoopSamplePosSoundMem" int,int
#func global SetLoopStartTimePosSoundMem "dx_SetLoopStartTimePosSoundMem" int,int
#func global SetLoopStartSamplePosSoundMem "dx_SetLoopStartSamplePosSoundMem" int,int
#func global SetCreateSoundDataType "dx_SetCreateSoundDataType" int
#func global GetCreateSoundDataType "dx_GetCreateSoundDataType" 
#func global SetDisableReadSoundFunctionMask "dx_SetDisableReadSoundFunctionMask" int
#func global GetDisableReadSoundFunctionMask "dx_GetDisableReadSoundFunctionMask" 
#func global SetEnableSoundCaptureFlag "dx_SetEnableSoundCaptureFlag" int
#func global SetUseSoftwareMixingSoundFlag "dx_SetUseSoftwareMixingSoundFlag" int
#func global GetDSoundObj "dx_GetDSoundObj" 
#func global PlaySoundFile "dx_PlaySoundFile" str,int
#func global PlaySound "dx_PlaySound" str,int
#func global CheckSoundFile "dx_CheckSoundFile" 
#func global CheckSound "dx_CheckSound" 
#func global StopSoundFile "dx_StopSoundFile" 
#func global StopSound "dx_StopSound" 
#func global SetVolumeSoundFile "dx_SetVolumeSoundFile" int
#func global SetVolumeSound "dx_SetVolumeSound" int
#func global InitSoftSound "dx_InitSoftSound" 
#func global LoadSoftSound "dx_LoadSoftSound" str
#func global LoadSoftSoundFromMemImage "dx_LoadSoftSoundFromMemImage" sptr,int
#func global MakeSoftSound "dx_MakeSoftSound" int,int
#func global MakeSoftSound2Ch16Bit44KHz "dx_MakeSoftSound2Ch16Bit44KHz" int
#func global MakeSoftSound2Ch16Bit22KHz "dx_MakeSoftSound2Ch16Bit22KHz" int
#func global MakeSoftSound2Ch8Bit44KHz "dx_MakeSoftSound2Ch8Bit44KHz" int
#func global MakeSoftSound2Ch8Bit22KHz "dx_MakeSoftSound2Ch8Bit22KHz" int
#func global MakeSoftSound1Ch16Bit44KHz "dx_MakeSoftSound1Ch16Bit44KHz" int
#func global MakeSoftSound1Ch16Bit22KHz "dx_MakeSoftSound1Ch16Bit22KHz" int
#func global MakeSoftSound1Ch8Bit44KHz "dx_MakeSoftSound1Ch8Bit44KHz" int
#func global MakeSoftSound1Ch8Bit22KHz "dx_MakeSoftSound1Ch8Bit22KHz" int
#func global DeleteSoftSound "dx_DeleteSoftSound" int
#func global SaveSoftSound "dx_SaveSoftSound" int,str
#func global GetSoftSoundSampleNum "dx_GetSoftSoundSampleNum" int
#func global GetSoftSoundFormat "dx_GetSoftSoundFormat" int,sptr,sptr,sptr
#func global ReadSoftSoundData "dx_ReadSoftSoundData" int,int,sptr,sptr
#func global WriteSoftSoundData "dx_WriteSoftSoundData" int,int,int,int
#func global GetSoftSoundDataImage "dx_GetSoftSoundDataImage" int
#func global InitSoftSoundPlayer "dx_InitSoftSoundPlayer" 
#func global MakeSoftSoundPlayer "dx_MakeSoftSoundPlayer" int
#func global MakeSoftSoundPlayer2Ch16Bit44KHz "dx_MakeSoftSoundPlayer2Ch16Bit44KHz" 
#func global MakeSoftSoundPlayer2Ch16Bit22KHz "dx_MakeSoftSoundPlayer2Ch16Bit22KHz" 
#func global MakeSoftSoundPlayer2Ch8Bit44KHz "dx_MakeSoftSoundPlayer2Ch8Bit44KHz" 
#func global MakeSoftSoundPlayer2Ch8Bit22KHz "dx_MakeSoftSoundPlayer2Ch8Bit22KHz" 
#func global MakeSoftSoundPlayer1Ch16Bit44KHz "dx_MakeSoftSoundPlayer1Ch16Bit44KHz" 
#func global MakeSoftSoundPlayer1Ch16Bit22KHz "dx_MakeSoftSoundPlayer1Ch16Bit22KHz" 
#func global MakeSoftSoundPlayer1Ch8Bit44KHz "dx_MakeSoftSoundPlayer1Ch8Bit44KHz" 
#func global MakeSoftSoundPlayer1Ch8Bit22KHz "dx_MakeSoftSoundPlayer1Ch8Bit22KHz" 
#func global DeleteSoftSoundPlayer "dx_DeleteSoftSoundPlayer" int
#func global AddDataSoftSoundPlayer "dx_AddDataSoftSoundPlayer" int,int,int,int
#func global AddDirectDataSoftSoundPlayer "dx_AddDirectDataSoftSoundPlayer" int,sptr,int
#func global AddOneDataSoftSoundPlayer "dx_AddOneDataSoftSoundPlayer" int,int,int
#func global GetSoftSoundPlayerFormat "dx_GetSoftSoundPlayerFormat" int,sptr,sptr,sptr
#func global StartSoftSoundPlayer "dx_StartSoftSoundPlayer" int
#func global CheckStartSoftSoundPlayer "dx_CheckStartSoftSoundPlayer" int
#func global StopSoftSoundPlayer "dx_StopSoftSoundPlayer" int
#func global ResetSoftSoundPlayer "dx_ResetSoftSoundPlayer" int
#func global GetStockDataLengthSoftSoundPlayer "dx_GetStockDataLengthSoftSoundPlayer" int
#func global CheckSoftSoundPlayerNoneData "dx_CheckSoftSoundPlayerNoneData" int
#func global DeleteMusicMem "dx_DeleteMusicMem" int
#func global LoadMusicMem "dx_LoadMusicMem" str
#func global LoadMusicMemByMemImage "dx_LoadMusicMemByMemImage" sptr,int
#func global LoadMusicMemByResource "dx_LoadMusicMemByResource" str,str
#func global PlayMusicMem "dx_PlayMusicMem" int,int
#func global StopMusicMem "dx_StopMusicMem" int
#func global CheckMusicMem "dx_CheckMusicMem" int
#func global GetMusicMemPosition "dx_GetMusicMemPosition" int
#func global InitMusicMem "dx_InitMusicMem" 
#func global ProcessMusicMem "dx_ProcessMusicMem" 
#func global PlayMusic "dx_PlayMusic" str,int
#func global PlayMusicByMemImage "dx_PlayMusicByMemImage" sptr,int,int
#func global PlayMusicByResource "dx_PlayMusicByResource" str,str,int
#func global SetVolumeMusic "dx_SetVolumeMusic" int
#func global StopMusic "dx_StopMusic" 
#func global CheckMusic "dx_CheckMusic" 
#func global GetMusicPosition "dx_GetMusicPosition" 
#func global SelectMidiMode "dx_SelectMidiMode" int
#func global DXArchivePreLoad "dx_DXArchivePreLoad" str,int
#func global DXArchiveCheckIdle "dx_DXArchiveCheckIdle" str
#func global DXArchiveRelease "dx_DXArchiveRelease" str
#func global DXArchiveCheckFile "dx_DXArchiveCheckFile" str,str
#func global MV1LoadModel "dx_MV1LoadModel" str
#func global MV1DuplicateModel "dx_MV1DuplicateModel" int
#func global MV1CreateCloneModel "dx_MV1CreateCloneModel" int
#func global MV1DeleteModel "dx_MV1DeleteModel" int
#func global MV1InitModel "dx_MV1InitModel" 
#func global MV1SetLoadModelReMakeNormal "dx_MV1SetLoadModelReMakeNormal" int
#func global MV1SetLoadModelReMakeNormalSmoothingAngle "dx_MV1SetLoadModelReMakeNormalSmoothingAngle" float
#func global MV1SetLoadModelPositionOptimize "dx_MV1SetLoadModelPositionOptimize" int
#func global MV1SetLoadModelUsePhysicsMode "dx_MV1SetLoadModelUsePhysicsMode" int
#func global MV1SetLoadModelPhysicsWorldGravity "dx_MV1SetLoadModelPhysicsWorldGravity" float
#func global MV1SetLoadCalcPhysicsWorldGravity "dx_MV1SetLoadCalcPhysicsWorldGravity" int,float,float,float
#func global MV1DrawModel "dx_MV1DrawModel" int
#func global MV1DrawFrame "dx_MV1DrawFrame" int,int
#func global MV1DrawMesh "dx_MV1DrawMesh" int,int
#func global MV1DrawModelDebug "dx_MV1DrawModelDebug" int,int,int,float,int,int
#func global MV1GetLocalWorldMatrix "dx_MV1GetLocalWorldMatrix" int
#func global MV1SetPosition "dx_MV1SetPosition" int,float,float,float
#func global MV1GetPosition "dx_MV1GetPosition" int
#func global MV1SetScale "dx_MV1SetScale" int,float,float,float
#func global MV1GetScale "dx_MV1GetScale" int
#func global MV1SetRotationXYZ "dx_MV1SetRotationXYZ" int,float,float,float
#func global MV1GetRotationXYZ "dx_MV1GetRotationXYZ" int
#func global MV1SetRotationZYAxis "dx_MV1SetRotationZYAxis" int,float,float,float,float,float,float,float
#func global MV1SetRotationMatrix "dx_MV1SetRotationMatrix" int,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global MV1GetRotationMatrix "dx_MV1GetRotationMatrix" int
#func global MV1SetMatrix "dx_MV1SetMatrix" int,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global MV1GetMatrix "dx_MV1GetMatrix" int
#func global MV1SetVisible "dx_MV1SetVisible" int,int
#func global MV1GetVisible "dx_MV1GetVisible" int
#func global MV1SetDifColorScale "dx_MV1SetDifColorScale" int,float,float,float,float
#func global MV1GetDifColorScale "dx_MV1GetDifColorScale" int
#func global MV1SetSpcColorScale "dx_MV1SetSpcColorScale" int,float,float,float,float
#func global MV1GetSpcColorScale "dx_MV1GetSpcColorScale" int
#func global MV1SetEmiColorScale "dx_MV1SetEmiColorScale" int,float,float,float,float
#func global MV1GetEmiColorScale "dx_MV1GetEmiColorScale" int
#func global MV1SetAmbColorScale "dx_MV1SetAmbColorScale" int,float,float,float,float
#func global MV1GetAmbColorScale "dx_MV1GetAmbColorScale" int
#func global MV1GetSemiTransState "dx_MV1GetSemiTransState" int
#func global MV1SetOpacityRate "dx_MV1SetOpacityRate" int,float
#func global MV1GetOpacityRate "dx_MV1GetOpacityRate" int
#func global MV1SetUseZBuffer "dx_MV1SetUseZBuffer" int,int
#func global MV1SetWriteZBuffer "dx_MV1SetWriteZBuffer" int,int
#func global MV1SetZBufferCmpType "dx_MV1SetZBufferCmpType" int,int
#func global MV1SetZBias "dx_MV1SetZBias" int,int
#func global MV1SetUseVertDifColor "dx_MV1SetUseVertDifColor" int,int
#func global MV1SetUseVertSpcColor "dx_MV1SetUseVertSpcColor" int,int
#func global MV1SetSampleFilterMode "dx_MV1SetSampleFilterMode" int,int
#func global MV1SetMaxAnisotropy "dx_MV1SetMaxAnisotropy" int,int
#func global MV1SetWireFrameDrawFlag "dx_MV1SetWireFrameDrawFlag" int,int
#func global MV1RefreshVertColorFromMaterial "dx_MV1RefreshVertColorFromMaterial" int
#func global MV1PhysicsCalculation "dx_MV1PhysicsCalculation" int,float
#func global MV1PhysicsResetState "dx_MV1PhysicsResetState" int
#func global MV1AttachAnim "dx_MV1AttachAnim" int,int,int,int
#func global MV1DetachAnim "dx_MV1DetachAnim" int,int
#func global MV1SetAttachAnimTime "dx_MV1SetAttachAnimTime" int,int,float
#func global MV1GetAttachAnimTime "dx_MV1GetAttachAnimTime" int,int
#func global MV1GetAttachAnimTotalTime "dx_MV1GetAttachAnimTotalTime" int,int
#func global MV1SetAttachAnimBlendRate "dx_MV1SetAttachAnimBlendRate" int,int,float
#func global MV1GetAttachAnimBlendRate "dx_MV1GetAttachAnimBlendRate" int,int
#func global MV1SetAttachAnimBlendRateToFrame "dx_MV1SetAttachAnimBlendRateToFrame" int,int,int,float,int
#func global MV1GetAttachAnimBlendRateToFrame "dx_MV1GetAttachAnimBlendRateToFrame" int,int,int
#func global MV1GetAttachAnim "dx_MV1GetAttachAnim" int,int
#func global MV1GetAnimNum "dx_MV1GetAnimNum" int
#func global MV1GetAnimIndex "dx_MV1GetAnimIndex" int,str
#func global MV1GetAnimTotalTime "dx_MV1GetAnimTotalTime" int,int
#func global MV1GetAnimTargetFrameNum "dx_MV1GetAnimTargetFrameNum" int,int
#func global MV1GetAnimTargetFrame "dx_MV1GetAnimTargetFrame" int,int,int
#func global MV1GetAnimTargetFrameKeySetNum "dx_MV1GetAnimTargetFrameKeySetNum" int,int,int
#func global MV1GetAnimTargetFrameKeySet "dx_MV1GetAnimTargetFrameKeySet" int,int,int,int
#func global MV1GetAnimKeySetNum "dx_MV1GetAnimKeySetNum" int
#func global MV1GetAnimKeySetType "dx_MV1GetAnimKeySetType" int,int
#func global MV1GetAnimKeySetDataType "dx_MV1GetAnimKeySetDataType" int,int
#func global MV1GetAnimKeySetTimeType "dx_MV1GetAnimKeySetTimeType" int,int
#func global MV1GetAnimKeySetDataNum "dx_MV1GetAnimKeySetDataNum" int,int
#func global MV1GetAnimKeyDataTime "dx_MV1GetAnimKeyDataTime" int,int,int
#func global MV1GetAnimKeyDataToQuaternion "dx_MV1GetAnimKeyDataToQuaternion" int,int,int
#func global MV1GetAnimKeyDataToQuaternionFromTime "dx_MV1GetAnimKeyDataToQuaternionFromTime" int,int,float
#func global MV1GetAnimKeyDataToVector "dx_MV1GetAnimKeyDataToVector" int,int,int
#func global MV1GetAnimKeyDataToVectorFromTime "dx_MV1GetAnimKeyDataToVectorFromTime" int,int,float
#func global MV1GetAnimKeyDataToMatrix "dx_MV1GetAnimKeyDataToMatrix" int,int,int
#func global MV1GetAnimKeyDataToMatrixFromTime "dx_MV1GetAnimKeyDataToMatrixFromTime" int,int,float
#func global MV1GetAnimKeyDataToFlat "dx_MV1GetAnimKeyDataToFlat" int,int,int
#func global MV1GetAnimKeyDataToFlatFromTime "dx_MV1GetAnimKeyDataToFlatFromTime" int,int,float
#func global MV1GetAnimKeyDataToLinear "dx_MV1GetAnimKeyDataToLinear" int,int,int
#func global MV1GetAnimKeyDataToLinearFromTime "dx_MV1GetAnimKeyDataToLinearFromTime" int,int,float
#func global MV1GetMaterialNum "dx_MV1GetMaterialNum" int
#func global MV1SetMaterialType "dx_MV1SetMaterialType" int,int,int
#func global MV1GetMaterialType "dx_MV1GetMaterialType" int,int
#func global MV1SetMaterialDifColor "dx_MV1SetMaterialDifColor" int,int,float,float,float,float
#func global MV1GetMaterialDifColor "dx_MV1GetMaterialDifColor" int,int
#func global MV1SetMaterialSpcColor "dx_MV1SetMaterialSpcColor" int,int,float,float,float,float
#func global MV1GetMaterialSpcColor "dx_MV1GetMaterialSpcColor" int,int
#func global MV1SetMaterialEmiColor "dx_MV1SetMaterialEmiColor" int,int,float,float,float,float
#func global MV1GetMaterialEmiColor "dx_MV1GetMaterialEmiColor" int,int
#func global MV1SetMaterialAmbColor "dx_MV1SetMaterialAmbColor" int,int,float,float,float,float
#func global MV1GetMaterialAmbColor "dx_MV1GetMaterialAmbColor" int,int
#func global MV1SetMaterialSpcPower "dx_MV1SetMaterialSpcPower" int,int,float
#func global MV1GetMaterialSpcPower "dx_MV1GetMaterialSpcPower" int,int
#func global MV1SetMaterialDifMapTexture "dx_MV1SetMaterialDifMapTexture" int,int,int
#func global MV1GetMaterialDifMapTexture "dx_MV1GetMaterialDifMapTexture" int,int
#func global MV1SetMaterialSpcMapTexture "dx_MV1SetMaterialSpcMapTexture" int,int,int
#func global MV1GetMaterialSpcMapTexture "dx_MV1GetMaterialSpcMapTexture" int,int
#func global MV1GetMaterialNormalMapTexture "dx_MV1GetMaterialNormalMapTexture" int,int
#func global MV1SetMaterialDifGradTexture "dx_MV1SetMaterialDifGradTexture" int,int,int
#func global MV1GetMaterialDifGradTexture "dx_MV1GetMaterialDifGradTexture" int,int
#func global MV1SetMaterialSpcGradTexture "dx_MV1SetMaterialSpcGradTexture" int,int,int
#func global MV1GetMaterialSpcGradTexture "dx_MV1GetMaterialSpcGradTexture" int,int
#func global MV1SetMaterialDifGradBlendType "dx_MV1SetMaterialDifGradBlendType" int,int,int
#func global MV1GetMaterialDifGradBlendType "dx_MV1GetMaterialDifGradBlendType" int,int
#func global MV1SetMaterialSpcGradBlendType "dx_MV1SetMaterialSpcGradBlendType" int,int,int
#func global MV1GetMaterialSpcGradBlendType "dx_MV1GetMaterialSpcGradBlendType" int,int
#func global MV1SetMaterialOutLineWidth "dx_MV1SetMaterialOutLineWidth" int,int,float
#func global MV1GetMaterialOutLineWidth "dx_MV1GetMaterialOutLineWidth" int,int
#func global MV1SetMaterialOutLineDotWidth "dx_MV1SetMaterialOutLineDotWidth" int,int,float
#func global MV1GetMaterialOutLineDotWidth "dx_MV1GetMaterialOutLineDotWidth" int,int
#func global MV1SetMaterialOutLineColor "dx_MV1SetMaterialOutLineColor" int,int,float,float,float,float
#func global MV1GetMaterialOutLineColor "dx_MV1GetMaterialOutLineColor" int,int
#func global MV1SetMaterialDrawBlendMode "dx_MV1SetMaterialDrawBlendMode" int,int,int
#func global MV1GetMaterialDrawBlendMode "dx_MV1GetMaterialDrawBlendMode" int,int
#func global MV1SetMaterialDrawBlendParam "dx_MV1SetMaterialDrawBlendParam" int,int,int
#func global MV1GetMaterialDrawBlendParam "dx_MV1GetMaterialDrawBlendParam" int,int
#func global MV1GetTextureNum "dx_MV1GetTextureNum" int
#func global MV1SetTextureColorFilePath "dx_MV1SetTextureColorFilePath" int,int,str
#func global MV1SetTextureAlphaFilePath "dx_MV1SetTextureAlphaFilePath" int,int,str
#func global MV1SetTextureGraphHandle "dx_MV1SetTextureGraphHandle" int,int,int,int
#func global MV1GetTextureGraphHandle "dx_MV1GetTextureGraphHandle" int,int
#func global MV1SetTextureAddressMode "dx_MV1SetTextureAddressMode" int,int,int,int
#func global MV1GetTextureAddressModeU "dx_MV1GetTextureAddressModeU" int,int
#func global MV1GetTextureAddressModeV "dx_MV1GetTextureAddressModeV" int,int
#func global MV1GetTextureWidth "dx_MV1GetTextureWidth" int,int
#func global MV1GetTextureHeight "dx_MV1GetTextureHeight" int,int
#func global MV1GetTextureSemiTransState "dx_MV1GetTextureSemiTransState" int,int
#func global MV1SetTextureBumpImageFlag "dx_MV1SetTextureBumpImageFlag" int,int,int
#func global MV1GetTextureBumpImageFlag "dx_MV1GetTextureBumpImageFlag" int,int
#func global MV1SetTextureBumpImageNextPixelLength "dx_MV1SetTextureBumpImageNextPixelLength" int,int,float
#func global MV1GetTextureBumpImageNextPixelLength "dx_MV1GetTextureBumpImageNextPixelLength" int,int
#func global MV1SetTextureSampleFilterMode "dx_MV1SetTextureSampleFilterMode" int,int,int
#func global MV1GetTextureSampleFilterMode "dx_MV1GetTextureSampleFilterMode" int,int
#func global MV1LoadTexture "dx_MV1LoadTexture" str
#func global MV1GetFrameNum "dx_MV1GetFrameNum" int
#func global MV1SearchFrame "dx_MV1SearchFrame" int,str
#func global MV1SearchFrameChild "dx_MV1SearchFrameChild" int,int,str
#func global MV1GetFrameParent "dx_MV1GetFrameParent" int,int
#func global MV1GetFrameChildNum "dx_MV1GetFrameChildNum" int,int
#func global MV1GetFrameChild "dx_MV1GetFrameChild" int,int,int
#func global MV1GetFramePosition "dx_MV1GetFramePosition" int,int
#func global MV1GetFrameBaseLocalMatrix "dx_MV1GetFrameBaseLocalMatrix" int,int
#func global MV1GetFrameLocalMatrix "dx_MV1GetFrameLocalMatrix" int,int
#func global MV1GetFrameLocalWorldMatrix "dx_MV1GetFrameLocalWorldMatrix" int,int
#func global MV1SetFrameUserLocalMatrix "dx_MV1SetFrameUserLocalMatrix" int,int,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global MV1ResetFrameUserLocalMatrix "dx_MV1ResetFrameUserLocalMatrix" int,int
#func global MV1GetFrameMaxVertexLocalPosition "dx_MV1GetFrameMaxVertexLocalPosition" int,int
#func global MV1GetFrameMinVertexLocalPosition "dx_MV1GetFrameMinVertexLocalPosition" int,int
#func global MV1GetFrameAvgVertexLocalPosition "dx_MV1GetFrameAvgVertexLocalPosition" int,int
#func global MV1GetFrameTriangleNum "dx_MV1GetFrameTriangleNum" int,int
#func global MV1GetFrameMeshNum "dx_MV1GetFrameMeshNum" int,int
#func global MV1GetFrameMesh "dx_MV1GetFrameMesh" int,int,int
#func global MV1SetFrameVisible "dx_MV1SetFrameVisible" int,int,int
#func global MV1GetFrameVisible "dx_MV1GetFrameVisible" int,int
#func global MV1SetFrameDifColorScale "dx_MV1SetFrameDifColorScale" int,int,float,float,float,float
#func global MV1SetFrameSpcColorScale "dx_MV1SetFrameSpcColorScale" int,int,float,float,float,float
#func global MV1SetFrameEmiColorScale "dx_MV1SetFrameEmiColorScale" int,int,float,float,float,float
#func global MV1SetFrameAmbColorScale "dx_MV1SetFrameAmbColorScale" int,int,float,float,float,float
#func global MV1GetFrameDifColorScale "dx_MV1GetFrameDifColorScale" int,int
#func global MV1GetFrameSpcColorScale "dx_MV1GetFrameSpcColorScale" int,int
#func global MV1GetFrameEmiColorScale "dx_MV1GetFrameEmiColorScale" int,int
#func global MV1GetFrameAmbColorScale "dx_MV1GetFrameAmbColorScale" int,int
#func global MV1GetFrameSemiTransState "dx_MV1GetFrameSemiTransState" int,int
#func global MV1SetFrameOpacityRate "dx_MV1SetFrameOpacityRate" int,int,float
#func global MV1GetFrameOpacityRate "dx_MV1GetFrameOpacityRate" int,int
#func global MV1SetFrameBaseVisible "dx_MV1SetFrameBaseVisible" int,int,int
#func global MV1GetFrameBaseVisible "dx_MV1GetFrameBaseVisible" int,int
#func global MV1SetFrameTextureAddressTransform "dx_MV1SetFrameTextureAddressTransform" int,int,float,float,float,float,float,float,float
#func global MV1SetFrameTextureAddressTransformMatrix "dx_MV1SetFrameTextureAddressTransformMatrix" int,int,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float,float
#func global MV1ResetFrameTextureAddressTransform "dx_MV1ResetFrameTextureAddressTransform" int,int
#func global MV1GetMeshNum "dx_MV1GetMeshNum" int
#func global MV1GetMeshMaterial "dx_MV1GetMeshMaterial" int,int
#func global MV1GetMeshTriangleNum "dx_MV1GetMeshTriangleNum" int,int
#func global MV1SetMeshVisible "dx_MV1SetMeshVisible" int,int,int
#func global MV1GetMeshVisible "dx_MV1GetMeshVisible" int,int
#func global MV1SetMeshDifColorScale "dx_MV1SetMeshDifColorScale" int,int,float,float,float,float
#func global MV1SetMeshSpcColorScale "dx_MV1SetMeshSpcColorScale" int,int,float,float,float,float
#func global MV1SetMeshEmiColorScale "dx_MV1SetMeshEmiColorScale" int,int,float,float,float,float
#func global MV1SetMeshAmbColorScale "dx_MV1SetMeshAmbColorScale" int,int,float,float,float,float
#func global MV1GetMeshDifColorScale "dx_MV1GetMeshDifColorScale" int,int
#func global MV1GetMeshSpcColorScale "dx_MV1GetMeshSpcColorScale" int,int
#func global MV1GetMeshEmiColorScale "dx_MV1GetMeshEmiColorScale" int,int
#func global MV1GetMeshAmbColorScale "dx_MV1GetMeshAmbColorScale" int,int
#func global MV1SetMeshOpacityRate "dx_MV1SetMeshOpacityRate" int,int,float
#func global MV1GetMeshOpacityRate "dx_MV1GetMeshOpacityRate" int,int
#func global MV1SetMeshDrawBlendMode "dx_MV1SetMeshDrawBlendMode" int,int,int
#func global MV1SetMeshDrawBlendParam "dx_MV1SetMeshDrawBlendParam" int,int,int
#func global MV1GetMeshDrawBlendMode "dx_MV1GetMeshDrawBlendMode" int,int
#func global MV1GetMeshDrawBlendParam "dx_MV1GetMeshDrawBlendParam" int,int
#func global MV1SetMeshBaseVisible "dx_MV1SetMeshBaseVisible" int,int,int
#func global MV1GetMeshBaseVisible "dx_MV1GetMeshBaseVisible" int,int
#func global MV1SetMeshBackCulling "dx_MV1SetMeshBackCulling" int,int,int
#func global MV1GetMeshBackCulling "dx_MV1GetMeshBackCulling" int,int
#func global MV1GetMeshMaxPosition "dx_MV1GetMeshMaxPosition" int,int
#func global MV1GetMeshMinPosition "dx_MV1GetMeshMinPosition" int,int
#func global MV1GetMeshTListNum "dx_MV1GetMeshTListNum" int,int
#func global MV1GetMeshTList "dx_MV1GetMeshTList" int,int,int
#func global MV1GetMeshSemiTransState "dx_MV1GetMeshSemiTransState" int,int
#func global MV1SetMeshUseVertDifColor "dx_MV1SetMeshUseVertDifColor" int,int,int
#func global MV1SetMeshUseVertSpcColor "dx_MV1SetMeshUseVertSpcColor" int,int,int
#func global MV1GetMeshUseVertDifColor "dx_MV1GetMeshUseVertDifColor" int,int
#func global MV1GetMeshUseVertSpcColor "dx_MV1GetMeshUseVertSpcColor" int,int
#func global MV1GetTriangleListNum "dx_MV1GetTriangleListNum" int
#func global MV1GetTriangleListVertexType "dx_MV1GetTriangleListVertexType" int,int
#func global MV1GetTriangleListPolygonNum "dx_MV1GetTriangleListPolygonNum" int,int
#func global MV1GetTriangleListVertexNum "dx_MV1GetTriangleListVertexNum" int,int
#func global MV1SetupCollInfo "dx_MV1SetupCollInfo" int,int,int,int,int
#func global MV1TerminateCollInfo "dx_MV1TerminateCollInfo" int,int
#func global MV1RefreshCollInfo "dx_MV1RefreshCollInfo" int,int
#func global MV1CollCheck_Line "dx_MV1CollCheck_Line" int,int,float,float,float,float,float,float
#func global MV1CollCheck_LineDim "dx_MV1CollCheck_LineDim" int,int,float,float,float,float,float,float
#func global MV1CollCheck_Sphere "dx_MV1CollCheck_Sphere" int,int,float,float,float,float
#func global MV1CollCheck_Capsule "dx_MV1CollCheck_Capsule" int,int,float,float,float,float,float,float,float
#func global MV1CollCheck_GetResultPoly "dx_MV1CollCheck_GetResultPoly" sptr,int
#func global MV1CollResultPolyDimTerminate "dx_MV1CollResultPolyDimTerminate" sptr
#func global MV1SetupReferenceMesh "dx_MV1SetupReferenceMesh" int,int,int
#func global MV1TerminateReferenceMesh "dx_MV1TerminateReferenceMesh" int,int,int
#func global MV1RefreshReferenceMesh "dx_MV1RefreshReferenceMesh" int,int,int

#define global TRUE 1
#define global FALSE 0
#define global MAX_IMAGE_NUM 32768
#define global MAX_2DSURFACE_NUM 32768
#define global MAX_3DSURFACE_NUM 65536
#define global MAX_IMAGE_DIVNUM 64
#define global MAX_SURFACE_NUM 65536
#define global MAX_SOFTIMAGE_NUM 8192
#define global MAX_SOUND_NUM 32768
#define global MAX_SOFTSOUND_NUM 8192
#define global MAX_MUSIC_NUM 256
#define global MAX_MOVIE_NUM 100
#define global MAX_MASK_NUM 512
#define global MAX_FONT_NUM 40
#define global MAX_INPUT_NUM 256
#define global MAX_SOCKET_NUM 8192
#define global MAX_LIGHT_NUM 4096
#define global MAX_SHADER_NUM 4096
#define global MAX_MODEL_BASE_NUM 32768
#define global MAX_MODEL_NUM 32768
#define global MAX_VERTEX_BUFFER_NUM 16384
#define global MAX_INDEX_BUFFER_NUM 16384
#define global MAX_FILE_NUM 32768
#define global MAX_JOYPAD_NUM 16
#define global MAX_EVENTPROCESS_NUM 5
#define global DEFAULT_SCREEN_SIZE_X 640
#define global DEFAULT_SCREEN_SIZE_Y 480
#define global DEFAULT_COLOR_BITDEPTH 16
#define global FONT_CACHE_MAXNUM 2024
#define global FONT_CACHE_MEMORYSIZE 327680
#define global FONT_CACHE_MAX_YLENGTH 16384
#define global MAX_USERIMAGEREAD_FUNCNUM 10
#define global DX_HANDLEINDEX_MASK 65535
#define global DX_HANDLECHECKBIT_MASK 67043328
#define global DX_HANDLECHECKBIT_ADDRESS 16
#define global DX_HANDLETYPE_MASK 2080374784
#define global DX_HANDLEERROR_MASK -2147483648
#define global DX_HANDLEERROR_OR_TYPE_MASK -134217728
#define global DX_HANDLETYPE_GRAPH 67108864
#define global DX_HANDLETYPE_SOFTIMAGE 134217728
#define global DX_HANDLETYPE_SOUND 201326592
#define global DX_HANDLETYPE_SOFTSOUND 268435456
#define global DX_HANDLETYPE_MUSIC 335544320
#define global DX_HANDLETYPE_MOVIE 402653184
#define global DX_HANDLETYPE_GMASK 469762048
#define global DX_HANDLETYPE_FONT 536870912
#define global DX_HANDLETYPE_KEYINPUT 603979776
#define global DX_HANDLETYPE_NETWORK 671088640
#define global DX_HANDLETYPE_LIGHT 738197504
#define global DX_HANDLETYPE_SHADER 805306368
#define global DX_HANDLETYPE_MODEL_BASE 872415232
#define global DX_HANDLETYPE_MODEL 939524096
#define global DX_HANDLETYPE_VERTEX_BUFFER 1006632960
#define global DX_HANDLETYPE_INDEX_BUFFER 1073741824
#define global DX_HANDLETYPE_FILE 1140850688
#define global DX_WINDOWSVERSION_31 0
#define global DX_WINDOWSVERSION_95 1
#define global DX_WINDOWSVERSION_98 2
#define global DX_WINDOWSVERSION_ME 3
#define global DX_WINDOWSVERSION_NT31 260
#define global DX_WINDOWSVERSION_NT40 261
#define global DX_WINDOWSVERSION_2000 262
#define global DX_WINDOWSVERSION_XP 263
#define global DX_WINDOWSVERSION_VISTA 264
#define global DX_WINDOWSVERSION_7 265
#define global DX_WINDOWSVERSION_NT_TYPE 256
#define global DX_DIRECTXVERSION_NON 0
#define global DX_DIRECTXVERSION_1 65536
#define global DX_DIRECTXVERSION_2 131072
#define global DX_DIRECTXVERSION_3 196608
#define global DX_DIRECTXVERSION_4 262144
#define global DX_DIRECTXVERSION_5 327680
#define global DX_DIRECTXVERSION_6 393216
#define global DX_DIRECTXVERSION_6_1 393472
#define global DX_DIRECTXVERSION_7 458752
#define global DX_DIRECTXVERSION_8 524288
#define global DX_DIRECTXVERSION_8_1 524544
#define global DX_CHARSET_DEFAULT 0
#define global DX_CHARSET_SHFTJIS 1
#define global DX_CHARSET_HANGEUL 2
#define global DX_CHARSET_BIG5 3
#define global DX_CHARSET_GB2312 4
#define global DX_MIDIMODE_MCI 0
#define global DX_MIDIMODE_DM 1
#define global DX_DRAWMODE_NEAREST 0
#define global DX_DRAWMODE_BILINEAR 1
#define global DX_DRAWMODE_ANISOTROPIC 2
#define global DX_DRAWMODE_OTHER 3
#define global DX_FONTTYPE_NORMAL 0
#define global DX_FONTTYPE_EDGE 1
#define global DX_FONTTYPE_ANTIALIASING 2
#define global DX_FONTTYPE_ANTIALIASING_EDGE 3
#define global DX_BLENDMODE_NOBLEND 0
#define global DX_BLENDMODE_ALPHA 1
#define global DX_BLENDMODE_ADD 2
#define global DX_BLENDMODE_SUB 3
#define global DX_BLENDMODE_MUL 4
#define global DX_BLENDMODE_SUB2 5
#define global DX_BLENDMODE_XOR 6
#define global DX_BLENDMODE_DESTCOLOR 8
#define global DX_BLENDMODE_INVDESTCOLOR 9
#define global DX_BLENDMODE_INVSRC 10
#define global DX_BLENDMODE_MULA 11
#define global DX_BLENDMODE_ALPHA_X4 12
#define global DX_BLENDMODE_ADD_X4 13
#define global DX_BLENDMODE_SRCCOLOR 14
#define global DX_GRAPH_FILTER_MONO 0
#define global DX_GRAPH_FILTER_GAUSS 1
#define global DX_GRAPH_FILTER_DOWN_SCALE 2
#define global DX_GRAPH_FILTER_BRIGHT_CLIP 3
#define global DX_GRAPH_FILTER_HSB 4
#define global DX_GRAPH_FILTER_INVERT 5
#define global DX_GRAPH_FILTER_LEVEL 6
#define global DX_GRAPH_FILTER_TWO_COLOR 7
#define global DX_GRAPH_FILTER_GRADIENT_MAP 8
#define global DX_GRAPH_FILTER_PREMUL_ALPHA 9
#define global DX_GRAPH_FILTER_NUM 10
#define global DX_GRAPH_BLEND_NORMAL 0
#define global DX_GRAPH_BLEND_RGBA_SELECT_MIX 1
#define global DX_GRAPH_BLEND_MULTIPLE 2
#define global DX_GRAPH_BLEND_DIFFERENCE 3
#define global DX_GRAPH_BLEND_ADD 4
#define global DX_GRAPH_BLEND_SCREEN 5
#define global DX_GRAPH_BLEND_OVERLAY 6
#define global DX_GRAPH_BLEND_DODGE 7
#define global DX_GRAPH_BLEND_BURN 8
#define global DX_GRAPH_BLEND_DARKEN 9
#define global DX_GRAPH_BLEND_LIGHTEN 10
#define global DX_GRAPH_BLEND_SOFTLIGHT 11
#define global DX_GRAPH_BLEND_HARDLIGHT 12
#define global DX_GRAPH_BLEND_EXCLUSION 13
#define global DX_GRAPH_BLEND_NORMAL_ALPHACH 14
#define global DX_GRAPH_BLEND_ADD_ALPHACH 15
#define global DX_GRAPH_BLEND_MULTIPLE_A_ONLY 16
#define global DX_GRAPH_BLEND_NUM 17
#define global DX_RGBA_SELECT_SRC_R 0
#define global DX_RGBA_SELECT_SRC_G 1
#define global DX_RGBA_SELECT_SRC_B 2
#define global DX_RGBA_SELECT_SRC_A 3
#define global DX_RGBA_SELECT_BLEND_R 4
#define global DX_RGBA_SELECT_BLEND_G 5
#define global DX_RGBA_SELECT_BLEND_B 6
#define global DX_RGBA_SELECT_BLEND_A 7
#define global DX_CULLING_NONE 0
#define global DX_CULLING_LEFT 1
#define global DX_CULLING_RIGHT 2
#define global DX_SCREEN_FRONT -4
#define global DX_SCREEN_BACK -2
#define global DX_SCREEN_WORK -3
#define global DX_SCREEN_TEMPFRONT -5
#define global DX_NONE_GRAPH -5
#define global DX_SHAVEDMODE_NONE 0
#define global DX_SHAVEDMODE_DITHER 1
#define global DX_SHAVEDMODE_DIFFUS 2
#define global DX_IMAGESAVETYPE_BMP 0
#define global DX_IMAGESAVETYPE_JPEG 1
#define global DX_IMAGESAVETYPE_PNG 2
#define global DX_PLAYTYPE_LOOPBIT 2
#define global DX_PLAYTYPE_BACKBIT 1
#define global DX_PLAYTYPE_NORMAL 0
#define global DX_PLAYTYPE_BACK ( DX_PLAYTYPE_BACKBIT  )
#define global DX_PLAYTYPE_LOOP ( DX_PLAYTYPE_LOOPBIT | DX_PLAYTYPE_BACKBIT  )
#define global DX_MOVIEPLAYTYPE_BCANCEL 0
#define global DX_MOVIEPLAYTYPE_NORMAL 1
#define global DX_SOUNDTYPE_NORMAL 0
#define global DX_SOUNDTYPE_STREAMSTYLE 1
#define global DX_SOUNDDATATYPE_MEMNOPRESS 0
#define global DX_SOUNDDATATYPE_MEMNOPRESS_PLUS 1
#define global DX_SOUNDDATATYPE_MEMPRESS 2
#define global DX_SOUNDDATATYPE_FILE 3
#define global DX_READSOUNDFUNCTION_PCM 1
#define global DX_READSOUNDFUNCTION_ACM 2
#define global DX_READSOUNDFUNCTION_OGG 4
#define global DX_READSOUNDFUNCTION_MP3 8
#define global DX_READSOUNDFUNCTION_DSMP3 16
#define global DX_MASKTRANS_WHITE 0
#define global DX_MASKTRANS_BLACK 1
#define global DX_MASKTRANS_NONE 2
#define global DX_ZWRITE_MASK 0
#define global DX_ZWRITE_CLEAR 1
#define global DX_CMP_NEVER 1
#define global DX_CMP_LESS 2
#define global DX_CMP_EQUAL 3
#define global DX_CMP_LESSEQUAL 4
#define global DX_CMP_GREATER 5
#define global DX_CMP_NOTEQUAL 6
#define global DX_CMP_GREATEREQUAL 7
#define global DX_CMP_ALWAYS 8
#define global DX_ZCMP_DEFAULT ( DX_CMP_LESSEQUAL  )
#define global DX_ZCMP_REVERSE ( DX_CMP_GREATEREQUAL  )
#define global DX_SHADEMODE_FLAT 1
#define global DX_SHADEMODE_GOURAUD 2
#define global DX_FOGMODE_NONE 0
#define global DX_FOGMODE_EXP 1
#define global DX_FOGMODE_EXP2 2
#define global DX_FOGMODE_LINEAR 3
#define global DX_MATERIAL_TYPE_NORMAL 0
#define global DX_MATERIAL_TYPE_TOON 1
#define global DX_MATERIAL_TYPE_TOON_2 2
#define global DX_MATERIAL_BLENDTYPE_TRANSLUCENT 0
#define global DX_MATERIAL_BLENDTYPE_ADDITIVE 1
#define global DX_MATERIAL_BLENDTYPE_MODULATE 2
#define global DX_TEXADDRESS_WRAP 1
#define global DX_TEXADDRESS_MIRROR 2
#define global DX_TEXADDRESS_CLAMP 3
#define global DX_TEXADDRESS_BORDER 4
#define global DX_VERTEX_TYPE_NORMAL_3D 0
#define global DX_INDEX_TYPE_16BIT 0
#define global DX_LOADMODEL_PHYSICS_DISABLE 1
#define global DX_LOADMODEL_PHYSICS_LOADCALC 0
#define global DX_LOADMODEL_PHYSICS_REALTIME 2
#define global DX_PRIMTYPE_POINTLIST 1
#define global DX_PRIMTYPE_LINELIST 2
#define global DX_PRIMTYPE_LINESTRIP 3
#define global DX_PRIMTYPE_TRIANGLELIST 4
#define global DX_PRIMTYPE_TRIANGLESTRIP 5
#define global DX_PRIMTYPE_TRIANGLEFAN 6
#define global DX_LIGHTTYPE_D3DLIGHT_POINT 1
#define global DX_LIGHTTYPE_D3DLIGHT_SPOT 2
#define global DX_LIGHTTYPE_D3DLIGHT_DIRECTIONAL 3
#define global DX_LIGHTTYPE_D3DLIGHT_FORCEDWORD 2147483647
#define global DX_LIGHTTYPE_POINT 1
#define global DX_LIGHTTYPE_SPOT 2
#define global DX_LIGHTTYPE_DIRECTIONAL 3
#define global DX_GRAPHICSIMAGE_FORMAT_3D_RGB16 0
#define global DX_GRAPHICSIMAGE_FORMAT_3D_RGB32 1
#define global DX_GRAPHICSIMAGE_FORMAT_3D_ALPHA_RGB16 2
#define global DX_GRAPHICSIMAGE_FORMAT_3D_ALPHA_RGB32 3
#define global DX_GRAPHICSIMAGE_FORMAT_3D_ALPHATEST_RGB16 4
#define global DX_GRAPHICSIMAGE_FORMAT_3D_ALPHATEST_RGB32 5
#define global DX_GRAPHICSIMAGE_FORMAT_3D_DXT1 6
#define global DX_GRAPHICSIMAGE_FORMAT_3D_DXT2 7
#define global DX_GRAPHICSIMAGE_FORMAT_3D_DXT3 8
#define global DX_GRAPHICSIMAGE_FORMAT_3D_DXT4 9
#define global DX_GRAPHICSIMAGE_FORMAT_3D_DXT5 10
#define global DX_GRAPHICSIMAGE_FORMAT_3D_DRAWVALID_RGB16 11
#define global DX_GRAPHICSIMAGE_FORMAT_3D_DRAWVALID_RGB32 12
#define global DX_GRAPHICSIMAGE_FORMAT_3D_DRAWVALID_ALPHA_RGB32 13
#define global DX_GRAPHICSIMAGE_FORMAT_3D_DRAWVALID_ABGR_F16 14
#define global DX_GRAPHICSIMAGE_FORMAT_3D_DRAWVALID_ABGR_F32 15
#define global DX_GRAPHICSIMAGE_FORMAT_3D_NUM 16
#define global DX_GRAPHICSIMAGE_FORMAT_2D 17
#define global DX_GRAPHICSIMAGE_FORMAT_R5G6B5 18
#define global DX_GRAPHICSIMAGE_FORMAT_X8A8R5G6B5 19
#define global DX_GRAPHICSIMAGE_FORMAT_X8R8G8B8 20
#define global DX_GRAPHICSIMAGE_FORMAT_A8R8G8B8 21
#define global DX_GRAPHICSIMAGE_FORMAT_NUM 22
#define global DX_BASEIMAGE_FORMAT_NORMAL 0
#define global DX_BASEIMAGE_FORMAT_DXT1 1
#define global DX_BASEIMAGE_FORMAT_DXT2 2
#define global DX_BASEIMAGE_FORMAT_DXT3 3
#define global DX_BASEIMAGE_FORMAT_DXT4 4
#define global DX_BASEIMAGE_FORMAT_DXT5 5
#define global DX_BASEIMAGE_FORMAT_ABGR_F16 6
#define global DX_BASEIMAGE_FORMAT_ABGR_F32 7
#define global TOOLBUTTON_STATE_ENABLE 0
#define global TOOLBUTTON_STATE_PRESSED 1
#define global TOOLBUTTON_STATE_DISABLE 2
#define global TOOLBUTTON_STATE_PRESSED_DISABLE 3
#define global TOOLBUTTON_STATE_NUM 4
#define global TOOLBUTTON_TYPE_NORMAL 0
#define global TOOLBUTTON_TYPE_CHECK 1
#define global TOOLBUTTON_TYPE_GROUP 2
#define global TOOLBUTTON_TYPE_SEP 3
#define global TOOLBUTTON_TYPE_NUM 4
#define global MENUITEM_IDTOP -1414812757
#define global MENUITEM_ADD_CHILD 0
#define global MENUITEM_ADD_INSERT 1
#define global MENUITEM_MARK_NONE 0
#define global MENUITEM_MARK_CHECK 1
#define global MENUITEM_MARK_RADIO 2
#define global DX_NUMMODE_10 0
#define global DX_NUMMODE_16 1
#define global DX_STRMODE_NOT0 2
#define global DX_STRMODE_USE0 3
#define global DX_CHECKINPUT_KEY 1
#define global DX_CHECKINPUT_PAD 2
#define global DX_CHECKINPUT_MOUSE 4
#define global DX_CHECKINPUT_ALL DX_CHECKINPUT_KEY
#define global DX_INPUT_KEY_PAD1 4097
#define global DX_INPUT_PAD1 1
#define global DX_INPUT_PAD2 2
#define global DX_INPUT_PAD3 3
#define global DX_INPUT_PAD4 4
#define global DX_INPUT_PAD5 5
#define global DX_INPUT_PAD6 6
#define global DX_INPUT_PAD7 7
#define global DX_INPUT_PAD8 8
#define global DX_INPUT_PAD9 9
#define global DX_INPUT_PAD10 10
#define global DX_INPUT_PAD11 11
#define global DX_INPUT_PAD12 12
#define global DX_INPUT_PAD13 13
#define global DX_INPUT_PAD14 14
#define global DX_INPUT_PAD15 15
#define global DX_INPUT_PAD16 16
#define global DX_INPUT_KEY 4096
#define global DX_MOVIESURFACE_NORMAL 0
#define global DX_MOVIESURFACE_OVERLAY 1
#define global DX_MOVIESURFACE_FULLCOLOR 2
#define global PAD_INPUT_DOWN 1
#define global PAD_INPUT_LEFT 2
#define global PAD_INPUT_RIGHT 4
#define global PAD_INPUT_UP 8
#define global PAD_INPUT_A 16
#define global PAD_INPUT_B 32
#define global PAD_INPUT_C 64
#define global PAD_INPUT_X 128
#define global PAD_INPUT_Y 256
#define global PAD_INPUT_Z 512
#define global PAD_INPUT_L 1024
#define global PAD_INPUT_R 2048
#define global PAD_INPUT_START 4096
#define global PAD_INPUT_M 8192
#define global PAD_INPUT_D 16384
#define global PAD_INPUT_F 32768
#define global PAD_INPUT_G 65536
#define global PAD_INPUT_H 131072
#define global PAD_INPUT_I 262144
#define global PAD_INPUT_J 524288
#define global PAD_INPUT_K 1048576
#define global PAD_INPUT_LL 2097152
#define global PAD_INPUT_N 4194304
#define global PAD_INPUT_O 8388608
#define global PAD_INPUT_P 16777216
#define global PAD_INPUT_RR 33554432
#define global PAD_INPUT_S 67108864
#define global PAD_INPUT_T 134217728
#define global PAD_INPUT_U 268435456
#define global PAD_INPUT_V 536870912
#define global PAD_INPUT_W 1073741824
#define global PAD_INPUT_XX -2147483648
#define global PAD_INPUT_1 16
#define global PAD_INPUT_2 32
#define global PAD_INPUT_3 64
#define global PAD_INPUT_4 128
#define global PAD_INPUT_5 256
#define global PAD_INPUT_6 512
#define global PAD_INPUT_7 1024
#define global PAD_INPUT_8 2048
#define global PAD_INPUT_9 4096
#define global PAD_INPUT_10 8192
#define global PAD_INPUT_11 16384
#define global PAD_INPUT_12 32768
#define global PAD_INPUT_13 65536
#define global PAD_INPUT_14 131072
#define global PAD_INPUT_15 262144
#define global PAD_INPUT_16 524288
#define global PAD_INPUT_17 1048576
#define global PAD_INPUT_18 2097152
#define global PAD_INPUT_19 4194304
#define global PAD_INPUT_20 8388608
#define global PAD_INPUT_21 16777216
#define global PAD_INPUT_22 33554432
#define global PAD_INPUT_23 67108864
#define global PAD_INPUT_24 134217728
#define global PAD_INPUT_25 268435456
#define global PAD_INPUT_26 536870912
#define global PAD_INPUT_27 1073741824
#define global PAD_INPUT_28 -2147483648
#define global MOUSE_INPUT_LEFT 1
#define global MOUSE_INPUT_RIGHT 2
#define global MOUSE_INPUT_MIDDLE 4
#define global MOUSE_INPUT_1 1
#define global MOUSE_INPUT_2 2
#define global MOUSE_INPUT_3 4
#define global MOUSE_INPUT_4 8
#define global MOUSE_INPUT_5 16
#define global MOUSE_INPUT_6 32
#define global MOUSE_INPUT_7 64
#define global MOUSE_INPUT_8 128
#define global KEY_INPUT_BACK 14
#define global KEY_INPUT_TAB 15
#define global KEY_INPUT_RETURN 28
#define global KEY_INPUT_LSHIFT 42
#define global KEY_INPUT_RSHIFT 54
#define global KEY_INPUT_LCONTROL 29
#define global KEY_INPUT_RCONTROL 157
#define global KEY_INPUT_ESCAPE 1
#define global KEY_INPUT_SPACE 57
#define global KEY_INPUT_PGUP 201
#define global KEY_INPUT_PGDN 209
#define global KEY_INPUT_END 207
#define global KEY_INPUT_HOME 199
#define global KEY_INPUT_LEFT 203
#define global KEY_INPUT_UP 200
#define global KEY_INPUT_RIGHT 205
#define global KEY_INPUT_DOWN 208
#define global KEY_INPUT_INSERT 210
#define global KEY_INPUT_DELETE 211
#define global KEY_INPUT_MINUS 12
#define global KEY_INPUT_YEN 125
#define global KEY_INPUT_PREVTRACK 144
#define global KEY_INPUT_PERIOD 52
#define global KEY_INPUT_SLASH 53
#define global KEY_INPUT_LALT 56
#define global KEY_INPUT_RALT 184
#define global KEY_INPUT_SCROLL 70
#define global KEY_INPUT_SEMICOLON 39
#define global KEY_INPUT_COLON 146
#define global KEY_INPUT_LBRACKET 26
#define global KEY_INPUT_RBRACKET 27
#define global KEY_INPUT_AT 145
#define global KEY_INPUT_BACKSLASH 43
#define global KEY_INPUT_COMMA 51
#define global KEY_INPUT_KANJI 148
#define global KEY_INPUT_CONVERT 121
#define global KEY_INPUT_NOCONVERT 123
#define global KEY_INPUT_KANA 112
#define global KEY_INPUT_APPS 221
#define global KEY_INPUT_CAPSLOCK 58
#define global KEY_INPUT_SYSRQ 183
#define global KEY_INPUT_PAUSE 197
#define global KEY_INPUT_LWIN 219
#define global KEY_INPUT_RWIN 220
#define global KEY_INPUT_NUMLOCK 69
#define global KEY_INPUT_NUMPAD0 82
#define global KEY_INPUT_NUMPAD1 79
#define global KEY_INPUT_NUMPAD2 80
#define global KEY_INPUT_NUMPAD3 81
#define global KEY_INPUT_NUMPAD4 75
#define global KEY_INPUT_NUMPAD5 76
#define global KEY_INPUT_NUMPAD6 77
#define global KEY_INPUT_NUMPAD7 71
#define global KEY_INPUT_NUMPAD8 72
#define global KEY_INPUT_NUMPAD9 73
#define global KEY_INPUT_MULTIPLY 55
#define global KEY_INPUT_ADD 78
#define global KEY_INPUT_SUBTRACT 74
#define global KEY_INPUT_DECIMAL 83
#define global KEY_INPUT_DIVIDE 181
#define global KEY_INPUT_NUMPADENTER 156
#define global KEY_INPUT_F1 59
#define global KEY_INPUT_F2 60
#define global KEY_INPUT_F3 61
#define global KEY_INPUT_F4 62
#define global KEY_INPUT_F5 63
#define global KEY_INPUT_F6 64
#define global KEY_INPUT_F7 65
#define global KEY_INPUT_F8 66
#define global KEY_INPUT_F9 67
#define global KEY_INPUT_F10 68
#define global KEY_INPUT_F11 87
#define global KEY_INPUT_F12 88
#define global KEY_INPUT_A 30
#define global KEY_INPUT_B 48
#define global KEY_INPUT_C 46
#define global KEY_INPUT_D 32
#define global KEY_INPUT_E 18
#define global KEY_INPUT_F 33
#define global KEY_INPUT_G 34
#define global KEY_INPUT_H 35
#define global KEY_INPUT_I 23
#define global KEY_INPUT_J 36
#define global KEY_INPUT_K 37
#define global KEY_INPUT_L 38
#define global KEY_INPUT_M 50
#define global KEY_INPUT_N 49
#define global KEY_INPUT_O 24
#define global KEY_INPUT_P 25
#define global KEY_INPUT_Q 16
#define global KEY_INPUT_R 19
#define global KEY_INPUT_S 31
#define global KEY_INPUT_T 20
#define global KEY_INPUT_U 22
#define global KEY_INPUT_V 47
#define global KEY_INPUT_W 17
#define global KEY_INPUT_X 45
#define global KEY_INPUT_Y 21
#define global KEY_INPUT_Z 44
#define global KEY_INPUT_0 11
#define global KEY_INPUT_1 2
#define global KEY_INPUT_2 3
#define global KEY_INPUT_3 4
#define global KEY_INPUT_4 5
#define global KEY_INPUT_5 6
#define global KEY_INPUT_6 7
#define global KEY_INPUT_7 8
#define global KEY_INPUT_8 9
#define global KEY_INPUT_9 10
#define global CTRL_CODE_BS 8
#define global CTRL_CODE_TAB 9
#define global CTRL_CODE_CR 13
#define global CTRL_CODE_DEL 16
#define global CTRL_CODE_COPY 3
#define global CTRL_CODE_PASTE 22
#define global CTRL_CODE_CUT 24
#define global CTRL_CODE_ALL 1
#define global CTRL_CODE_LEFT 29
#define global CTRL_CODE_RIGHT 28
#define global CTRL_CODE_UP 30
#define global CTRL_CODE_DOWN 31
#define global CTRL_CODE_HOME 26
#define global CTRL_CODE_END 25
#define global CTRL_CODE_PAGE_UP 23
#define global CTRL_CODE_PAGE_DOWN 21
#define global CTRL_CODE_ESC 27
#define global CTRL_CODE_CMP 32
#define global DX_CHANGESCREEN_OK 0
#define global DX_CHANGESCREEN_RETURN 1
#define global DX_CHANGESCREEN_DEFAULT 2
#define global DX_CHANGESCREEN_REFRESHNORMAL 3
#define global LOADIMAGE_TYPE_FILE 0
#define global LOADIMAGE_TYPE_MEM 1
#define global LOADIMAGE_TYPE_NONE 1
#define global DRAWPREP_TRANS 1
#define global DRAWPREP_VECTORINT 2
#define global DRAWPREP_GOURAUDSHADE 8
#define global DRAWPREP_PERSPECTIVE 16
#define global DRAWPREP_DIFFUSERGB 32
#define global DRAWPREP_DIFFUSEALPHA 64
#define global DRAWPREP_FOG 128
#define global DRAWPREP_NOBLENDSETTING 256
#define global DRAWPREP_LIGHTING 512
#define global DRAWPREP_SPECULAR 1024
#define global DRAWPREP_3D 2048
#define global DRAWPREP_TEXADDRESS 4096
#define global DRAWPREP_NOTSHADERRESET 8192
#define global DRAWPREP_CULLING 16384
#define global HTTP_ERR_SERVER 0
#define global HTTP_ERR_NOTFOUND 1
#define global HTTP_ERR_MEMORY 2
#define global HTTP_ERR_LOST 3
#define global HTTP_ERR_NONE 1
#define global HTTP_RES_COMPLETE 0
#define global HTTP_RES_STOP 1
#define global HTTP_RES_ERROR 2
#define global HTTP_RES_NOW 1

// VECTOR => float, float, float
#define global ctype VGet(%1,%2,%3) %1, %2, %3
#define global ctype VAdd(%1,%2,%3,%4,%5,%6) %1+%4, %2+%5, %3+%6
#define global ctype VSub(%1,%2,%3,%4,%5,%6) %1-%4, %2-%5, %3-%6
#define global ctype VDot(%1,%2,%3,%4,%5,%6) %1*%4+%2*%5+%3*%6
#define global ctype VCross(%1,%2,%3,%4,%5,%6) %2*%6-%3*%5, %3*%4-%1*%6, %1*%5-%2*%4
#define global ctype VScale(%1,%2,%3,%4) %1*%4, %2*%4, %3*%4
#define global ctype VSquareSize(%1,%2,%3) %1*%1+%2*%2+%3*%3
// 行列だからdimの方が良いのか…(MATRIX 4x4)
#define global ctype VTransform(%1,%2,%3, %4,%5,%6,%7, %8,%9,%10,%11, %12,%13,%14,%15, %16,%17,%18,%19) %1*%4 + %2*%8 + %3*%12 + %16, %1*%5 + %2*%9 + %3*%13 + %17, %1*%6 + %2*%10 + %3*%14 + %18
#define global ctype VTransformSR(%1,%2,%3, %4,%5,%6,%7, %8,%9,%10,%11, %12,%13,%14,%15, %16,%17,%18,%19) %1*%4 + %2*%8 + %3*%12, %1*%5 + %2*%9 + %3*%13, %1*%6 + %2*%10 + %3*%14

#endif