Changeset 26
- Timestamp:
- Jul 24, 2015, 4:52:05 AM (10 years ago)
- Location:
- rxutilex/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rxutilex/trunk/rxutilex.c
r25 r26 1587 1587 { 1588 1588 HPIPE hp; 1589 ULONG ulState = 0; 1589 1590 APIRET rc; 1590 1591 … … 1596 1597 if (( sscanf( argv[0].strptr, "%8X", &hp )) != 1 ) return ( 40 ); 1597 1598 1599 // Determine the pipe mode 1600 DosQueryNPHState( hp, &ulState ); 1601 1598 1602 // Connect the pipe 1599 1603 rc = DosConnectNPipe( hp ); 1600 if ( rc != NO_ERROR ) { 1604 1605 // A non-blocking pipe returns ERROR_PIPE_NOT_CONNECTED on success 1606 if ((( ulState & NP_NOWAIT ) && ( rc != ERROR_PIPE_NOT_CONNECTED )) || 1607 ( rc != NO_ERROR )) 1608 { 1601 1609 WriteErrorCode( rc, "DosConnectNPipe"); 1602 1610 MAKERXSTRING( *prsResult, "0", 1 ); -
rxutilex/trunk/rxutilex.def
r25 r26 1 1 LIBRARY RXUTILEX INITINSTANCE TERMINSTANCE 2 2 DATA MULTIPLE NONSHARED 3 DESCRIPTION '@#Alex Taylor:0.1.2#@##1## 1 2 Jul 2015 20:07:59REINFORCE::::::@@Extended REXX Utility Functions'3 DESCRIPTION '@#Alex Taylor:0.1.2#@##1## 15 Jul 2015 00:14:13 REINFORCE::::::@@Extended REXX Utility Functions' 4 4 5 5 EXPORTS Sys2LoadFuncs
Note:
See TracChangeset
for help on using the changeset viewer.