| GetDin | ||||||||
| Calling Method | BOOL GetDin(int iPort, int *iInput); | |||||||
| Return Value |
|
|||||||
| Argument | int iPort | DIN Port
|
||||||
| int *iInput | DIN input status
|
|||||||
| Example | int ret, iInput; ret = GetDin(DIN0, &iInput); |
|||||||
| Necessary Condition |
|
|||||||
| GetDin | ||||||||
| Calling Method | [DllImport("Ioctl.dll")] static extern int GetDin(int iPort, ref int iInput); | |||||||
| Return Value |
|
|||||||
| Argument | int iPort | DIN Port
|
||||||
| ref int iInput | DIN input status
|
|||||||
| Example | int ret, iInput; ret = GetDin(DIN0, ref iInput); |
|||||||
| GetDin | ||||||||
| Calling Method | Declare Function GetDin Lib "Ioctl.dll"(ByVal iPort As Integer, ByRef iInput As Integer)As Integer | |||||||
| Return Value |
|
|||||||
| Argument | ByVal iPort As Integer | DIN Port
|
||||||
| ByRef iInput | DIN input status
|
Example | Dim ret As Integer Dim iInput As Integer ret = GetDin(DIN0, iInput) |
|||||