Ignore:
Timestamp:
Apr 26, 2001, 3:27:59 PM (24 years ago)
Author:
sandervl
Message:

header update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/winbase.h

    r5394 r5590  
    548548} MEMORYSTATUS, *LPMEMORYSTATUS;
    549549
     550
     551//
     552// Define the NamedPipe definitions
     553//
     554
     555
     556//
     557// Define the dwOpenMode values for CreateNamedPipe
     558//
     559
     560#define PIPE_ACCESS_INBOUND         0x00000001
     561#define PIPE_ACCESS_OUTBOUND        0x00000002
     562#define PIPE_ACCESS_DUPLEX          0x00000003
     563
     564//
     565// Define the Named Pipe End flags for GetNamedPipeInfo
     566//
     567
     568#define PIPE_CLIENT_END             0x00000000
     569#define PIPE_SERVER_END             0x00000001
     570
     571//
     572// Define the dwPipeMode values for CreateNamedPipe
     573//
     574
     575#define PIPE_WAIT                   0x00000000
     576#define PIPE_NOWAIT                 0x00000001
     577#define PIPE_READMODE_BYTE          0x00000000
     578#define PIPE_READMODE_MESSAGE       0x00000002
     579#define PIPE_TYPE_BYTE              0x00000000
     580#define PIPE_TYPE_MESSAGE           0x00000004
     581
     582//
     583// Define the well known values for CreateNamedPipe nMaxInstances
     584//
     585
     586#define PIPE_UNLIMITED_INSTANCES    255
    550587
    551588#ifndef NOLOGERROR
     
    17491786#define     WriteConsole WINELIB_NAME_AW(WriteConsole)
    17501787BOOL      WINAPI WriteFile(HANDLE,LPCVOID,DWORD,LPDWORD,LPOVERLAPPED);
    1751 BOOL      WINAPI WriteeFileEx(HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite,
    1752                               LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
     1788BOOL      WINAPI WriteFileEx(HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite,
     1789                             LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
    17531790DWORD       WINAPI GetLastError(void);
    17541791LANGID      WINAPI GetSystemDefaultLangID(void);
     
    22712308
    22722309
     2310HANDLE WINAPI CreateNamedPipeA(LPCSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode,
     2311                               DWORD nMaxInstances, DWORD nOutBufferSize,
     2312                               DWORD nInBufferSize, DWORD nDefaultTimeOut,
     2313                               LPSECURITY_ATTRIBUTES lpSecurityAttributes);
     2314HANDLE WINAPI CreateNamedPipeW(LPCWSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode,
     2315                               DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize,
     2316                               DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
     2317#define     CreateNamedPipe WINELIB_NAME_AW(CreateNamedPipe)
     2318
     2319BOOL WINAPI GetNamedPipeHandleStateA(HANDLE hNamedPipe, LPDWORD lpState,
     2320                                     LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount,
     2321                                     LPDWORD lpCollectDataTimeout, LPSTR lpUserName,
     2322                                     DWORD nMaxUserNameSize);
     2323BOOL WINAPI GetNamedPipeHandleStateW(HANDLE hNamedPipe,LPDWORD lpState, LPDWORD lpCurInstances,
     2324                                     LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout,
     2325                                     LPWSTR lpUserName, DWORD nMaxUserNameSize);
     2326#define     GetNamedPipeHandleState WINELIB_NAME_AW(GetNamedPipeHandleState)
     2327
     2328BOOL WINAPI CallNamedPipeA(LPCSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize,
     2329                           LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead,
     2330                           DWORD nTimeOut);
     2331BOOL WINAPI CallNamedPipeW(LPCWSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize,
     2332                           LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead,
     2333                           DWORD nTimeOut);
     2334#define     CallNamedPipe WINELIB_NAME_AW(CallNamedPipe)
     2335
     2336
     2337BOOL WINAPI WaitNamedPipeA(LPCSTR lpNamedPipeName, DWORD nTimeOut);
     2338BOOL WINAPI WaitNamedPipeW(LPCWSTR lpNamedPipeName, DWORD nTimeOut);
     2339
     2340#define     WaitNamedPipe WINELIB_NAME_AW(WaitNamedPipe)
     2341
     2342BOOL WINAPI CreatePipe(PHANDLE hReadPipe, PHANDLE hWritePipe, LPSECURITY_ATTRIBUTES lpPipeAttributes,
     2343                       DWORD nSize);
     2344BOOL WINAPI ConnectNamedPipe(HANDLE hNamedPipe, LPOVERLAPPED lpOverlapped);
     2345BOOL WINAPI DisconnectNamedPipe(HANDLE hNamedPipe);
     2346BOOL WINAPI SetNamedPipeHandleState(HANDLE hNamedPipe, LPDWORD lpMode,
     2347                                    LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout);
     2348BOOL WINAPI GetNamedPipeInfo(HANDLE hNamedPipe, LPDWORD lpFlags, LPDWORD lpOutBufferSize,
     2349                             LPDWORD lpInBufferSize, LPDWORD lpMaxInstances);
     2350BOOL WINAPI PeekNamedPipe(HANDLE hNamedPipe, LPVOID lpBuffer, DWORD nBufferSize,
     2351                          LPDWORD lpBytesRead, LPDWORD lpTotalBytesAvail,
     2352                          LPDWORD lpBytesLeftThisMessage);
     2353BOOL WINAPI TransactNamedPipe(HANDLE hNamedPipe, LPVOID lpInBuffer, DWORD nInBufferSize,
     2354                              LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead,
     2355                              LPOVERLAPPED lpOverlapped);
     2356
     2357HANDLE WINAPI CreateMailslotA(LPCSTR lpName, DWORD nMaxMessageSize, DWORD lReadTimeout,
     2358                              LPSECURITY_ATTRIBUTES lpSecurityAttributes);
     2359HANDLE WINAPI CreateMailslotW(LPCWSTR lpName, DWORD nMaxMessageSize, DWORD lReadTimeout,
     2360                              LPSECURITY_ATTRIBUTES lpSecurityAttributes);
     2361#define     CreateMailslot WINELIB_NAME_AW(WaitNamedPipe)
     2362
     2363BOOL WINAPI GetMailslotInfo(HANDLE hMailslot, LPDWORD lpMaxMessageSize,
     2364                            LPDWORD lpNextSize, LPDWORD lpMessageCount,
     2365                            LPDWORD lpReadTimeout);
     2366
     2367BOOL WINAPI SetMailslotInfo(HANDLE hMailslot, DWORD lReadTimeout);
     2368
    22732369/* undocumented functions */
    22742370
Note: See TracChangeset for help on using the changeset viewer.