Jump to content

PRPORTINFO2: Difference between revisions

From EDM2
Created page with "Information about the current port settings, used by SplQueryPort and SplSetPort. ==Example Code== <PRE> typedef struct _PRPORTINFO2 { PSZ pszPortName; /* ..."
(No difference)

Revision as of 18:38, 8 February 2020

Information about the current port settings, used by SplQueryPort and SplSetPort.

Example Code

typedef struct _PRPORTINFO2 {
  PSZ       pszPortName;           /*  Name of the port. */
  PSZ       pszPortDriver;         /*  Port driver used by the port. */
  PSZ       pszProtocolConverter;  /*  Protocol converter used by the port. */
  ULONG     ulReserved;            /*  Set to 0 (zero) for now. */
  ULONG     ulMode;                /*  BIDI mode of the port. */
  ULONG     ulPriority;            /*  Currently not used. */
} PRPORTINFO2;

typedef PRPORTINFO2 *PPRPORTINFO2;