1¾«5!Wllmnno Reference ClosePipe Syntax Pipe ClosePipe(Pipe) Parameter Type/Description Pipe PIPE Specifies a handle to a pipe. Closes the pipe designated by Pipe. Return Value Handle to the closed pipe. No significance. CreatePipe Syntax PIPE CreatePipe(hWnd, lpszPipeName, wStyle, wBufferSize, wNotify); Parameter Type/Description hWnd HWND Identifies the Window who owns the pipe. lpszPipeName LPSTR Name of pipe to be created. (under 16 bytes) wStyle WORD Bitwise ORing of Pipe styles. wBufferSize WORD Size of Pipe buffer, zero for default. wNotify WORD wParam passed to window with a WM_USER message. This function creates a pipe. A buffer is allocated within the DLL and information is stored about the pipe user. Access to the pipe is regulated by wStyle. If wNotify is non-zero this value will be sent to hWnd as wParam in a WM_USER message if wStyle is PIPE_READ or PIPE_WRITE. See Pipe Notification for more details. Return Value A handle to a pipe, or an error. An error is indicated by a number less than zero. OpenPipe Syntax PIPE OpenPipe(hWnd, lpszPipeName, wStyle, wNotify); Parameter Type/Description hWnd HWND Identifies the Window who owns the pipe. lpszPipeName LPSTR Name of pipe to be created. (under 16 bytes) wStyle WORD Bitwise ORing of Pipe styles. wNotify WORD wParam passed to window with a WM_USER message. This function is similar to CreatePipe except that a pipe is not actually created. This function sets the access rights a window has to a previously created pipe. Return Value A handle to the pipe or an error. An error is indicated by a number less than zero. PeekPipe Syntax WORD PeekPipe(lpBuffer, iNum, Pipe); Parameter Type/Description lpBuffer LPSTR A buffer to contain data from pipe. iNum int The number of bytes to copy from pipe Pipe PIPE Valid pipe handle, can be a standard pipe or a pipe handle obtained from an OpenPipe or a CreatePipe. PeekPipe functions and behaves as a Pread except data is not removed from the pipe. Return Value The number of bytes actually copied into the pipe or an error. An error is indicated by a number less than zero. PurgePipe Syntax PurgePipe(Pipe); Parameter Type/Description Pipe PIPE A handle to a valid pipe, can be a standard pipe or a pipe handle obtained from an OpenPipe or a CreatePipe. PurgePipe purges all data in a pipe, resetting internal indexes to zero. Return Value Zero or error. Error is indicated by a number less than zero. QueryPipe Syntax WORD QueryPipe(Pipe); Parameter Type/Description Pipe PIPE A handle to a valid pipe, can be a standard pipe or a pipe handle obtained from an OpenPipe or a CreatePipe. QueryPipe checks the status of Pipe. Return Value The number of bytes in a pipe or error. An error is indicated by a number less than zero. ReleasePipe Syntax WORD ReleasePipe(Pipe); Parameter Type/Description Pipe PIPE A handle to a valid pipe, can be a standard pipe or a pipe handle obtained from an OpenPipe or a CreatePipe. ReleasePipe releases any READ or WRITE ownership on a pipe that a particular window may have. Return Value The original pipe handle or an error. An error is indicated by a number less than zero. Pputc Syntax WORD Pputc(c, Pipe); Parameter Type/Description c char A character byte to be written to a pipe. Pipe PIPE A handle to a valid pipe, can be a standard pipe or a pipe handle obtained from an OpenPipe or a CreatePipe. Pputc puts a single character into a pipe. Return Value The number of bytes written or error. An error is indicated by a number less than zero. Pputs Syntax WORD Pputs(lpszString, Pipe); Parameter Type/Description lpszString LPSTR A null terminated string. Pipe PIPE A handle to a valid pipe, can be a standard pipe or a pipe handle obtained from an OpenPipe or a CreatePipe. Pputs copies the contents of lpszString to the buffer of Pipe, up to but not including the terminating NULL character. Return Value The number of bytes written or error. An error is indicated by a number less than zero. Pgetc Syntax WORD Pgetc(Pipe); Parameter Type/Description Pipe PIPE A handle to a valid pipe, can be a standard pipe or a pipe handle obtained from an OpenPipe or a CreatePipe. Reads and removes a single byte from a pipe. Return Value The character read or an error. An error is indicated by a number less than zero. Pgets Syntax WORD Pgets(lpszString, iNum, Pipe); Parameter Type/Description lpszString LPSTR A buffer to contain data from pipe. iNum int The number of bytes to copy from pipe. Pipe PIPE Valid pipe handle, can be a standard pipe or a pipe handle obtained from an OpenPipe or a CreatePipe. Pgets reads and removes up to iNum bytes from Pipe and copies them into the buffer pointed to by lpszString. The data is capped off with a terminating NULL character. Return Value The number of bytes actually read or an error. An error is indicated by a number less than zero. Pread Syntax Pread(lpBuffer, iNum, Pipe); Parameter Type/Description lpBuffer LPSTR A buffer to contain data from pipe. iNum int The number of bytes to copy from pipe. Pipe PIPE Valid pipe handle, can be a standard pipe or a pipe handle obtained from an OpenPipe or a CreatePipe. Pread reads and removes iNum bytes from Pipe. Return Value The number of bytes actually read or an error. An error is indicated by a number less than zero. Pwrite Syntax WORD Pwrite(lpBuffer,iItemSize, iCount, Pipe); Parameter Type/Description lpBuffer LPSTR A buffer of iCount data objects. iItemSize int The size of objects contained in buffer. iCount int The number of objects in lpBuffer. Pipe PIPE Valid pipe handle, can be a standard pipe or a pipe handle obtained from an OpenPipe or a CreatePipe. Pwrite will write iCount objects of iItemSize to Pipe. Return Value The number of bytes actually written or an error. An error is indicated by a number less than zero. Wgetc Syntax WORD Wgetc(); Wgetc reads and removes one byte from the standard pipe "Stdin." Return Value The character read or an error. An error is indicated by a number less than zero. Wgets Syntax Wgets(lpszString, iNum); Parameter Type/Description lpszString LPSTR A buffer to contain returned string. iNum int The number of bytes to read. Wgets reads and removes iNum characters from the standard pipe "Stdin." Return Value The number of bytes actually read or an error. An error is indicated by a number less than zero. Wputc Syntax WORD Wputc(c); Parameter Type/Description c char The byte to be written. Wputc writes one byte, c, to the standard pipe "Stdout." Return Value The number of bytes actually written or an error. An error is indicated by a number less than zero. Wputs Syntax Wputs(lpszString); Parameter Type/Description lpszString LPSTR The string to be written. Wputs writes a null terminated string, up to but not including the terminating NULL character to the standard pipe "Stdout." Return Value The number of bytes actually written or an error. An error is indicated by a number less than zero. Wprintf Syntax WORD Wprintf(lpszFmt,[argument]...); Parameter Type/Description lpszFmt LPSTR The printf format string. argument One or more optional parameters. See page 4-465 of the Windows SDK reference Volume #1. This function has the same arguments and syntax as "wsprintf," except for lpOutput which in this case is the standard pipe Stdout. Writes a printf format string and following arguments to the standard pipe "Stdout." Return Value The number of bytes written or an error. An error is indicated by a number less than zero. Comments This function uses the Windows function wvsprintf for the string formatting. All limitations that apply to wvsprintf apply to this function also.Furthermore, a temporary buffer is used as storage for the wvsprintf call; its maximum size is 1024 bytes. to but not including the terminating NULL character. Return Value The n€‚ÿÿ�x›u£q¹mØhàdä`\X,T.ÿÿ<P <mwyt�pÇlägìcò_+[1WjSoO�K< �¢wÖsÚo¬k³g·c¾_æ[êW SO4K< 4EwVsWo[kigÁcË`Ó\X'S/O3K< 3nwss­o±kÝgácÃ_Ñ[(W*R,N6K< 6>wds�n�j’fÁbÄ^÷ZûVÅRÓNI J< I T x\ tn p‹ k“ g— cd _r [³ Wµ SÀ PÈ L< È ã w r n j´ f¶ bÄ ^# Z0 W8 SS Op J< p x w| s] ok kÈ gÏ d× `ï \ WSOKK< KOwÍsÏoûkýg ch_o\wX˜TµOÂK< ÂÇwísñoqksgëcí_û[XW_TgP|L< |™v¡r¥nTjVfdb·^»ZÂWÊSñOJ< w sOoRk†gŠc©_·[W$T,PLL< Livurzn©j¬fàbä^VZXV‡R‰N—J< —ýwt p?l\ghcm_�[ WØSÛO K< w¼sÊo3k:hBdS`—\¥XüTQ M< 'wDrQnVj†f‰b÷^ZkVrSzOŠK< Чv¬r³n jf�bˆ_�[¦WÃRÐNÕJ< Õuwƒsêoìkõhýd`\%XBSMORK< RÀwÎs* o6 k5!gýd`\%XBSMORK<€‚tŽq�q›ÿÿ£ÿÿ¹h»]Ø][ÿÿ,R.ÿÿ<ÿÿÐ p`úÐ <irkrmryÿÿ�ÿÿÅiÇiä^\`\�\Ë\\\\ p`úÐÐYr[riÿÿ½i¿gÁgËÿÿÓÿÿ^ S'S_Q£Q p`úÐÐÐ £Òy yyyÁpÃpÑÿÿ&g(g*\,S6ÿÿ>ÿÿÐ p`úÐÐ >dr�g¹eïe2eleneÃ\Å\ÓÿÿE SG SI SÐÐ p`úÐ I T ÿÿ\ ÿÿn r‹ gÏ e e e eb \d \r ÿÿ± S³ SÐÐ p`úÐ ³ µ ÿÿÀ ÿÿÈ ÿÿá rã r gD ey eŒ eŽ e´ \¶ \Ä ÿÿÐÐ p`úÐ Ä  r! r# r0 ÿÿ8 ÿÿQ iS ip ^³ \ç \ú \ü \[ SÐ p`úÐÐ [ ] rk ÿÿÄ iÆ iÈ iÏ ÿÿ× ÿÿí `ï ` UCSˆSºS p`úÐÐÐ ºÍyÏpûpýp ÿÿdgfghgoÿÿwÿÿ–^˜^µS p`úÐÐÐ µåy*y^yqyspëpípûÿÿTgVgXg_ÿÿgÿÿz^|^p`úÐÐÐ|™pÝnn$n&nTeVedÿÿ·\¹ÿÿ»ÿÿÂÿÿÊÿÿz^|^pÐÐ p`ú ÊïrñrgGe~eÃeüeþe§\©\·ÿÿSSz^ÐÐ p`úÐ r$ÿÿ,ÿÿJiLii^¡\Ø\\V\XS‡S‰Sz^Ð p`úÐÐ ‰—ÿÿùrûrýrÿÿ ÿÿ=i?i\^‘\Î\\G\€\‚\Ð p`úÐЂºr¼rÊÿÿ/i1i3i:ÿÿBÿÿQ`S`•`—`¥ÿÿøW‚ÐÐÐÐøúrürÿÿ ÿÿ%i'iD^~\ª\¬\õS÷SÿÿøWÐ p`úÐÐ grirkrrÿÿzÿÿŠi§^Ì\Î\S SÿÿÿÿøWÐ p`úÐÐ }rr�rˆÿÿ�ÿÿ¤i¦iÃ^ó\õ\sSuSƒÿÿøWÐ p`úÐÐ ƒèrêrìÿÿõÿÿýÿÿ#i%iB^p\»\\K\f\h\Ð p`úÐÐh¾rÀrÎÿÿ* i, ÿÿ6 ÿÿ3!`5!`7!`»\\K\f\h\Ð ÐÐÐ fà=Ð/ÿÿ  2À!Ð;ÐÐÈ( µ 6¶ ÿÿÿÿÿkýg ch_o\wX˜TµOÂK<  Tms Rmn Helvksgëcí_û[XW_TgP|L<