Click or drag to resize

DfsDLLWrapper Class

Static class providing one-to-one access to the ufs.dll, using C# calling conventions and marshalling. Compared to the DfsDLLAccess class the following has changed: - Methods with an error return code now throws an exception on error - Methods with just one return argument now returns the value - Methods working with enum arguments/returns use these enums instead of int's - Unmanaged arrays (strings) are Marshalled

With any

ref IntPtr
argument, which are all return arguments, null can be used and the argument is ignored.

Inheritance Hierarchy
SystemObject
  DHI.Generic.MikeZero.DFSDfsDLLWrapper

Namespace:  DHI.Generic.MikeZero.DFS
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static class DfsDLLWrapper

The DfsDLLWrapper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberdfsAddCustomBlock(IntPtr, String, Byte)
Public methodStatic memberdfsAddCustomBlock(IntPtr, String, Double)
Public methodStatic memberdfsAddCustomBlock(IntPtr, String, Int16)
Public methodStatic memberdfsAddCustomBlock(IntPtr, String, Int32)
Public methodStatic memberdfsAddCustomBlock(IntPtr, String, Single)
Public methodStatic memberdfsAddCustomBlock(IntPtr, String, UInt16)
Public methodStatic memberdfsAddCustomBlock(IntPtr, String, UInt32)
Public methodStatic memberdfsAddCustomBlock(IntPtr, DfsSimpleType, String, Int32, IntPtr)
wrapped dfsAddCustomBlock
Public methodStatic memberdfsDebugOn
wrapped dfsDebugOn
Public methodStatic memberdfsEnablePlugin
Wrapped dfsEnablePlugin
Public methodStatic memberdfsFileAppend
wrapped dfsFileAppend
Public methodStatic memberdfsFileClose
wrapped dfsFileClose
Public methodStatic memberdfsFileCreate
wrapped dfsFileCreate
Public methodStatic memberdfsFileEdit
wrapped dfsFileEdit
Public methodStatic memberdfsFileFlush
wrapped dfsFileFlush
Public methodStatic memberdfsFileFlushTimeStep
wrapped dfsFileFlushTimeStep
Public methodStatic memberdfsFileRead
wrapped dfsFileRead
Public methodStatic memberdfsFindBlockDynamic
wrapped dfsFindBlockDynamic
Public methodStatic memberdfsFindBlockStatic
wrapped dfsFindBlockStatic
Public methodStatic memberdfsFindItemDynamic
wrapped dfsFindItemDynamic
Public methodStatic memberdfsFindItemStatic
wrapped dfsFindItemStatic
Public methodStatic memberdfsFindTimeStep
wrapped dfsFindTimeStep
Public methodStatic memberdfsGetAppTitle
wrapped dfsGetAppTitle
Public methodStatic memberdfsGetAppVersionNo
wrapped dfsGetAppVersionNo
Public methodStatic memberdfsGetAssocStatic
wrapped dfsGetAssocStatic
Public methodStatic memberdfsGetCustomBlock
wrapped dfsGetCustomBlock
Public methodStatic memberdfsGetCustomBlockRef
wrapped dfsGetCustomBlockRef
Public methodStatic memberdfsGetDataType
wrapped dfsGetDataType
Public methodStatic memberdfsGetDeleteValByte
wrapped dfsGetDeleteValByte
Public methodStatic memberdfsGetDeleteValDouble
wrapped dfsGetDeleteValDouble
Public methodStatic memberdfsGetDeleteValFloat
wrapped dfsGetDeleteValFloat
Public methodStatic memberdfsGetDeleteValInt
wrapped dfsGetDeleteValInt
Public methodStatic memberdfsGetDeleteValUnsignedInt
wrapped dfsGetDeleteValUnsignedInt
Public methodStatic memberdfsGetEncodeKey
Wrapped dfsGetEncodeKey
Public methodStatic memberdfsGetEncodeKeySize
wrapped dfsGetEncodeKeySize
Public methodStatic memberdfsGetEqCalendarAxis
wrapped dfsGetEqCaledendarAxis
Public methodStatic memberdfsGetEqTimeAxis
wrapped dfsGetEqTimeAxis
Public methodStatic memberdfsGetFileTitle
wrapped dfsGetFileTitle
Public methodStatic memberdfsGetFileType
wrapped dfsGetFileType
Public methodStatic memberdfsGetGeoInfoType
wrapped dfsGetGeoInfoType
Public methodStatic memberdfsGetGeoInfoUTMProj
wrapped dfsGetGeoInfoUTMProj
Public methodStatic memberdfsGetItemAxisCurveLinearD2
wrapped dfsGetItemAxisCurveLinearD2
Public methodStatic memberdfsGetItemAxisCurveLinearD3
wrapped dfsGetItemAxisCurveLinearD3
Public methodStatic memberdfsGetItemAxisEqD0
wrapped dfsGetItemAxisEqD0
Public methodStatic memberdfsGetItemAxisEqD1
wrapped dfsGetItemAxisEqD1
Public methodStatic memberdfsGetItemAxisEqD2
wrapped dfsGetItemAxisEqD2
Public methodStatic memberdfsGetItemAxisEqD3
wrapped dfsGetItemAxisEqD3
Public methodStatic memberdfsGetItemAxisEqD4
wrapped dfsGetItemAxisEqD4
Public methodStatic memberdfsGetItemAxisNeqD1
wrapped dfsGetItemAxisNeqD1.
Public methodStatic memberdfsGetItemAxisNeqD2
wrapped dfsGetItemAxisNeqD2
Public methodStatic memberdfsGetItemAxisNeqD3
wrapped dfsGetItemAxisNeqD3
Public methodStatic memberdfsGetItemAxisOrientation
wrapped dfsGetItemAxisOrientation
Public methodStatic memberdfsGetItemAxisTvarD1
wrapped dfsGetItemAxisTvarD1
Public methodStatic memberdfsGetItemAxisTvarD2
wrapped dfsGetItemAxisTvarD2
Public methodStatic memberdfsGetItemAxisTvarD3
wrapped dfsGetItemAxisTvarD3
Public methodStatic memberdfsGetItemAxisType
wrapped dfsGetItemAxisType
Public methodStatic memberdfsGetItemAxisUnitConversion
wrapped dfsGetItemAxisUnitConversion
Public methodStatic memberdfsGetItemBytes
wrapped dfsGetItemBytes
Public methodStatic memberdfsGetItemDim
wrapped dfsGetItemDim
Public methodStatic memberdfsGetItemElements
wrapped dfsGetItemElements
Public methodStatic memberdfsGetItemGeometryType
wrapped dfsGetItemGeometryType
Public methodStatic memberdfsGetItemGeometryUnit
wrapped dfsGetItemGeometryUnit
Public methodStatic memberdfsGetItemInfo
wrapped dfsGetItemInfo
Public methodStatic memberdfsGetItemInfo_
wrapped dfsGetItemInfo_
Public methodStatic memberdfsGetItemRefCoords
wrapped dfsGetItemRefCoords
Public methodStatic memberdfsGetItemStats
wrapped dfsGetItemStats
Public methodStatic memberdfsGetItemStatsGlobal
wrapped dfsGetItemStatsGlobal
Public methodStatic memberdfsGetItemStatsType
wrapped dfsGetItemStatsType
Public methodStatic memberdfsGetItemUnitConversion
wrapped dfsGetItemUnitConversion
Public methodStatic memberdfsGetItemValueType
wrapped dfsGetItemValueType
Public methodStatic memberdfsGetItemXSize
wrapped dfsGetItemXSize
Public methodStatic memberdfsGetItemXYSize
wrapped dfsGetItemXYSize
Public methodStatic memberdfsGetItemXYZSize
wrapped dfsGetItemXYZSize
Public methodStatic memberdfsGetNeqCalendarAxis
wrapped dfsGetNeqCalendarAxis
Public methodStatic memberdfsGetNeqTimeAxis
wrapped dfsGetNeqTimeAxis
Public methodStatic memberdfsGetNoAssocStatic
wrapped dfsGetNoAssocStatic
Public methodStatic memberdfsGetNoOfItems
wrapped dfsGetNoOfItems
Public methodStatic memberdfsGetTimeAxisType
wrapped dfsGetTimeAxisType
Public methodStatic memberdfsGetUsedItemBytes
wrapped dfsGetUsedItemBytes
Public methodStatic memberdfsGetUsedItemElements
wrapped dfsGetUsedItemElements
Public methodStatic memberdfsGetVersionCurrent
wrapped dfsGetVersionCurrent
Public methodStatic memberdfsHeaderCreate
wrapped dfsHeaderCreate
Public methodStatic memberdfsHeaderDestroy
wrapped dfsHeaderDestroy
Public methodStatic memberdfsIsFileCompressed
wrapped dfsIsFileCompressed
Public methodStatic memberdfsIsItemCompressed
wrapped dfsIsItemCompressed
Public methodStatic memberdfsItemD
wrapped dfsItemD (pointer to dynamic item)
Public methodStatic memberdfsItemEnableCompression
wrapped dfsItemEnableCompression
Public methodStatic memberdfsItemS
wrapped dfsItemS (pointer to static item)
Public methodStatic memberdfsParamModifyTimes
wrapped dfsParamModifyTimes
Public methodStatic memberdfsReadItemTimeStep(IntPtr, IntPtr, Double, Byte)
Public methodStatic memberdfsReadItemTimeStep(IntPtr, IntPtr, Double, Double)
Public methodStatic memberdfsReadItemTimeStep(IntPtr, IntPtr, Double, Int16)
Public methodStatic memberdfsReadItemTimeStep(IntPtr, IntPtr, Double, Int32)
Public methodStatic memberdfsReadItemTimeStep(IntPtr, IntPtr, Double, IntPtr)
wrapped dfsReadItemTimeStep
Public methodStatic memberdfsReadItemTimeStep(IntPtr, IntPtr, Double, Single)
Public methodStatic memberdfsReadItemTimeStep(IntPtr, IntPtr, Double, UInt16)
Public methodStatic memberdfsReadItemTimeStep(IntPtr, IntPtr, Double, UInt32)
Public methodStatic memberdfsSetAppTitle
wrapped dfsSetAppTitle
Public methodStatic memberdfsSetAppVersionNo
wrapped dfsSetAppVersionNo
Public methodStatic memberdfsSetAssocStatic
wrapped dfsSetAssocStatic
Public methodStatic memberdfsSetDataType
wrapped dfsSetDataType
Public methodStatic memberdfsSetDeleteValByte
wrapped dfsSetDeleteValByte
Public methodStatic memberdfsSetDeleteValDouble
wrapped dfsSetDeleteValDouble
Public methodStatic memberdfsSetDeleteValFloat
wrapped dfsSetDeleteValFloat
Public methodStatic memberdfsSetDeleteValInt
wrapped dfsSetDeleteValInt
Public methodStatic memberdfsSetDeleteValUnsignedInt
wrapped dfsSetDeleteValUnsignedInt
Public methodStatic memberdfsSetEncodeKey
wrapped dfsSetEncodeKey
Public methodStatic memberdfsSetEqCalendarAxis
wrapped dfsSetEqCalendarAxis
Public methodStatic memberdfsSetEqTimeAxis
wrapped dfsSetEqTimeAxis
Public methodStatic memberdfsSetFileTitle
wrapped dfsSetFileTitle
Public methodStatic memberdfsSetGeoInfoUTMProj
wrapped dfsSetGeoInfoUTMProj
Public methodStatic memberdfsSetItemAxisCurveLinearD2
wrapped dfsSetItemAxisCurveLinearD2
Public methodStatic memberdfsSetItemAxisCurveLinearD3
wrapped dfsSetItemAxisCurveLinearD3
Public methodStatic memberdfsSetItemAxisEqD0
wrapped dfsSetImteAxisEqD0
Public methodStatic memberdfsSetItemAxisEqD1
wrapped dfsSetItemAxisEqD1
Public methodStatic memberdfsSetItemAxisEqD2
wrapped dfsSetItemAxisEqD2
Public methodStatic memberdfsSetItemAxisEqD3
wrapped dfsSetItemAxisEqD3
Public methodStatic memberdfsSetItemAxisEqD4
wrapped dfsSetItemAxisEqD4
Public methodStatic memberdfsSetItemAxisNeqD1
wrapped dfsSetItemAxisNeqD1.
Public methodStatic memberdfsSetItemAxisNeqD2
wrapped dfsSetItemAxisNeqD2
Public methodStatic memberdfsSetItemAxisNeqD3
wrapped dfsSetItemAxisNeqD3
Public methodStatic memberdfsSetItemAxisOrientation
wrapped dfsSetItemAxisOrientation
Public methodStatic memberdfsSetItemAxisTvarD1
wrapped dfsSetItemAxisTvarD1
Public methodStatic memberdfsSetItemAxisTvarD2
dfsSetItemAxisTvarD2
Public methodStatic memberdfsSetItemAxisTvarD3
wrapped dfsSetItemAxisTvarD3
Public methodStatic memberdfsSetItemAxisUnitConversion
wrapped dfsSetTimeAxisUnitConversion
Public methodStatic memberdfsSetItemInfo
wrapped dfsSetItemInfo
Public methodStatic memberdfsSetItemInfo_
wrapped dfsSetItemInfo_
Public methodStatic memberdfsSetItemRefCoords
wrapped dfsSetItemRefCoords
Public methodStatic memberdfsSetItemUnitConversion
wrapped dfsSetItemUnitConversion
Public methodStatic memberdfsSetItemValueType
wrapped dfsSetItemValueType
Public methodStatic memberdfsSetNeqCalendarAxis
wrapped dfsSetNeqCalendarAxis
Public methodStatic memberdfsSetNeqTimeAxis
wrapped dfsSetNeqTimeAxis
Public methodStatic memberdfsSetNumberOfTimeSteps
wrapped dfsSetNumberOfTimeSteps
Public methodStatic memberdfsSetTimeStartEnd
wrapped dfsSetNumberOfTimeSteps
Public methodStatic memberdfsSkipItem
wrapped dfsSkipItem
Public methodStatic memberdfsSkipTimeStep
wrapped dfsSkipTimeStep
Public methodStatic memberdfsStaticCreate
wrapped dfsStaticCreate
Public methodStatic memberdfsStaticDestroy
wrapped dfsStaticDestroy
Public methodStatic memberdfsStaticGetData(IntPtr, Byte)
Public methodStatic memberdfsStaticGetData(IntPtr, Double)
Public methodStatic memberdfsStaticGetData(IntPtr, Int16)
Public methodStatic memberdfsStaticGetData(IntPtr, Int32)
Public methodStatic memberdfsStaticGetData(IntPtr, IntPtr)
wrapped dfsStaticGetData
Public methodStatic memberdfsStaticGetData(IntPtr, Single)
Public methodStatic memberdfsStaticGetData(IntPtr, UInt16)
Public methodStatic memberdfsStaticGetData(IntPtr, UInt32)
Public methodStatic memberdfsStaticRead
wrapped dfsStaticRead
Public methodStatic memberdfsStaticSetHeader
wrapped dfsStaticSetHeader
Public methodStatic memberdfsStaticSkip
wrapped dfsStaticSkip
Public methodStatic memberdfsStaticWrite(IntPtr, IntPtr, Byte)
Public methodStatic memberdfsStaticWrite(IntPtr, IntPtr, Double)
Public methodStatic memberdfsStaticWrite(IntPtr, IntPtr, Int16)
Public methodStatic memberdfsStaticWrite(IntPtr, IntPtr, Int32)
Public methodStatic memberdfsStaticWrite(IntPtr, IntPtr, IntPtr)
wrapped dfsStaticWrite
Public methodStatic memberdfsStaticWrite(IntPtr, IntPtr, Single)
Public methodStatic memberdfsStaticWrite(IntPtr, IntPtr, UInt16)
Public methodStatic memberdfsStaticWrite(IntPtr, IntPtr, UInt32)
Public methodStatic memberdfsStreamCreate(DfsStreamBufferWriter, IntPtr, IntPtr)
wrapped dfsStreamCreate
Public methodStatic memberdfsStreamCreate(IntPtr, Int32, WriteBufferCallback, IntPtr, IntPtr)
wrapped dfsStreamCreate
Public methodStatic memberdfsStreamRead(DfsStreamBufferReader, IntPtr, IntPtr)
wrapped dfsStreamRead
Public methodStatic memberdfsStreamRead(IntPtr, Int32, FillBufferCallback, IntPtr, IntPtr)
wrapped dfsStreamRead
Public methodStatic memberdfsUnloadPlugin
Wrapped dfsUnloadPlugin
Public methodStatic memberdfsUpdateGeoInfoUTMProj
wrapped dfsUpdateGeoInfoUTMProj
Public methodStatic memberdfsUpdateItemInfo
wrapped dfsUpdateItemInfo
Public methodStatic memberdfsWriteItemTimeStep(IntPtr, IntPtr, Double, Byte)
Public methodStatic memberdfsWriteItemTimeStep(IntPtr, IntPtr, Double, Double)
Public methodStatic memberdfsWriteItemTimeStep(IntPtr, IntPtr, Double, Int16)
Public methodStatic memberdfsWriteItemTimeStep(IntPtr, IntPtr, Double, Int32)
Public methodStatic memberdfsWriteItemTimeStep(IntPtr, IntPtr, Double, IntPtr)
wrapped dfsWriteItemTimeStep
Public methodStatic memberdfsWriteItemTimeStep(IntPtr, IntPtr, Double, Single)
Public methodStatic memberdfsWriteItemTimeStep(IntPtr, IntPtr, Double, UInt16)
Public methodStatic memberdfsWriteItemTimeStep(IntPtr, IntPtr, Double, UInt32)
Public methodStatic memberdfsWriteStartBlockDynamic
wrapped dfsWriteStartBlockDynamic
Top
See Also