Пример #1
0
 public static extern int ZP_GetPortInfo(IntPtr hHandle, Int32 nIdx, ref ZP_PORT_INFO rInfo);
Пример #2
0
 public static extern int ZP_FindSerialDevice(UInt32 nTypeMask,
                                              [In][MarshalAs(UnmanagedType.LPArray)] ZP_PORT_ADDR[] pPorts, int nPCount,
                                              IntPtr pInfo, int nInfoSize, ref ZP_PORT_INFO pPort,
                                              [In][MarshalAs(UnmanagedType.LPStruct)] ZP_WAIT_SETTINGS pWS = null, UInt32 nFlags = (ZP_SF_UPDATE | ZP_SF_USEVCOM));