データ型はDMA1.0の定義に従います。このマニュアルで使用する型の定義を次の表に示します。
表2-1 使用するデータ型
名前 | 定義 | 備考 |
---|---|---|
DmaBoolean | unsigned short | - |
DmaId | struct DmaId { DmaUInteger32 Data1; DmaUInteger16 Data2; DmaUInteger16 Data3; DmaUInteger8 Data4[8]; }; | GUID (Globally Unique Identifiers) |
DmaInteger8 | signed char | - |
DmaInteger16 | short | - |
DmaInteger32 | long | - |
Dmapv | void * | - |
DmaTChar | char | - |
DmaUInteger8 | unsigned char | - |
DmaUInteger16 | unsigned short | - |
DmaUInteger32 | unsigned long | - |
pDmaBinary | pDmaUInteger8 | DmaBinaryはない |
pDmaBoolean | DmaBoolean * | - |
pDmaId | DmaId * | - |
pDmaInteger8 | DmaInteger8 * | - |
pDmaInteger16 | DmaInteger16 * | - |
pDmaInteger32 | DmaInteger32 * | - |
pDmapv | Dmapv * | - |
pDmaString_T | DmaTChar* | DmaString_Tはない |
pDmaUInteger8 | DmaUInteger8 * | - |
pDmaUInteger16 | DmaUInteger16 * | - |
pDmaUInteger32 | DmaUInteger32 * | - |
ppDmaBinary | pDmaBinary * | - |
ppDmaBoolean | pDmaBoolean * | - |
ppDmaId | pDmaId * | - |
ppDmaInteger8 | pDmaInteger8 * | - |
ppDmaInteger16 | pDmaInteger16 * | - |
ppDmaInteger32 | pDmaInteger32 * | - |
ppDmaString_T | pDmaString_T* | - |
ppDmaUInteger8 | pDmaUInteger8 * | - |
ppDmaUInteger16 | pDmaUInteger16 * | - |
ppDmaUInteger32 | pDmaUInteger32 * | - |
注 pはポインタ,ppはポインタへのポインタを意味します。