ReactOS  0.4.14-dev-358-gbef841c
rasman.c
Go to the documentation of this file.
1 /*
2  * RASMAN
3  *
4  * Copyright 2007 ReactOS Team
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20 
21 #define WIN32_NO_STATUS
22 
23 #include <stdarg.h>
24 
25 #include <windef.h>
26 #include <winbase.h>
27 //#include <ras.h>
28 #include <wine/debug.h>
29 #include <rasshost.h>
30 
32 
34 
37 {
38  FIXME("(%p),stub!\n",pSecMsg);
39 }
40 
43  DWORD SendBufSize, PBYTE pRecvBuf, DWORD RecvBufSize,
45 {
46  FIXME("(%p,%p,0x%08x,%p,0x%08x,%p),stub!\n",hPort,pSendBuf,SendBufSize,
47  pRecvBuf,RecvBufSize,*RasSecurityDialogComplete);
48  return NO_ERROR;
49 }
50 
53 {
54  FIXME("(%p,%p,%x),stub!\n",hPort, pBuffer, BufferLength);
55  return NO_ERROR;
56 }
57 
60 {
61  FIXME("(%p,%p,%p,%x,%p),stub!\n",hPort, pBuffer, pBufferLength, Timeout, hEvent);
62  return NO_ERROR;
63 }
64 
67 {
68  FIXME("(%p),stub!\n",hPort);
69  return NO_ERROR;
70 }
71 
74 {
75  FIXME("(%p,%p),stub!\n",hPort,pBuffer);
76  return NO_ERROR;
77 }
78 
80 DllMain(IN HINSTANCE hinstDLL,
83 {
84  switch (dwReason)
85  {
86  case DLL_PROCESS_ATTACH:
87  hDllInstance = hinstDLL;
88  DisableThreadLibraryCalls(hinstDLL);
89  break;
90  }
91 
92  return TRUE;
93 }
94 
#define IN
Definition: typedefs.h:38
#define TRUE
Definition: types.h:120
static HINSTANCE hDllInstance
Definition: rasman.c:31
DWORD WINAPI RasSecurityDialogGetInfo(HPORT hPort, RAS_SECURITY_INFO *pBuffer)
Definition: rasman.c:73
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
DWORD WINAPI RasSecurityDialogReceive(HPORT hPort, PBYTE pBuffer, PWORD pBufferLength, DWORD Timeout, HANDLE hEvent)
Definition: rasman.c:59
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
#define NO_ERROR
Definition: dderror.h:5
static IN DWORD IN LPVOID lpvReserved
static HANDLE hEvent
Definition: comm.c:54
DWORD dwReason
Definition: misc.cpp:154
unsigned int BOOL
Definition: ntddk_ex.h:94
_In_ ULONG BufferLength
Definition: usbdlib.h:225
DWORD WINAPI RasSecurityDialogBegin(HPORT hPort, PBYTE pSendBuf, DWORD SendBufSize, PBYTE pRecvBuf, DWORD RecvBufSize, VOID(WINAPI *RasSecurityDialogComplete)(SECURITY_MESSAGE *))
Definition: rasman.c:42
#define FIXME(fmt,...)
Definition: debug.h:110
PVOID pBuffer
WORD * PWORD
Definition: pedump.c:67
#define WINAPI
Definition: msvc.h:8
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
static ULONG Timeout
Definition: ping.c:61
WINE_DEFAULT_DEBUG_CHANNEL(rasman)
DWORD WINAPI RasSecurityDialogSend(HPORT hPort, PBYTE pBuffer, WORD BufferLength)
Definition: rasman.c:52
BOOL WINAPI DllMain(IN HINSTANCE hinstDLL, IN DWORD dwReason, IN LPVOID lpvReserved)
Definition: rasman.c:80
BYTE * PBYTE
Definition: pedump.c:66
DWORD WINAPI RasSecurityDialogEnd(HPORT hPort)
Definition: rasman.c:66
VOID WINAPI RasSecurityDialogComplete(SECURITY_MESSAGE *pSecMsg)
Definition: rasman.c:36