Changeset 5590 for trunk/include/win/winbase.h
- Timestamp:
- Apr 26, 2001, 3:27:59 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/winbase.h
r5394 r5590 548 548 } MEMORYSTATUS, *LPMEMORYSTATUS; 549 549 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 550 587 551 588 #ifndef NOLOGERROR … … 1749 1786 #define WriteConsole WINELIB_NAME_AW(WriteConsole) 1750 1787 BOOL WINAPI WriteFile(HANDLE,LPCVOID,DWORD,LPDWORD,LPOVERLAPPED); 1751 BOOL WINAPI Write eFileEx(HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite,1752 1788 BOOL WINAPI WriteFileEx(HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, 1789 LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine); 1753 1790 DWORD WINAPI GetLastError(void); 1754 1791 LANGID WINAPI GetSystemDefaultLangID(void); … … 2271 2308 2272 2309 2310 HANDLE WINAPI CreateNamedPipeA(LPCSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, 2311 DWORD nMaxInstances, DWORD nOutBufferSize, 2312 DWORD nInBufferSize, DWORD nDefaultTimeOut, 2313 LPSECURITY_ATTRIBUTES lpSecurityAttributes); 2314 HANDLE 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 2319 BOOL WINAPI GetNamedPipeHandleStateA(HANDLE hNamedPipe, LPDWORD lpState, 2320 LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, 2321 LPDWORD lpCollectDataTimeout, LPSTR lpUserName, 2322 DWORD nMaxUserNameSize); 2323 BOOL 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 2328 BOOL WINAPI CallNamedPipeA(LPCSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, 2329 LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, 2330 DWORD nTimeOut); 2331 BOOL 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 2337 BOOL WINAPI WaitNamedPipeA(LPCSTR lpNamedPipeName, DWORD nTimeOut); 2338 BOOL WINAPI WaitNamedPipeW(LPCWSTR lpNamedPipeName, DWORD nTimeOut); 2339 2340 #define WaitNamedPipe WINELIB_NAME_AW(WaitNamedPipe) 2341 2342 BOOL WINAPI CreatePipe(PHANDLE hReadPipe, PHANDLE hWritePipe, LPSECURITY_ATTRIBUTES lpPipeAttributes, 2343 DWORD nSize); 2344 BOOL WINAPI ConnectNamedPipe(HANDLE hNamedPipe, LPOVERLAPPED lpOverlapped); 2345 BOOL WINAPI DisconnectNamedPipe(HANDLE hNamedPipe); 2346 BOOL WINAPI SetNamedPipeHandleState(HANDLE hNamedPipe, LPDWORD lpMode, 2347 LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout); 2348 BOOL WINAPI GetNamedPipeInfo(HANDLE hNamedPipe, LPDWORD lpFlags, LPDWORD lpOutBufferSize, 2349 LPDWORD lpInBufferSize, LPDWORD lpMaxInstances); 2350 BOOL WINAPI PeekNamedPipe(HANDLE hNamedPipe, LPVOID lpBuffer, DWORD nBufferSize, 2351 LPDWORD lpBytesRead, LPDWORD lpTotalBytesAvail, 2352 LPDWORD lpBytesLeftThisMessage); 2353 BOOL WINAPI TransactNamedPipe(HANDLE hNamedPipe, LPVOID lpInBuffer, DWORD nInBufferSize, 2354 LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, 2355 LPOVERLAPPED lpOverlapped); 2356 2357 HANDLE WINAPI CreateMailslotA(LPCSTR lpName, DWORD nMaxMessageSize, DWORD lReadTimeout, 2358 LPSECURITY_ATTRIBUTES lpSecurityAttributes); 2359 HANDLE WINAPI CreateMailslotW(LPCWSTR lpName, DWORD nMaxMessageSize, DWORD lReadTimeout, 2360 LPSECURITY_ATTRIBUTES lpSecurityAttributes); 2361 #define CreateMailslot WINELIB_NAME_AW(WaitNamedPipe) 2362 2363 BOOL WINAPI GetMailslotInfo(HANDLE hMailslot, LPDWORD lpMaxMessageSize, 2364 LPDWORD lpNextSize, LPDWORD lpMessageCount, 2365 LPDWORD lpReadTimeout); 2366 2367 BOOL WINAPI SetMailslotInfo(HANDLE hMailslot, DWORD lReadTimeout); 2368 2273 2369 /* undocumented functions */ 2274 2370
Note:
See TracChangeset
for help on using the changeset viewer.