Ignore:
Timestamp:
Jul 12, 2000, 8:21:45 PM (25 years ago)
Author:
sandervl
Message:

PD: added handlemanager support for named & unnamed pipes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/HandleManager.h

    r3640 r3819  
    1 /* $Id: HandleManager.h,v 1.20 2000-06-01 11:26:14 sandervl Exp $ */
     1/* $Id: HandleManager.h,v 1.21 2000-07-12 18:20:43 sandervl Exp $ */
    22
    33/*
     
    382382BOOL   HMGetExitCodeThread(HANDLE hThread, LPDWORD lpExitCode);
    383383BOOL   HMSetThreadTerminated(HANDLE hThread);
     384BOOL   HMPeekNamedPipe(HANDLE pHMHandleData,
     385                       LPVOID lpvBuffer,
     386                       DWORD   cbBuffer,
     387                       LPDWORD lpcbRead,
     388                       LPDWORD lpcbAvail,
     389                       LPDWORD lpcbMessage);
     390
     391DWORD HMCreateNamedPipe(LPCTSTR lpName,
     392                      DWORD   dwOpenMode,
     393                      DWORD   dwPipeMode,
     394                      DWORD   nMaxInstances,
     395                      DWORD   nOutBufferSize,
     396                      DWORD   nInBufferSize,
     397                      DWORD   nDefaultTimeOut,
     398                      LPSECURITY_ATTRIBUTES lpSecurityAttributes);
     399
     400BOOL HMConnectNamedPipe(HANDLE hPipe, LPOVERLAPPED lpOverlapped);
     401
     402BOOL HMDisconnectNamedPipe(HANDLE hPipe);
     403
     404BOOL HMGetNamedPipeHandleState(HANDLE hPipe,
     405                               LPDWORD lpState,
     406                               LPDWORD lpCurInstances,
     407                               LPDWORD lpMaxCollectionCount,
     408                               LPDWORD lpCollectDataTimeout,
     409                               LPTSTR  lpUserName,
     410                               DWORD   nMaxUserNameSize);
     411
     412BOOL HMGetNamedPipeInfo(HANDLE hPipe,
     413                        LPDWORD lpFlags,
     414                        LPDWORD lpOutBufferSize,
     415                        LPDWORD lpInBufferSize,
     416                        LPDWORD lpMaxInstances);
     417
     418
     419DWORD HMTransactNamedPipe(HANDLE hPipe,
     420                          LPVOID lpvWriteBuf,
     421                          DWORD cbWriteBuf,
     422                          LPVOID lpvReadBuf,
     423                          DWORD cbReadBuf,
     424                          LPDWORD lpcbRead,
     425                          LPOVERLAPPED lpo);
     426
     427
     428BOOL   HMPeekNamedPipe(HANDLE hPipe,
     429                       LPVOID  lpvBuffer,
     430                       DWORD   cbBuffer,
     431                       LPDWORD lpcbRead,
     432                       LPDWORD lpcbAvail,
     433                       LPDWORD lpcbMessage);
     434
     435DWORD HMCreateNamedPipe(LPCTSTR lpName,
     436                      DWORD   dwOpenMode,
     437                      DWORD   dwPipeMode,
     438                      DWORD   nMaxInstances,
     439                      DWORD   nOutBufferSize,
     440                      DWORD   nInBufferSize,
     441                      DWORD   nDefaultTimeOut,
     442                      void*  lpSecurityAttributes);
     443
     444BOOL HMConnectNamedPipe(HANDLE hPipe, LPOVERLAPPED lpOverlapped);
     445
     446BOOL HMDisconnectNamedPipe(HANDLE hPipe);
     447
     448BOOL HMGetNamedPipeHandleState(HANDLE hPipe,
     449                               LPDWORD lpState,
     450                               LPDWORD lpCurInstances,
     451                               LPDWORD lpMaxCollectionCount,
     452                               LPDWORD lpCollectDataTimeout,
     453                               LPTSTR  lpUserName,
     454                               DWORD   nMaxUserNameSize);
     455
     456BOOL HMGetNamedPipeInfo(HANDLE hPipe,
     457                        LPDWORD lpFlags,
     458                        LPDWORD lpOutBufferSize,
     459                        LPDWORD lpInBufferSize,
     460                        LPDWORD lpMaxInstances);
     461
     462DWORD HMTransactNamedPipe(HANDLE hPipe,
     463                          LPVOID       lpvWriteBuf,
     464                          DWORD        cbWriteBuf,
     465                          LPVOID       lpvReadBuf,
     466                          DWORD        cbReadBuf,
     467                          LPDWORD      lpcbRead,
     468                          LPOVERLAPPED lpo);
     469
     470BOOL HMSetNamedPipeHandleState(HANDLE  hNamedPipe,
     471                               LPDWORD lpdwMode,
     472                               LPDWORD lpcbMaxCollect,
     473                               LPDWORD lpdwCollectDataTimeout);
     474
     475BOOL HMCreatePipe(PHANDLE phRead,
     476                PHANDLE phWrite,
     477                LPSECURITY_ATTRIBUTES lpsa,
     478                DWORD                 cbPipe);
    384479
    385480#ifdef __cplusplus__
Note: See TracChangeset for help on using the changeset viewer.