Skip to main content
Rail Report Functions
Contents
Rail Report Functions
HRESULT _PCRSFN PCRSGetRpt (Trip trip, char *rptType, char *buffer, int bufSize, int *pBuflen)
- rptType:
K
, D
, or G
(Key Station, Detailed Route, or Detailed Geocode)
- buffer: Character buffer into which the message (report body) will be placed
- bufSize: Maximum number of bytes that can be copied into
buffer
- pBufLen: Actual number of bytes copied to
buffer
HRESULT _PCRSFN PCRSGetRptLine (Trip trip, char *rptType, int rowNum, char *buffer, int bufSize, int *pBuflen)
- rptType:
K
, D
, or G
(Key Station, Detailed Route, or Detailed Geocode)
- rowNum: Desired report line (row) number (indexed from 0)
- buffer: Character buffer into which the message (report body) will be placed
- bufSize: Maximum number of bytes that can be copied into
buffer
- pBufLen: Actual number of bytes copied to
buffer
HRESULT _PCRSFN PCRSGetNumRptLines(Trip trip, char *rptType, int *numLines)
- rptType:
K
, D
, or G
(Key Station, Detailed Route, or Detailed Geocode)
- numLines: Pointer into which the total number of lines in the report will be placed
HRESULT _PCRSFN PCRSGetRptLength (Trip trip, char *rptType, long *rptLen)
- rptType:
K
, D
, or G
(Key Station, Detailed Route, or Detailed Geocode)
- rptLen: Pointer into which the total number of bytes in the report body will be placed
AutoRouter Reports
HRESULT _PCRSFN PCRSGetARRpt (Trip trip, int which, char *rptType, char *buffer, int bufSize, int *pBuflen)
- which: Index of desired AutoRouter route (indexed from 0)
- rptType:
K
, D
, or G
(Key Station, Detailed Route, or Detailed Geocode)
- buffer: Character buffer into which the message (report body) will be placed
- bufSize: Maximum number of bytes that can be copied into
buffer
- pBufLen: Actual number of bytes copied to
buffer
HRESULT _PCRSFN PCRSGetARRptLine (Trip trip, int which, char *rptType, int rowNum, char *buffer, int bufSize, int *pBuflen)
- which: Index of desired AutoRouter route (indexed from 0)
- rptType:
K
, D
, or G
(Key Station, Detailed Route, or Detailed Geocode)
- rowNum: Desired report line (row) number (indexed from 0)
- buffer: Character buffer into which the message (report body) will be placed
- bufSize: Maximum number of bytes that can be copied into
buffer
- pBufLen: Actual number of bytes copied to
buffer
HRESULT _PCRSFN PCRSARGetRptLength (Trip trip, int which, char *rptType, long *rptLen)
- which: Index of desired AutoRouter route (indexed from 0)
- rptType:
K
, D
, or G
(Key Station, Detailed Route, or Detailed Geocode)
- rptLen: Pointer into which the total number of bytes in the report body will be placed
HRESULT _PCRSFN PCRSGetARNumRptLines(Trip trip, int which, char *rptType, int *numLines)
- which: Index of desired AutoRouter route (indexed from 0)
- rptType:
K
, D
, or G
(Key Station, Detailed Route, or Detailed Geocode)
- numLines: Pointer into which the total number of lines in the report will be placed