//////////////////////////////////////////////////////////////////////////////
//
// Filename          : MilFunctionCode.h
// Content           : Functions opcodes :
// Revision          : 10.60.0776
//                     Values returned by MappGetHookInfo (M_CURRENT_FCT)
//
//
// Copyright (c) Matrox Electronic Systems Ltd., 1992-2023.
// All Rights Reserved
//
//////////////////////////////////////////////////////////////////////////////
#ifndef __FUNCTIONCODES_H__
#define __FUNCTIONCODES_H__

#define M_NO_FUNCTION                               0x00000000

#define M_SYS_ALLOC                                 0x00000001  // MsysAlloc
#define M_SYS_FREE                                  0x00000002  // MsysFree
#define M_SYS_INQUIRE                               0x00000003  // MsysInquire
#define M_SYS_CONTROL                               0x00000004  // MsysControl
#define M_SYS_HOOK_FUNCTION                         0x00000007  // MsysHookFunction
#define M_SYS_GET_HOOK_INFO                         0x00000008  // MsysGetHookInfo
#define M_SYS_IO_ALLOC                              0x00000009  // MsysIoAlloc
#define M_SYS_IO_FREE                               0x0000000A  // MsysIoFree
#define M_SYS_IO_CONTROL                            0x0000000B  // MsysIoControl
#define M_SYS_IO_INQUIRE                            0x0000000C  // MsysIoInquire
#define M_SYS_IO_COMMAND_REGISTER                   0x0000000D  // MsysIoCommandRegister
#define M_SYS_CONTROL_FEATURE                       0x0000000E  // MsysControlFeature
#define M_SYS_INQUIRE_FEATURE                       0x0000000F  // MsysInquireFeature

#define M_BUF_ALLOC_2D                              0x00000201  // MbufAlloc2d
#define M_BUF_CHILD_2D                              0x00000202  // MbufChild2d
#define M_BUF_FREE                                  0x00000203  // MbufFree
#define M_BUF_GET_2D                                0x00000204  // MbufGet2d
#define M_BUF_PUT_2D                                0x00000205  // MbufPut2d
#define M_BUF_COPY                                  0x00000206  // MbufCopy
#define M_BUF_COPY_COLOR                            0x00000207  // MbufCopyColor
#define M_BUF_GET_COLOR_2D                          0x00000208  // MbufGetColor2d
#define M_BUF_PUT_COLOR_2D                          0x00000209  // MbufPutColor2d
#define M_BUF_INQUIRE                               0x0000020A  // MbufInquire
#define M_BUF_CHILD_COLOR_2D                        0x0000020B  // MbufChildColor2d
#define M_BUF_CLEAR                                 0x0000020C  // MbufClear
#define M_BUF_COPY_MASK                             0x0000020D  // MbufCopyMask
#define M_BUF_COPY_COND                             0x0000020E  // MbufCopyCond
#define M_BUF_CONTROL                               0x00000210  // MbufControl
#define M_BUF_GET_LINE                              0x00000211  // MbufGetLine
#define M_BUF_PUT_LINE                              0x00000212  // MbufPutLine
#define M_BUF_CREATE_COLOR                          0x00000213  // MbufCreateColor
#define M_BUF_COPY_COLOR_2D                         0x00000215  // MbufCopyColor2d
#define M_BUF_HOOK_FUNCTION                         0x0000021C  // MbufHookFunction
#define M_BUF_ALLOC_1D                              0x0000021D  // MbufAlloc1d
#define M_BUF_ALLOC_COLOR                           0x0000021E  // MbufAllocColor
#define M_BUF_BAYER                                 0x0000021F  // MbufBayer
#define M_BUF_CHILD_1D                              0x00000220  // MbufChild1d
#define M_BUF_CHILD_COLOR                           0x00000221  // MbufChildColor
#define M_BUF_COPY_CLIP                             0x00000222  // MbufCopyClip
#define M_BUF_CREATE_2D                             0x00000223  // MbufCreate2d
#define M_BUF_DISK_INQUIRE                          0x00000224  // MbufDiskInquire
#define M_BUF_EXPORT                                0x00000225  // MbufExport
#define M_BUF_EXPORT_SEQUENCE                       0x00000226  // MbufExportSequence
#define M_BUF_GET                                   0x00000227  // MbufGet
#define M_BUF_GET_1D                                0x00000228  // MbufGet1d
#define M_BUF_GET_COLOR                             0x00000229  // MbufGetColor
#define M_BUF_IMPORT                                0x0000022A  // MbufImport
#define M_BUF_IMPORT_SEQUENCE                       0x0000022B  // MbufImportSequence
#define M_BUF_LOAD                                  0x0000022C  // MbufLoad
#define M_BUF_CONTROL_AREA                          0x0000022D  // MbufControlArea
#define M_BUF_PUT                                   0x0000022E  // MbufPut
#define M_BUF_PUT_1D                                0x0000022F  // MbufPut1d
#define M_BUF_PUT_COLOR                             0x00000230  // MbufPutColor
#define M_BUF_RESTORE                               0x00000231  // MbufRestore
#define M_BUF_SAVE                                  0x00000232  // MbufSave
#define M_BUF_TRANSFER                              0x00000233  // MbufTransfer
#define M_BUF_GET_HOOK_INFO                         0x00000234  // MbufGetHookInfo
#define M_BUF_GET_ARC                               0x00000235  // MbufGetArc
#define M_BUF_CHILD_MOVE                            0x00000237  // MbufChildMove
#define M_BUF_SET_REGION                            0x00000238  // MbufSetRegion
#define M_BUF_CLEAR_COND                            0x00000239  // MbufClearCond
#define M_BUF_LINK                                  0x00000240  // MbufLink
#define M_BUF_CLONE                                 0x00000241  // MbufClone
#define M_BUF_CHILD_COLOR_2D_CLIP                   0x00000243  // MbufChildColor2dClip
#define M_BUF_CONTROL_FEATURE                       0x00000244  // MbufControlFeature
#define M_BUF_INQUIRE_FEATURE                       0x00000245  // MbufInquireFeature
#define M_BUF_GET_LIST                              0x00000246  // MbufGetList
#define M_BUF_PUT_LIST                              0x00000247  // MbufPutList
#define M_BUF_ALLOC_DEFAULT                         0x0000024A  // MbufAllocDefault
#define M_BUF_ALLOC_COLOR_NAMED                     0x0000024B  // MbufAllocColorNamed
#define M_BUF_SET_DYNAMIC_PARAMETERS                0x0000024E  // MbufSetDynamicParameters
#define M_BUF_STREAM                                0x0000024F  // MbufStream
#define M_BUF_ALLOC_CONTAINER                       0x00000250  // MbufAllocContainer
#define M_BUF_ALLOC_COMPONENT                       0x00000251  // MbufAllocComponent
#define M_BUF_COPY_COMPONENT                        0x00000252  // MbufCopyComponent
#define M_BUF_FREE_COMPONENT                        0x00000253  // MbufFreeComponent
#define M_BUF_INQUIRE_CONTAINER                     0x00000254  // MbufInquireContainer
#define M_BUF_CONTROL_CONTAINER                     0x00000255  // MbufControlContainer
#define M_BUF_CHILD_CONTAINER                       0x00000256  // MbufChildContainer
#define M_BUF_CREATE_COMPONENT                      0x00000257  // MbufCreateComponent

#define M_DISP_ALLOC                                0x00000401  // MdispAlloc
#define M_DISP_FREE                                 0x00000402  // MdispFree
#define M_DISP_ZOOM                                 0x00000403  // MdispZoom
#define M_DISP_PAN                                  0x00000404  // MdispPan
#define M_DISP_SELECT                               0x00000405  // MdispSelect
#define M_DISP_LUT                                  0x00000406  // MdispLut
#define M_DISP_INQUIRE                              0x00000407  // MdispInquire
#define M_DISP_CONTROL                              0x0000040A  // MdispControl
#define M_DISP_HOOK_FUNCTION                        0x0000040B  // MdispHookFunction
#define M_DISP_SELECT_WINDOW                        0x0000040C  // MdispSelectWindow
#define M_DISP_GET_HOOK_INFO                        0x0000040F  // MdispGetHookInfo

#define M_DIG_ALLOC                                 0x00000601  // MdigAlloc
#define M_DIG_FREE                                  0x00000602  // MdigFree
#define M_DIG_GRAB                                  0x00000603  // MdigGrab
#define M_DIG_HALT                                  0x00000605  // MdigHalt
#define M_DIG_INQUIRE                               0x00000607  // MdigInquire
#define M_DIG_CONTROL                               0x00000609  // MdigControl
#define M_DIG_GRAB_WAIT                             0x0000060A  // MdigGrabWait
#define M_DIG_HOOK_FUNCTION                         0x0000060C  // MdigHookFunction
#define M_DIG_FOCUS                                 0x0000060D  // MdigFocus
#define M_DIG_GRAB_CONTINUOUS                       0x0000060E  // MdigGrabContinuous
#define M_DIG_PROCESS                               0x00000610  // MdigProcess
#define M_DIG_GET_HOOK_INFO                         0x00000611  // MdigGetHookInfo
#define M_DIG_CONTROL_FEATURE                       0x00000612  // MdigControlFeature
#define M_DIG_INQUIRE_FEATURE                       0x00000613  // MdigInquireFeature

#define M_IM_EDGE_DETECT                            0x00000801  // MimEdgeDetect
#define M_IM_RANK                                   0x00000802  // MimRank
#define M_IM_CONVOLVE                               0x00000803  // MimConvolve
#define M_IM_DILATE                                 0x00000804  // MimDilate
#define M_IM_ERODE                                  0x00000805  // MimErode
#define M_IM_CLOSE                                  0x00000806  // MimClose
#define M_IM_OPEN                                   0x00000807  // MimOpen
#define M_IM_LABEL                                  0x00000808  // MimLabel
#define M_IM_CONNECT_MAP                            0x00000809  // MimConnectMap
#define M_IM_THIN                                   0x0000080A  // MimThin
#define M_IM_THICK                                  0x0000080B  // MimThick
#define M_IM_DISTANCE                               0x0000080C  // MimDistance
#define M_IM_WATERSHED                              0x0000080D  // MimWatershed
#define M_IM_ZONE_OF_INFLUENCE                      0x0000080E  // MimZoneOfInfluence
#define M_IM_MORPHIC                                0x0000080F  // MimMorphic
#define M_IM_LOCATE_EVENT                           0x00000812  // MimLocateEvent
#define M_IM_COUNT_DIFFERENCE                       0x00000813  // MimCountDifference
#define M_IM_LOCATE_PEAK_1D                         0x00000815  // MimLocatePeak1d
#define M_IM_TRANSLATE                              0x00000816  // MimTranslate
#define M_IM_ROTATE                                 0x00000817  // MimRotate
#define M_IM_WARP                                   0x00000818  // MimWarp
#define M_IM_POLAR_TRANSFORM                        0x00000819  // MimPolarTransform
#define M_IM_TRANSFORM                              0x0000081A  // MimTransform
#define M_IM_DRAW                                   0x0000081B  // MimDraw
#define M_IM_DEAD_PIXEL_CORRECTION                  0x0000081C  // MimDeadPixelCorrection
#define M_IM_MATCH                                  0x00000838  // MimMatch
#define M_IM_WAVELET_TRANSFORM                      0x0000083B  // MimWaveletTransform
#define M_IM_WAVELET_SET_FILTER                     0x0000083C  // MimWaveletSetFilter
#define M_IM_HISTOGRAM_EQUALIZE_ADAPTIVE            0x0000083D  // MimHistogramEqualizeAdaptive
#define M_IM_FIND_ORIENTATION                       0x0000083E  // MimFindOrientation
#define M_IM_WAVELET_DENOISE                        0x0000083F  // MimWaveletDenoise
#define M_IM_ADAPTATIVE_LOCATE_PEAK_1D              0x00000840  // MimLocatePeak1d
#define M_IM_BINARIZE_ADAPTIVE                      0x00000841  // MimBinarizeAdaptive
#define M_IM_WARP_LIST                              0x00000846  // MimWarpList
#define M_IM_STAT_CALCULATE                         0x00000847  // MimStatCalculate
#define M_IM_PROJECTION                             0x00000848  // MimProjection
#define M_IM_FILTER_ADAPTIVE                        0x0000084E  // MimFilterAdaptive
#define M_IM_REMAP                                  0x0000084F  // MimRemap
#define M_IM_AUGMENT                                0x00000851  // MimAugment
#define M_IM_DIFFERENTIAL                           0x00000853  // MimDifferential
#define M_IM_BOUNDING_BOX                           0x00000854  // MimBoundingBox
#define M_IM_FILTER_MAJORITY                        0x00000855  // MimFilterMajority
#define M_IM_DETECT_EVENT                           0x00000856  // MimDetectEvent

#define M_IM_ARITH                                  0x00000A01  // MimArith
#define M_IM_ARITH_MULTIPLE                         0x00000A02  // MimArithMultiple
#define M_IM_SHIFT                                  0x00000A03  // MimShift
#define M_IM_BINARIZE                               0x00000A04  // MimBinarize
#define M_IM_CLIP                                   0x00000A05  // MimClip
#define M_IM_CONVERT                                0x00000A06  // MimConvert
#define M_IM_FLIP                                   0x00000A07  // MimFlip
#define M_IM_HISTOGRAM                              0x00000A08  // MimHistogram
#define M_IM_HISTOGRAM_EQUALIZE                     0x00000A09  // MimHistogramEqualize
#define M_IM_LUT_MAP                                0x00000A0A  // MimLutMap
#define M_IM_RESIZE                                 0x00000A0B  // MimResize
#define M_IM_FIND_EXTREME                           0x00000A0C  // MimFindExtreme
#define M_IM_DEINTERLACE                            0x00000A0D  // MimDeinterlace
#define M_IM_ALLOC                                  0x00000A0E  // MimAlloc
#define M_IM_CONTROL                                0x00000A0F  // MimControl
#define M_IM_ALLOC_RESULT                           0x00000A10  // MimAllocResult
#define M_IM_FREE                                   0x00000A11  // MimFree
#define M_IM_INQUIRE                                0x00000A12  // MimInquire
#define M_IM_GET_RESULT_1D                          0x00000A13  // MimGetResult1d
#define M_IM_GET_RESULT                             0x00000A14  // MimGetResult
#define M_IM_FLAT_FIELD                             0x00000A41  // MimFlatField
#define M_IM_REARRANGE                              0x00000A43  // MimRearrange
#define M_IM_GET_RESULT_2D                          0x00000A44  // MimGetResult2d
#define M_IM_PUT                                    0x00000A45  // MimPut
#define M_IM_GET                                    0x00000A46  // MimGet
#define M_IM_ALLOC_RESULT_OBJECT                    0x00000A67  // MimAllocResult
#define M_IM_GET_RESULT_SINGLE                      0x00000A68  // MimGetResultSingle
#define M_IM_RESTORE                                0x00000A69  // MimRestore
#define M_IM_SAVE                                   0x00000A6A  // MimSave
#define M_IM_STREAM                                 0x00000A6B  // MimStream
#define M_IM_ROTATE_MULT90                          0x00000A6D  // MimRotate

#define M_SEQ_ALLOC                                 0x00001601  // MseqAlloc
#define M_SEQ_FREE                                  0x00001602  // MseqFree
#define M_SEQ_DEFINE                                0x00001603  // MseqDefine
#define M_SEQ_CONTROL                               0x00001604  // MseqControl
#define M_SEQ_INQUIRE                               0x00001605  // MseqInquire
#define M_SEQ_HOOK_FUNCTION                         0x00001606  // MseqHookFunction
#define M_SEQ_GET_HOOK_INFO                         0x00001607  // MseqGetHookInfo
#define M_SEQ_FEED                                  0x00001608  // MseqFeed
#define M_SEQ_PROCESS                               0x00001609  // MseqProcess

#define M_GRA_CLEAR                                 0x00001A01  // MgraClear
#define M_GRA_DOT                                   0x00001A02  // MgraDot
#define M_GRA_LINE                                  0x00001A03  // MgraLine
#define M_GRA_RECT                                  0x00001A04  // MgraRect
#define M_GRA_RECT_FILL                             0x00001A05  // MgraRectFill
#define M_GRA_ARC                                   0x00001A06  // MgraArc
#define M_GRA_ARC_FILL                              0x00001A07  // MgraArcFill
#define M_GRA_FILL                                  0x00001A08  // MgraFill
#define M_GRA_TEXT                                  0x00001A09  // MgraText
#define M_GRA_BACK_COLOR                            0x00001A0A  // MgraBackColor
#define M_GRA_COLOR                                 0x00001A0B  // MgraColor
#define M_GRA_DOTS                                  0x00001A0C  // MgraDots
#define M_GRA_LINES                                 0x00001A0D  // MgraLines
#define M_GRA_ALLOC                                 0x00001A0E  // MgraAlloc
#define M_GRA_FREE                                  0x00001A0F  // MgraFree
#define M_GRA_CONTROL                               0x00001A10  // MgraControl
#define M_GRA_FONT                                  0x00001A11  // MgraFont
#define M_GRA_FONT_SCALE                            0x00001A12  // MgraFontScale
#define M_GRA_INQUIRE                               0x00001A13  // MgraInquire
#define M_GRA_ALLOC_LIST                            0x00001A14  // MgraAllocList
#define M_GRA_CONTROL_LIST                          0x00001A15  // MgraControlList
#define M_GRA_DRAW                                  0x00001A16  // MgraDraw
#define M_GRA_GET_HOOK_INFO                         0x00001A1A  // MgraGetHookInfo
#define M_GRA_HOOK_FUNCTION                         0x00001A1B  // MgraHookFunction
#define M_GRA_INQUIRE_LIST                          0x00001A1C  // MgraInquireList
#define M_GRA_RECT_ANGLE                            0x00001A1E  // MgraRectAngle
#define M_GRA_ARC_ANGLE                             0x00001A1F  // MgraArcAngle
#define M_GRA_INTERACTIVE                           0x00001A2A  // MgraInteractive
#define M_GRA_COPY                                  0x00001A2C  // MgraCopy
#define M_GRA_VECTORS                               0x00001A2E  // MgraVectors
#define M_GRA_VECTORS_GRID                          0x00001A2F  // MgraVectorsGrid

#define M_GEN_LUT_RAMP                              0x00001C01  // MgenLutRamp
#define M_GEN_LUT_FUNCTION                          0x00001C02  // MgenLutFunction
#define M_GEN_WARP_PARAMETER                        0x00001C03  // MgenWarpParameter
#define M_GEN_RAMP                                  0x00001C04  // MgenRamp

#define M_APP_ALLOC                                 0x00002801  // MappAlloc
#define M_APP_CONTROL                               0x00002803  // MappControl
#define M_APP_FREE                                  0x00002805  // MappFree
#define M_APP_GET_ERROR                             0x00002806  // MappGetError
#define M_APP_GET_HOOK_INFO                         0x00002807  // MappGetHookInfo
#define M_APP_HOOK_FUNCTION                         0x00002808  // MappHookFunction
#define M_APP_INQUIRE                               0x00002809  // MappInquire
#define M_APP_TIMER                                 0x0000280B  // MappTimer
#define M_APP_FILE_OPERATION                        0x00002811  // MappFileOperation
#define M_APP_INQUIRE_MP                            0x00002812  // MappInquireMp
#define M_APP_CONTROL_MP                            0x00002813  // MappControlMp
#define M_APP_INQUIRE_CONNECTION                    0x00002814  // MappInquireConnection
#define M_APP_OPEN_CONNECTION                       0x00002815  // MappOpenConnection
#define M_APP_INQUIRE_OBJECT                        0x00002816  // MappInquireObject
#define M_APP_CONTROL_OBJECT                        0x00002817  // MappControlObject
#define M_APP_CLOSE_CONNECTION                      0x00002818  // MappCloseConnection
#define M_APP_TRACE                                 0x00002819  // MappTrace

#define M_OBJ_CONTROL                               0x00002C01  // MobjControl
#define M_OBJ_INQUIRE                               0x00002C02  // MobjInquire
#define M_OBJ_HOOK_FUNCTION                         0x00002C03  // MobjHookFunction
#define M_OBJ_ALLOC                                 0x00002C04  // MobjAlloc
#define M_OBJ_FREE                                  0x00002C05  // MobjFree
#define M_OBJ_GET_HOOK_INFO                         0x00002C06  // MobjGetHookInfo
#define M_OBJ_MESSAGE_WRITE                         0x00002C08  // MobjMessageWrite
#define M_OBJ_MESSAGE_READ                          0x00002C09  // MobjMessageRead

#define M_THR_ALLOC                                 0x00002E01  // MthrAlloc
#define M_THR_CONTROL                               0x00002E02  // MthrControl
#define M_THR_FREE                                  0x00002E03  // MthrFree
#define M_THR_INQUIRE                               0x00002E04  // MthrInquire
#define M_THR_WAIT                                  0x00002E05  // MthrWait
#define M_THR_WAIT_MULTIPLE                         0x00002E06  // MthrWaitMultiple
#define M_THR_INQUIRE_MP                            0x00002E07  // MthrInquireMp
#define M_THR_CONTROL_MP                            0x00002E08  // MthrControlMp

#define M_MISC_DLL_MAIN                             0x0000301A  // DllMain

#define M_BLOB_ALLOC_RESULT_OLD                     0x00008002  // MblobAllocResult
#define M_BLOB_CALCULATE                            0x00008003  // MblobCalculate
#define M_BLOB_CONTROL                              0x00008004  // MblobControl
#define M_BLOB_FREE                                 0x00008006  // MblobFree
#define M_BLOB_GET_LABEL                            0x00008007  // MblobGetLabel
#define M_BLOB_GET_RESULT_OLD                       0x00008009  // MblobGetResult
#define M_BLOB_INQUIRE                              0x0000800C  // MblobInquire
#define M_BLOB_LABEL_FUNC                           0x0000800D  // MblobLabel
#define M_BLOB_RECONSTRUCT                          0x0000800E  // MblobReconstruct
#define M_BLOB_SELECT                               0x0000800F  // MblobSelect
#define M_BLOB_DRAW                                 0x00008013  // MblobDraw
#define M_BLOB_MERGE                                0x00008014  // MblobMerge
#define M_BLOB_ALLOC                                0x00008015  // MblobAlloc
#define M_BLOB_SAVE                                 0x00008016  // MblobSave
#define M_BLOB_RESTORE                              0x00008017  // MblobRestore
#define M_BLOB_STREAM                               0x00008018  // MblobStream
#define M_BLOB_ALLOC_RESULT                         0x00008019  // MblobAllocResult
#define M_BLOB_GET_RESULT                           0x0000801A  // MblobGetResult
#define M_BLOB_TRANSFORM                            0x0000801B  // MblobTransform

#define M_MEAS_ALLOC_MARKER                         0x00008201  // MmeasAllocMarker
#define M_MEAS_SET_MARKER                           0x00008202  // MmeasSetMarker
#define M_MEAS_FIND_MARKER                          0x00008203  // MmeasFindMarker
#define M_MEAS_GET_RESULT                           0x00008204  // MmeasGetResult
#define M_MEAS_GET_RESULT_SINGLE                    0x00008205  // MmeasGetResultSingle
#define M_MEAS_INQUIRE                              0x00008206  // MmeasInquire
#define M_MEAS_SAVE_MARKER                          0x00008207  // MmeasSaveMarker
#define M_MEAS_CALCULATE                            0x00008208  // MmeasCalculate
#define M_MEAS_FREE                                 0x00008209  // MmeasFree
#define M_MEAS_ALLOC_RESULT                         0x0000820A  // MmeasAllocResult
#define M_MEAS_ALLOC_CONTEXT                        0x0000820B  // MmeasAllocContext
#define M_MEAS_CONTROL                              0x0000820C  // MmeasControl
#define M_MEAS_RESTORE_MARKER                       0x0000820D  // MmeasRestoreMarker
#define M_MEAS_DRAW                                 0x0000820E  // MmeasDraw
#define M_MEAS_STREAM                               0x0000820F  // MmeasStream
#define M_MEAS_SET_SCORE                            0x00008210  // MmeasSetScore
#define M_MEAS_GET_SCORE                            0x00008211  // MmeasGetScore

#define M_CAL_ALLOC                                 0x00008401  // McalAlloc
#define M_CAL_GRID                                  0x00008402  // McalGrid
#define M_CAL_TRANSFORM_IMAGE                       0x00008403  // McalTransformImage
#define M_CAL_CONTROL                               0x00008404  // McalControl
#define M_CAL_FREE                                  0x00008405  // McalFree
#define M_CAL_INQUIRE                               0x00008406  // McalInquire
#define M_CAL_LIST                                  0x00008407  // McalList
#define M_CAL_SAVE                                  0x00008408  // McalSave
#define M_CAL_RESTORE                               0x00008409  // McalRestore
#define M_CAL_RELATIVE_ORIGIN                       0x0000840A  // McalRelativeOrigin
#define M_CAL_TRANSFORM_COORDINATE                  0x0000840B  // McalTransformCoordinate
#define M_CAL_TRANSFORM_COORDINATE_LIST             0x0000840C  // McalTransformCoordinateList
#define M_CAL_TRANSFORM_RESULT                      0x0000840D  // McalTransformResult
#define M_CAL_STREAM                                0x00008410  // McalStream
#define M_CAL_ASSOCIATE                             0x00008411  // McalAssociate
#define M_CAL_GET_COORDINATE_SYSTEM                 0x00008412  // McalGetCoordinateSystem
#define M_CAL_SET_COORDINATE_SYSTEM                 0x00008413  // McalSetCoordinateSystem
#define M_CAL_DRAW                                  0x00008414  // McalDraw
#define M_CAL_TRANSFORM_COORDINATE_3D_LIST          0x00008415  // McalTransformCoordinate3dList
#define M_CAL_INQUIRE_SINGLE                        0x00008416  // McalInquireSingle
#define M_CAL_FIXTURE                               0x00008417  // McalFixture
#define M_CAL_TRANSFORM_RESULT_AT_POSITION          0x00008418  // McalTransformResultAtPosition
#define M_CAL_UNIFORM                               0x00008419  // McalUniform
#define M_CAL_WARP                                  0x0000841A  // McalWarp
#define M_CAL_DRAW_3D                               0x0000841B  // McalDraw3d
#define M_CAL_CALCULATE_HAND_EYE                    0x0000841C  // McalCalculateHandEye
#define M_CAL_COPY_RESULT                           0x0000841D  // McalCopyResult
#define M_CAL_ALLOC_RESULT                          0x0000841E  // McalAllocResult

#define M_CODE_ALLOC                                0x00008601  // McodeAlloc
#define M_CODE_CONTROL                              0x00008602  // McodeControl
#define M_CODE_FREE                                 0x00008603  // McodeFree
#define M_CODE_GET_RESULT_OLD                       0x00008604  // McodeGetResultOld
#define M_CODE_INQUIRE                              0x00008605  // McodeInquire
#define M_CODE_READ                                 0x00008606  // McodeRead
#define M_CODE_WRITE_OLD                            0x00008607  // McodeWriteOld
#define M_CODE_SAVE                                 0x00008608  // McodeSave
#define M_CODE_RESTORE                              0x00008609  // McodeRestore
#define M_CODE_STREAM                               0x0000860B  // McodeStream
#define M_CODE_DRAW_OLD                             0x0000860C  // McodeDrawOld
#define M_CODE_ALLOC_RESULT                         0x0000860D  // McodeAllocResult
#define M_CODE_MODEL_FUNC                           0x0000860E  // McodeModel
#define M_CODE_GET_RESULT_SINGLE                    0x0000860F  // McodeGetResultSingle
#define M_CODE_GRADE                                0x00008610  // McodeGrade
#define M_CODE_TRAIN                                0x00008611  // McodeTrain
#define M_CODE_DETECT                               0x00008612  // McodeDetect
#define M_CODE_GET_RESULT                           0x00008613  // McodeGetResult
#define M_CODE_DRAW                                 0x00008614  // McodeDraw
#define M_CODE_WRITE                                0x00008615  // McodeWrite
#define M_CODE_HOOK_FUNCTION                        0x00008616  // McodeHookFunction
#define M_CODE_GET_HOOK_INFO                        0x00008617  // McodeGetHookInfo

#define M_OCR_ALLOC_FONT                            0x00008801  // MocrAllocFont
#define M_OCR_ALLOC_RESULT                          0x00008802  // MocrAllocResult
#define M_OCR_CALIBRATE_FONT                        0x00008803  // MocrCalibrateFont
#define M_OCR_CONTROL                               0x00008804  // MocrControl
#define M_OCR_COPY_FONT                             0x00008805  // MocrCopyFont
#define M_OCR_FREE                                  0x00008806  // MocrFree
#define M_OCR_GET_RESULT                            0x00008807  // MocrGetResult
#define M_OCR_HOOK_FUNCTION                         0x00008808  // MocrHookFunction
#define M_OCR_IMPORT_FONT                           0x00008809  // MocrImportFont
#define M_OCR_INQUIRE                               0x0000880A  // MocrInquire
#define M_OCR_MODIFY_FONT                           0x0000880B  // MocrModifyFont
#define M_OCR_READ_STRING                           0x0000880C  // MocrReadString
#define M_OCR_RESTORE_FONT                          0x0000880D  // MocrRestoreFont
#define M_OCR_SAVE_FONT                             0x0000880E  // MocrSaveFont
#define M_OCR_SET_CONSTRAINT                        0x0000880F  // MocrSetConstraint
#define M_OCR_VERIFY_STRING                         0x00008811  // MocrVerifyString
#define M_OCR_PREPROCESS                            0x00008813  // MocrPreprocess
#define M_OCR_STREAM                                0x00008816  // MocrStream
#define M_OCR_DRAW                                  0x00008817  // MocrDraw

#define M_PAT_ALLOC_RESULT_OLD                      0x00008C03  // MpatAllocResult
#define M_PAT_DRAW                                  0x00008C06  // MpatDraw
#define M_PAT_FREE                                  0x00008C0A  // MpatFree
#define M_PAT_GET_RESULT_OLD                        0x00008C0C  // MpatGetResult
#define M_PAT_INQUIRE_OLD                           0x00008C0D  // MpatInquire
#define M_PAT_RESTORE_OLD                           0x00008C11  // MpatRestore
#define M_PAT_SAVE_OLD                              0x00008C12  // MpatSave
#define M_PAT_STREAM                                0x00008C22  // MpatStream
#define M_PAT_PREPROCESS                            0x00008C23  // MpatPreprocess
#define M_PAT_ALLOC_RESULT                          0x00008C24  // MpatAllocResult
#define M_PAT_GET_RESULT                            0x00008C25  // MpatGetResult
#define M_PAT_INQUIRE                               0x00008C26  // MpatInquire
#define M_PAT_RESTORE                               0x00008C27  // MpatRestore
#define M_PAT_SAVE                                  0x00008C28  // MpatSave
#define M_PAT_ALLOC                                 0x00008C29  // MpatAlloc
#define M_PAT_CONTROL                               0x00008C2A  // MpatControl
#define M_PAT_DEFINE                                0x00008C2B  // MpatDefine
#define M_PAT_FIND                                  0x00008C2C  // MpatFind
#define M_PAT_MASK                                  0x00008C2D  // MpatMask

#define M_MOD_ALLOC                                 0x00008E01  // MmodAlloc
#define M_MOD_ALLOC_RESULT                          0x00008E02  // MmodAllocResult
#define M_MOD_DEFINE                                0x00008E03  // MmodDefine
#define M_MOD_CONTROL                               0x00008E04  // MmodControl
#define M_MOD_PREPROCESS                            0x00008E05  // MmodPreprocess
#define M_MOD_DRAW                                  0x00008E06  // MmodDraw
#define M_MOD_FIND                                  0x00008E07  // MmodFind
#define M_MOD_GET_RESULT                            0x00008E08  // MmodGetResult
#define M_MOD_FREE                                  0x00008E09  // MmodFree
#define M_MOD_INQUIRE                               0x00008E0A  // MmodInquire
#define M_MOD_SAVE                                  0x00008E0B  // MmodSave
#define M_MOD_RESTORE                               0x00008E0C  // MmodRestore
#define M_MOD_MASK                                  0x00008E0D  // MmodMask
#define M_MOD_DEFINE_FROM_FILE                      0x00008E0E  // MmodDefineFromFile
#define M_MOD_STREAM                                0x00008E0F  // MmodStream

#define M_EDGE_ALLOC                                0x00009401  // MedgeAlloc
#define M_EDGE_ALLOC_RESULT                         0x00009402  // MedgeAllocResult
#define M_EDGE_INQUIRE                              0x00009403  // MedgeInquire
#define M_EDGE_CONTROL                              0x00009404  // MedgeControl
#define M_EDGE_CALCULATE                            0x00009405  // MedgeCalculate
#define M_EDGE_DRAW                                 0x00009406  // MedgeDraw
#define M_EDGE_GET_RESULT                           0x00009407  // MedgeGetResult
#define M_EDGE_FREE                                 0x00009408  // MedgeFree
#define M_EDGE_SAVE                                 0x00009409  // MedgeSave
#define M_EDGE_RESTORE                              0x0000940A  // MedgeRestore
#define M_EDGE_MASK                                 0x0000940B  // MedgeMask
#define M_EDGE_SELECT                               0x0000940C  // MedgeSelect
#define M_EDGE_GET_NEIGHBORS                        0x0000940D  // MedgeGetNeighbors
#define M_EDGE_PUT                                  0x0000940E  // MedgePut
#define M_EDGE_STREAM                               0x0000940F  // MedgeStream

#define M_STR_ALLOC                                 0x00009601  // MstrAlloc
#define M_STR_ALLOC_RESULT                          0x00009602  // MstrAllocResult
#define M_STR_FREE                                  0x00009603  // MstrFree
#define M_STR_CONTROL                               0x00009604  // MstrControl
#define M_STR_INQUIRE                               0x00009605  // MstrInquire
#define M_STR_EDIT_FONT                             0x00009606  // MstrEditFont
#define M_STR_SET_CONSTRAINT                        0x00009607  // MstrSetConstraint
#define M_STR_PREPROCESS                            0x00009608  // MstrPreprocess
#define M_STR_READ                                  0x00009609  // MstrRead
#define M_STR_GET_RESULT                            0x0000960A  // MstrGetResult
#define M_STR_DRAW                                  0x0000960B  // MstrDraw
#define M_STR_SAVE                                  0x0000960C  // MstrSave
#define M_STR_RESTORE                               0x0000960D  // MstrRestore
#define M_STR_STREAM                                0x0000960E  // MstrStream
#define M_STR_EXPERT                                0x0000960F  // MstrExpert

#define M_MET_ALLOC                                 0x00009A01  // MmetAlloc
#define M_MET_ALLOC_RESULT                          0x00009A02  // MmetAllocResult
#define M_MET_CONTROL                               0x00009A03  // MmetControl
#define M_MET_INQUIRE                               0x00009A04  // MmetInquire
#define M_MET_ADD_FEATURE                           0x00009A05  // MmetAddFeature
#define M_MET_ADD_TOLERANCE                         0x00009A06  // MmetAddTolerance
#define M_MET_SET_POSITION                          0x00009A07  // MmetSetPosition
#define M_MET_SET_REGION                            0x00009A08  // MmetSetRegion
#define M_MET_CALCULATE                             0x00009A09  // MmetCalculate
#define M_MET_GET_RESULT                            0x00009A0A  // MmetGetResult
#define M_MET_DRAW                                  0x00009A0B  // MmetDraw
#define M_MET_SAVE                                  0x00009A0C  // MmetSave
#define M_MET_RESTORE                               0x00009A0D  // MmetRestore
#define M_MET_STREAM                                0x00009A0E  // MmetStream
#define M_MET_FREE                                  0x00009A0F  // MmetFree
#define M_MET_NAME                                  0x00009A10  // MmetName
#define M_MET_PUT                                   0x00009A11  // MmetPut

#define M_COL_ALLOC                                 0x00009C01  // McolAlloc
#define M_COL_ALLOC_RESULT                          0x00009C02  // McolAllocResult
#define M_COL_DEFINE                                0x00009C03  // McolDefine
#define M_COL_MATCH                                 0x00009C04  // McolMatch
#define M_COL_FREE                                  0x00009C05  // McolFree
#define M_COL_CONTROL                               0x00009C06  // McolControl
#define M_COL_INQUIRE                               0x00009C07  // McolInquire
#define M_COL_PREPROCESS                            0x00009C08  // McolPreprocess
#define M_COL_GET_RESULT                            0x00009C09  // McolGetResult
#define M_COL_DISTANCE                              0x00009C0A  // McolDistance
#define M_COL_DRAW                                  0x00009C0B  // McolDraw
#define M_COL_STREAM                                0x00009C0C  // McolStream
#define M_COL_SAVE                                  0x00009C0D  // McolSave
#define M_COL_RESTORE                               0x00009C0E  // McolRestore
#define M_COL_MASK                                  0x00009C0F  // McolMask
#define M_COL_SET_METHOD                            0x00009C10  // McolSetMethod
#define M_COL_PROJECT                               0x00009C11  // McolProject
#define M_COL_TRANSFORM                             0x00009C12  // McolTransform

#define M_3DMAP_ALLOC                               0x00009E01  // M3dmapAlloc
#define M_3DMAP_ALLOC_RESULT                        0x00009E02  // M3dmapAllocResult
#define M_3DMAP_INQUIRE                             0x00009E03  // M3dmapInquire
#define M_3DMAP_CONTROL                             0x00009E04  // M3dmapControl
#define M_3DMAP_GET_RESULT                          0x00009E05  // M3dmapGetResult
#define M_3DMAP_FREE                                0x00009E06  // M3dmapFree
#define M_3DMAP_SAVE                                0x00009E07  // M3dmapSave
#define M_3DMAP_RESTORE                             0x00009E08  // M3dmapRestore
#define M_3DMAP_STREAM                              0x00009E09  // M3dmapStream
#define M_3DMAP_ADD_SCAN                            0x00009E0A  // M3dmapAddScan
#define M_3DMAP_CALIBRATE                           0x00009E0B  // M3dmapCalibrate
#define M_3DMAP_EXTRACT                             0x00009E0C  // M3dmapExtract
#define M_3DMAP_TRIANGULATE                         0x00009E0D  // M3dmapTriangulate
#define M_3DMAP_SET_GEOMETRY                        0x00009E0E  // M3dmapSetGeometry
#define M_3DMAP_DRAW                                0x00009E0F  // M3dmapDraw
#define M_3DMAP_STAT                                0x00009E10  // M3dmapStat
#define M_3DMAP_ARITH                               0x00009E11  // M3dmapArith
#define M_3DMAP_PUT                                 0x00009E12  // M3dmapPut
#define M_3DMAP_PUT_ORGANIZED                       0x00009E13  // M3dmapPutOrganized
#define M_3DMAP_CALIBRATE_MULTIPLE                  0x00009E14  // M3dmapCalibrateMultiple
#define M_3DMAP_CLEAR                               0x00009E15  // M3dmapClear
#define M_3DMAP_ALIGN                               0x00009E16  // M3dmapAlign
#define M_3DMAP_GET                                 0x00009E17  // M3dmapGet
#define M_3DMAP_IMPORT                              0x00009E18  // M3dmapImport
#define M_3DMAP_SET_BOX                             0x00009E19  // M3dmapSetBox
#define M_3DMAP_EXPORT                              0x00009E1A  // M3dmapExport
#define M_3DMAP_COPY                                0x00009E1B  // M3dmapCopy
#define M_3DMAP_COPY_COND                           0x00009E1C  // M3dmapCopyCond
#define M_3DMAP_PT_CLD_CALCULATE                    0x00009E1D  // M3dmapPtCldCalculate
#define M_3DMAP_COPY_RESULT                         0x00009E1E  // M3dmapCopyResult
#define M_3DMAP_DRAW_3D                             0x00009E1F  // M3dmapDraw3d
#define M_3DMAP_ALIGN_SCAN                          0x00009E20  // M3dmapAlignScan

#define M_REG_ALLOC                                 0x0000A001  // MregAlloc
#define M_REG_ALLOC_RESULT                          0x0000A002  // MregAllocResult
#define M_REG_INQUIRE                               0x0000A003  // MregInquire
#define M_REG_CONTROL                               0x0000A004  // MregControl
#define M_REG_CALCULATE                             0x0000A005  // MregCalculate
#define M_REG_DRAW                                  0x0000A006  // MregDraw
#define M_REG_GET_RESULT                            0x0000A008  // MregGetResult
#define M_REG_FREE                                  0x0000A009  // MregFree
#define M_REG_SAVE                                  0x0000A00B  // MregSave
#define M_REG_RESTORE                               0x0000A00C  // MregRestore
#define M_REG_STREAM                                0x0000A00F  // MregStream
#define M_REG_SET_LOCATION                          0x0000A010  // MregSetLocation
#define M_REG_TRANSFORM_IMAGE                       0x0000A011  // MregTransformImage
#define M_REG_TRANSFORM_COORDINATE                  0x0000A012  // MregTransformCoordinate
#define M_REG_TRANSFORM_COORDINATE_LIST             0x0000A013  // MregTransformCoordinateList

#define M_DMR_ALLOC                                 0x0000A201  // MdmrAlloc
#define M_DMR_ALLOC_RESULT                          0x0000A202  // MdmrAllocResult
#define M_DMR_INQUIRE                               0x0000A203  // MdmrInquire
#define M_DMR_CONTROL                               0x0000A204  // MdmrControl
#define M_DMR_PREPROCESS                            0x0000A205  // MdmrPreprocess
#define M_DMR_READ                                  0x0000A206  // MdmrRead
#define M_DMR_GET_RESULT                            0x0000A207  // MdmrGetResult
#define M_DMR_FREE                                  0x0000A208  // MdmrFree
#define M_DMR_SAVE                                  0x0000A209  // MdmrSave
#define M_DMR_RESTORE                               0x0000A20A  // MdmrRestore
#define M_DMR_STREAM                                0x0000A20B  // MdmrStream
#define M_DMR_CONTROL_FONT                          0x0000A20C  // MdmrControlFont
#define M_DMR_INQUIRE_FONT                          0x0000A20D  // MdmrInquireFont
#define M_DMR_CONTROL_STRING_MODEL                  0x0000A20E  // MdmrControlStringModel
#define M_DMR_INQUIRE_STRING_MODEL                  0x0000A20F  // MdmrInquireStringModel
#define M_DMR_DRAW                                  0x0000A210  // MdmrDraw
#define M_DMR_IMPORT_FONT                           0x0000A211  // MdmrImportFont
#define M_DMR_EXPORT_FONT                           0x0000A212  // MdmrExportFont
#define M_DMR_NAME                                  0x0000A213  // MdmrName

#define M_COM_ALLOC                                 0x0000A601  // McomAlloc
#define M_COM_CONTROL                               0x0000A602  // McomControl
#define M_COM_INQUIRE                               0x0000A603  // McomInquire
#define M_COM_HOOK_FUNCTION                         0x0000A604  // McomHookFunction
#define M_COM_GET_HOOK_INFO                         0x0000A605  // McomGetHookInfo
#define M_COM_READ                                  0x0000A606  // McomRead
#define M_COM_WRITE                                 0x0000A607  // McomWrite
#define M_COM_FREE                                  0x0000A608  // McomFree
#define M_COM_RECEIVE_POSITION_COMMAND              0x0000A609  // McomReceivePositionCommand
#define M_COM_SEND_POSITION_COMMAND                 0x0000A60A  // McomSendPositionCommand
#define M_COM_SEND_COMMAND                          0x0000A60B  // McomSendCommand
#define M_COM_RECEIVE_COMMAND                       0x0000A60C  // McomReceiveCommand

#define M_BEAD_ALLOC                                0x0000A801  // MbeadAlloc
#define M_BEAD_ALLOC_RESULT                         0x0000A802  // MbeadAllocResult
#define M_BEAD_FREE                                 0x0000A803  // MbeadFree
#define M_BEAD_CONTROL                              0x0000A804  // MbeadControl
#define M_BEAD_INQUIRE                              0x0000A805  // MbeadInquire
#define M_BEAD_TRAIN                                0x0000A806  // MbeadTrain
#define M_BEAD_TEMPLATE                             0x0000A807  // MbeadTemplate
#define M_BEAD_VERIFY                               0x0000A808  // MbeadVerify
#define M_BEAD_GET_RESULT                           0x0000A809  // MbeadGetResult
#define M_BEAD_DRAW                                 0x0000A80A  // MbeadDraw
#define M_BEAD_SAVE                                 0x0000A80B  // MbeadSave
#define M_BEAD_RESTORE                              0x0000A80C  // MbeadRestore
#define M_BEAD_STREAM                               0x0000A80D  // MbeadStream
#define M_BEAD_GET_NEIGHBORS                        0x0000A80E  // MbeadGetNeighbors

#define M_CLASS_ALLOC                               0x0000AC01  // MclassAlloc
#define M_CLASS_ALLOC_RESULT                        0x0000AC02  // MclassAllocResult
#define M_CLASS_INQUIRE                             0x0000AC03  // MclassInquire
#define M_CLASS_CONTROL                             0x0000AC04  // MclassControl
#define M_CLASS_IMPORT                              0x0000AC08  // MclassImport
#define M_CLASS_PREPROCESS                          0x0000AC09  // MclassPreprocess
#define M_CLASS_PREDICT                             0x0000AC0A  // MclassPredict
#define M_CLASS_GET_RESULT                          0x0000AC0B  // MclassGetResult
#define M_CLASS_FREE                                0x0000AC0C  // MclassFree
#define M_CLASS_SAVE                                0x0000AC0D  // MclassSave
#define M_CLASS_RESTORE                             0x0000AC0E  // MclassRestore
#define M_CLASS_STREAM                              0x0000AC0F  // MclassStream
#define M_CLASS_DRAW                                0x0000AC10  // MclassDraw
#define M_CLASS_PREDICT_MULTIBAND                   0x0000AC13  // MclassPredictMultiband
#define M_CLASS_CONTROL_ENTRY                       0x0000AC14  // MclassControlEntry
#define M_CLASS_TRAIN                               0x0000AC15  // MclassTrain
#define M_CLASS_INQUIRE_ENTRY                       0x0000AC16  // MclassInquireEntry
#define M_CLASS_EXPORT                              0x0000AC17  // MclassExport
#define M_CLASS_COPY_RESULT                         0x0000AC18  // MclassCopyResult
#define M_CLASS_HOOK_FUNCTION                       0x0000AC19  // MclassHookFunction
#define M_CLASS_GET_HOOK_INFO                       0x0000AC1A  // MclassGetHookInfo
#define M_CLASS_COPY                                0x0000AC1B  // MclassCopy
#define M_CLASS_SPLIT_DATASET                       0x0000AC1D  // MclassSplitDataset
#define M_CLASS_PREPARE_DATA                        0x0000AC1F  // MclassPrepareData
#define M_CLASS_SET_HOOK_INFO                       0x0000AC20  // MclassSetHookInfo
#define M_CLASS_DRAW_ENTRY                          0x0000AC21  // MclassDrawEntry
#define M_CLASS_ENTRY_ADD_REGION                    0x0000AC22  // MclassEntryAddRegion
#define M_CLASS_GET_RESULT_ENTRY                    0x0000AC23  // MclassGetResultEntry

#define M_AGM_ALLOC                                 0x0000AE01  // MagmAlloc
#define M_AGM_ALLOC_RESULT                          0x0000AE02  // MagmAllocResult
#define M_AGM_INQUIRE                               0x0000AE03  // MagmInquire
#define M_AGM_CONTROL                               0x0000AE04  // MagmControl
#define M_AGM_PREPROCESS                            0x0000AE05  // MagmPreprocess
#define M_AGM_GET_RESULT                            0x0000AE06  // MagmGetResult
#define M_AGM_FREE                                  0x0000AE07  // MagmFree
#define M_AGM_SAVE                                  0x0000AE08  // MagmSave
#define M_AGM_RESTORE                               0x0000AE09  // MagmRestore
#define M_AGM_STREAM                                0x0000AE0A  // MagmStream
#define M_AGM_DRAW                                  0x0000AE0B  // MagmDraw
#define M_AGM_DEFINE                                0x0000AE0C  // MagmDefine
#define M_AGM_FIND                                  0x0000AE0D  // MagmFind
#define M_AGM_TRAIN                                 0x0000AE0E  // MagmTrain
#define M_AGM_COPY_RESULT                           0x0000AE0F  // MagmCopyResult


#define M_3DGRA_ALLOC                               0x00000101  // M3dgraAlloc
#define M_3DGRA_ADD                                 0x00000102  // M3dgraAdd
#define M_3DGRA_CONTROL                             0x00000103  // M3dgraControl
#define M_3DGRA_COPY                                0x00000104  // M3dgraCopy
#define M_3DGRA_FREE                                0x00000105  // M3dgraFree
#define M_3DGRA_INQUIRE                             0x00000106  // M3dgraInquire
#define M_3DGRA_REMOVE                              0x00000107  // M3dgraRemove
#define M_3DGRA_BOX                                 0x00000108  // M3dgraBox
#define M_3DGRA_SPHERE                              0x00000109  // M3dgraSphere
#define M_3DGRA_CYLINDER                            0x0000010A  // M3dgraCylinder
#define M_3DGRA_GRID                                0x0000010B  // M3dgraGrid
#define M_3DGRA_LINE                                0x0000010C  // M3dgraLine
#define M_3DGRA_TEXT                                0x0000010D  // M3dgraText
#define M_3DGRA_AXIS                                0x0000010E  // M3dgraAxis
#define M_3DGRA_PLANE                               0x0000010F  // M3dgraPlane
#define M_3DGRA_DOTS                                0x00000110  // M3dgraDots
#define M_3DGRA_POLYGON                             0x00000111  // M3dgraPolygon
#define M_3DGRA_ARC                                 0x00000112  // M3dgraArc
#define M_3DGRA_NODE                                0x00000113  // M3dgraNode
#define M_3DGRA_HOOK_FUNCTION                       0x00000114  // M3dgraHookFunction
#define M_3DGRA_GET_HOOK_INFO                       0x00000115  // M3dgraGetHookInfo
#define M_3DGRA_LINES                               0x00000116  // M3dgraLines

#define M_3DDISP_ALLOC                              0x00000301  // M3ddispAlloc
#define M_3DDISP_CONTROL                            0x00000302  // M3ddispControl
#define M_3DDISP_FREE                               0x00000303  // M3ddispFree
#define M_3DDISP_INQUIRE                            0x00000304  // M3ddispInquire
#define M_3DDISP_SELECT                             0x00000305  // M3ddispSelect
#define M_3DDISP_SELECT_WINDOW                      0x00000306  // M3ddispSelectWindow
#define M_3DDISP_SET_VIEW                           0x00000307  // M3ddispSetView
#define M_3DDISP_GET_VIEW                           0x00000308  // M3ddispGetView
#define M_3DDISP_COPY                               0x00000309  // M3ddispCopy
#define M_3DDISP_HOOK_FUNCTION                      0x0000030B  // M3ddispHookFunction
#define M_3DDISP_GET_HOOK_INFO                      0x0000030C  // M3ddispGetHookInfo
#define M_3DDISP_LUT                                0x0000030D  // M3ddispLut

#define M_3DGEO_ALLOC                               0x00000501  // M3dgeoAlloc
#define M_3DGEO_INQUIRE                             0x00000502  // M3dgeoInquire
#define M_3DGEO_FREE                                0x00000503  // M3dgeoFree
#define M_3DGEO_SAVE                                0x00000504  // M3dgeoSave
#define M_3DGEO_RESTORE                             0x00000505  // M3dgeoRestore
#define M_3DGEO_STREAM                              0x00000506  // M3dgeoStream
#define M_3DGEO_BOX                                 0x00000507  // M3dgeoBox
#define M_3DGEO_SPHERE                              0x00000508  // M3dgeoSphere
#define M_3DGEO_PLANE                               0x00000509  // M3dgeoPlane
#define M_3DGEO_COPY                                0x0000050A  // M3dgeoCopy
#define M_3DGEO_MATRIX_SET_TRANSFORM                0x0000050B  // M3dgeoMatrixSetTransform
#define M_3DGEO_MATRIX_PUT                          0x0000050C  // M3dgeoMatrixPut
#define M_3DGEO_MATRIX_GET                          0x0000050D  // M3dgeoMatrixGet
#define M_3DGEO_MATRIX_GET_TRANSFORM                0x0000050E  // M3dgeoMatrixGetTransform
#define M_3DGEO_CYLINDER                            0x0000050F  // M3dgeoCylinder
#define M_3DGEO_DRAW_3D                             0x00000510  // M3dgeoDraw3d
#define M_3DGEO_UNDEFINED                           0x00000511  // M3dgeoUndefined
#define M_3DGEO_LINE                                0x00000512  // M3dgeoLine
#define M_3DGEO_MATRIX_SET_WITH_AXES                0x00000513  // M3dgeoMatrixSetWithAxes
#define M_3DGEO_POINT                               0x00000514  // M3dgeoPoint
#define M_3DGEO_CONSTRUCT                           0x00000515  // M3dgeoConstruct
#define M_3DGEO_EVAL_CURVE                          0x00000516  // M3dgeoEvalCurve
#define M_3DGEO_EVAL_SURFACE                        0x00000517  // M3dgeoEvalSurface

#define M_3DBUF_IMPORT                              0x00000901  // M3dbufImport
#define M_3DBUF_EXPORT                              0x00000902  // M3dbufExport
#define M_3DBUF_CONVERT                             0x00000903  // MbufConvert3d

#define M_3DIM_ALLOC                                0x00002101  // M3dimAlloc
#define M_3DIM_ALLOC_RESULT                         0x00002102  // M3dimAllocResult
#define M_3DIM_INQUIRE                              0x00002103  // M3dimInquire
#define M_3DIM_CONTROL                              0x00002104  // M3dimControl
#define M_3DIM_GET_RESULT                           0x00002105  // M3dimGetResult
#define M_3DIM_FREE                                 0x00002106  // M3dimFree
#define M_3DIM_SAVE                                 0x00002107  // M3dimSave
#define M_3DIM_RESTORE                              0x00002108  // M3dimRestore
#define M_3DIM_STREAM                               0x00002109  // M3dimStream
#define M_3DIM_TRANSLATE                            0x0000210A  // M3dimTranslate
#define M_3DIM_SCALE                                0x0000210B  // M3dimScale
#define M_3DIM_ROTATE                               0x0000210C  // M3dimRotate
#define M_3DIM_MATRIX_TRANSFORM                     0x0000210D  // M3dimMatrixTransform
#define M_3DIM_CROP                                 0x0000210E  // M3dimCrop
#define M_3DIM_MERGE                                0x0000210F  // M3dimMerge
#define M_3DIM_SAMPLE                               0x00002110  // M3dimSample
#define M_3DIM_NORMALS                              0x00002111  // M3dimNormals
#define M_3DIM_MESH                                 0x00002112  // M3dimMesh
#define M_3DIM_STAT                                 0x00002113  // M3dimStat
#define M_3DIM_COPY_RESULT                          0x00002114  // M3dimCopyResult
#define M_3DIM_PROJECT                              0x00002115  // M3dimProject
#define M_3DIM_COPY                                 0x00002116  // M3dimCopy
#define M_3DIM_CALIBRATE_DEPTH_MAP                  0x00002117  // M3dimCalibrateDepthMap
#define M_3DIM_MATRIX_TRANSFORM_LIST                0x00002118  // M3dimMatrixTransformList
#define M_3DIM_CALCULATE_MAP_SIZE                   0x00002119  // M3dimCalculateMapSize
#define M_3DIM_REMOVE_POINTS                        0x0000211A  // M3dimRemovePoints
#define M_3DIM_ARITH                                0x0000211B  // M3dimArith
#define M_3DIM_FILL_GAP                             0x0000211C  // M3dimFillGaps
#define M_3DIM_FIX                                  0x0000211D  // M3dimFix
#define M_3DIM_PROFILE                              0x0000211E  // M3dimProfile
#define M_3DIM_DRAW_3D                              0x0000211F  // M3dimDraw3d
#define M_3DIM_GET                                  0x00002120  // M3dimGet
#define M_3DIM_FILTER                               0x00002121  // M3dimFilter
#define M_3DIM_FIND_TRANSFORMATION                  0x00002122  // M3dimFindTransformation
#define M_3DIM_REMAP_DEPTH_MAP                      0x00002123  // M3dimRemapDepthMap
#define M_3DIM_GET_LIST                             0x00002124  // M3dimGetList
#define M_3DIM_OUTLIERS                             0x00002125  // M3dimOutliers

#define M_3DMET_ALLOC                               0x00002301  // M3dmetAlloc
#define M_3DMET_ALLOC_RESULT                        0x00002302  // M3dmetAllocResult
#define M_3DMET_INQUIRE                             0x00002303  // M3dmetInquire
#define M_3DMET_CONTROL                             0x00002304  // M3dmetControl
#define M_3DMET_GET_RESULT                          0x00002305  // M3dmetGetResult
#define M_3DMET_FREE                                0x00002306  // M3dmetFree
#define M_3DMET_SAVE                                0x00002307  // M3dmetSave
#define M_3DMET_RESTORE                             0x00002308  // M3dmetRestore
#define M_3DMET_STREAM                              0x00002309  // M3dmetStream
#define M_3DMET_DISTANCE                            0x0000230A  // M3dmetDistance
#define M_3DMET_FIT                                 0x0000230B  // M3dmetFit
#define M_3DMET_COPY_RESULT                         0x0000230C  // M3dmetCopyResult
#define M_3DMET_STAT                                0x0000230D  // M3dmetStat
#define M_3DMET_COPY                                0x0000230E  // M3dmetCopy
#define M_3DMET_VOLUME                              0x0000230F  // M3dmetVolume
#define M_3DMET_DRAW_3D                             0x00002310  // M3dmetDraw3d
#define M_3DMET_FEATURE_EX                          0x00002311  // M3dmetFeatureEx
#define M_3DMET_FEATURE                             0x00002312  // M3dmetFeature
#define M_3DMET_VOLUME_EX                           0x00002313  // M3dmetVolumeEx
#define M_3DMET_CONTROL_DRAW                        0x00002314  // M3dmetControlDraw
#define M_3DMET_INQUIRE_DRAW                        0x00002315  // M3dmetInquireDraw

#define M_3DREG_ALLOC                               0x00002501  // M3dregAlloc
#define M_3DREG_ALLOC_RESULT                        0x00002502  // M3dregAllocResult
#define M_3DREG_INQUIRE                             0x00002503  // M3dregInquire
#define M_3DREG_CONTROL                             0x00002504  // M3dregControl
#define M_3DREG_GET_RESULT                          0x00002505  // M3dregGetResult
#define M_3DREG_FREE                                0x00002506  // M3dregFree
#define M_3DREG_SAVE                                0x00002507  // M3dregSave
#define M_3DREG_RESTORE                             0x00002508  // M3dregRestore
#define M_3DREG_STREAM                              0x00002509  // M3dregStream
#define M_3DREG_COPY_RESULT                         0x0000250A  // M3dregCopyResult
#define M_3DREG_CALCULATE                           0x0000250B  // M3dregCalculate
#define M_3DREG_COPY                                0x0000250C  // M3dregCopy
#define M_3DREG_SET_LOCATION                        0x0000250D  // M3dregSetLocation
#define M_3DREG_MERGE                               0x0000250E  // M3dregMerge
#define M_3DREG_CONTROL_DRAW                        0x0000250F  // M3dregControlDraw
#define M_3DREG_INQUIRE_DRAW                        0x00002510  // M3dregInquireDraw
#define M_3DREG_DRAW_3D                             0x00002511  // M3dregDraw3d

#define M_3DMOD_ALLOC                               0x00002701  // M3dmodAlloc
#define M_3DMOD_ALLOC_RESULT                        0x00002702  // M3dmodAllocResult
#define M_3DMOD_INQUIRE                             0x00002703  // M3dmodInquire
#define M_3DMOD_CONTROL                             0x00002704  // M3dmodControl
#define M_3DMOD_GET_RESULT                          0x00002705  // M3dmodGetResult
#define M_3DMOD_FREE                                0x00002706  // M3dmodFree
#define M_3DMOD_SAVE                                0x00002707  // M3dmodSave
#define M_3DMOD_RESTORE                             0x00002708  // M3dmodRestore
#define M_3DMOD_STREAM                              0x00002709  // M3dmodStream
#define M_3DMOD_FIND                                0x0000270A  // M3dmodFind
#define M_3DMOD_COPY_RESULT                         0x0000270B  // M3dmodCopyResult
#define M_3DMOD_DRAW_3D                             0x0000270C  // M3dmodDraw3d
#define M_3DMOD_PREPROCESS                          0x0000270D  // M3dmodPreprocess
#define M_3DMOD_COPY                                0x0000270E  // M3dmodCopy
#define M_3DMOD_DEFINE                              0x0000270F  // M3dmodDefine
#define M_3DMOD_INQUIRE_DRAW                        0x00002710  // M3dmodInquireDraw
#define M_3DMOD_CONTROL_DRAW                        0x00002711  // M3dmodControlDraw

#define M_3DBLOB_ALLOC                              0x00002901  // M3dblobAlloc
#define M_3DBLOB_ALLOC_RESULT                       0x00002902  // M3dblobAllocResult
#define M_3DBLOB_INQUIRE                            0x00002903  // M3dblobInquire
#define M_3DBLOB_CONTROL                            0x00002904  // M3dblobControl
#define M_3DBLOB_GET_RESULT                         0x00002905  // M3dblobGetResult
#define M_3DBLOB_FREE                               0x00002906  // M3dblobFree
#define M_3DBLOB_SAVE                               0x00002907  // M3dblobSave
#define M_3DBLOB_RESTORE                            0x00002908  // M3dblobRestore
#define M_3DBLOB_STREAM                             0x00002909  // M3dblobStream
#define M_3DBLOB_COPY_RESULT                        0x0000290A  // M3dblobCopyResult
#define M_3DBLOB_SEGMENT                            0x0000290B  // M3dblobSegment
#define M_3DBLOB_SELECT                             0x0000290C  // M3dblobSelect
#define M_3DBLOB_SORT                               0x0000290D  // M3dblobSort
#define M_3DBLOB_COMBINE                            0x0000290E  // M3dblobCombine
#define M_3DBLOB_EXTRACT                            0x0000290F  // M3dblobExtract
#define M_3DBLOB_DRAW_3D                            0x00002910  // M3dblobDraw3d
#define M_3DBLOB_CALCULATE                          0x00002911  // M3dblobCalculate
#define M_3DBLOB_INQUIRE_DRAW                       0x00002912  // M3dblobInquireDraw
#define M_3DBLOB_CONTROL_DRAW                       0x00002913  // M3dblobControlDraw
#define M_3DBLOB_COPY                               0x00002914  // M3dblobCopy


#endif //__FUNCTIONCODES_H__