1 | /*
|
---|
2 | *
|
---|
3 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
4 | *
|
---|
5 | */
|
---|
6 | /*
|
---|
7 | * Win32 Named pipes API stub functions
|
---|
8 | *
|
---|
9 | * Copyright 1998 Sander van Leeuwen
|
---|
10 | *
|
---|
11 | */
|
---|
12 | #include <os2win.h>
|
---|
13 |
|
---|
14 | //TODO: Not done!!
|
---|
15 |
|
---|
16 | //******************************************************************************
|
---|
17 | //******************************************************************************
|
---|
18 | BOOL WIN32API PeekNamedPipe(HANDLE hPipe, LPVOID lpvBuffer, DWORD cbBuffer,
|
---|
19 | LPDWORD lpcbRead, LPDWORD lpcbAvail, LPDWORD lpcbMessage)
|
---|
20 | {
|
---|
21 | dprintf(("PeekNamedPipe Not Implemented!\n"));
|
---|
22 | return(FALSE);
|
---|
23 | }
|
---|
24 | //******************************************************************************
|
---|
25 | //LPSECURITY_ATTRIBUTES lpsa; /* address of security attributes */
|
---|
26 | //******************************************************************************
|
---|
27 | BOOL WIN32API CreatePipe(PHANDLE phRead, PHANDLE phWrite, LPSECURITY_ATTRIBUTES lpsa, DWORD cbPipe)
|
---|
28 | {
|
---|
29 | dprintf(("CreatePipe Not Implemented!\n"));
|
---|
30 | return(FALSE);
|
---|
31 | }
|
---|
32 | //******************************************************************************
|
---|
33 | //******************************************************************************
|
---|
34 | HANDLE WIN32API CreateNamedPipeA(LPCTSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode,
|
---|
35 | DWORD nMaxInstances, DWORD nOutBufferSize,
|
---|
36 | DWORD nInBufferSize, DWORD nDefaultTimeOut,
|
---|
37 | void *lpSecurityAttributes)
|
---|
38 | {
|
---|
39 | dprintf(("CreateNamedPipe Not Implemented!\n"));
|
---|
40 | return(0);
|
---|
41 | }
|
---|
42 | //******************************************************************************
|
---|
43 | //******************************************************************************
|
---|
44 | HANDLE WIN32API CreateNamedPipeW(LPCWSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode,
|
---|
45 | DWORD nMaxInstances, DWORD nOutBufferSize,
|
---|
46 | DWORD nInBufferSize, DWORD nDefaultTimeOut,
|
---|
47 | void *lpSecurityAttributes)
|
---|
48 | {
|
---|
49 | dprintf(("CreateNamedPipe Not Implemented!\n"));
|
---|
50 | return(0);
|
---|
51 | }
|
---|
52 | //******************************************************************************
|
---|
53 | //******************************************************************************
|
---|