home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
pascal
/
vdl020d.zip
/
VPIPES.DOC
< prev
next >
Wrap
Text File
|
1993-04-14
|
3KB
|
106 lines
(*
==========================================================================
Visionix Inter-process communication pipes Unit (VPIPES)
Copyright 1991,1992 Visionix
ALL RIGHTS RESERVED
--------------------------------------------------------------------------
Revision history in reverse chronological order:
Initials Date Comment
-------- -------- ------------------------------------------------------
jrt 11/21/92 Sync with beta 0.08
jrt 09/01/92 First logged revision.
--------------------------------------------------------------------------
*)
Unit VPipe;
Uses
VTypes,
VGEN;
{ Library Functions }
Function VPipeInit : TError;
{ This function will initalize the pipe unit. This may involve }
{ installing the pipe manager. }
{ Pipe Creation and Deletion routines }
Function VPipeNew( Mode : WORD;
PipeName : ST80;
PipeProc : Pointer;
PipeProcParam1 : LONGINT;
PipeProcParam2 : LONGINT;
PipeProcPtr1 : Pointer ):THandle;
{ This function will create a new pipe. The program that creates }
{ a pipe is the "server" of the pipe. The caller will specify }
{ a piper "server" procedure that is called whenever system }
{ events (like system shutdown) would effect the pipe, or when a }
{ pipe "client" makes a Read, Write, or signal request to the }
{ pipe. }
Function VPipeDispose( PipeName : ST80 ):TError;
{ This function will dispose of a previously created pipe. }
{
{ Pipe I/O Functions }
Function VPipeExist( PipeName : ST80 ):BOOLEAN;
Function VPipeOpen( Mode : WORD;
PipeName : ST80 ):THandle;
Function VPipeRead( PipeHandle : THandle;
Count : LONGINT;
Buff : Pointer ):TError;
Function VPipeWrite( PipeHandle : THandle;
Count : LONGINT;
Buff : Pointer ):TError;
Function VPipeSignal( PipeHandle : THandle;
Signal : LONGINT ):TError;
Function VPipeClose( PipeHandle : THandle ):THandle;
BEGIN
END.