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; /* ..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Information about the current port settings, used by SplQueryPort and SplSetPort.  
Information about the current port settings, used by [[SplQueryPort]] and [[SplSetPort]].


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


Line 15: Line 14:
</PRE>
</PRE>


[[Category:Data type]]
[[Category:PM Data type]]

Latest revision as of 12:20, 21 February 2020

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

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;