ReactOS 0.4.16-dev-311-g9382aa2
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
83{
84 switch (dwReason)
85 {
87 hDllInstance = hinstDLL;
89 break;
90 }
91
92 return TRUE;
93}
94
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
#define FIXME(fmt,...)
Definition: precomp.h:53
DWORD dwReason
Definition: misc.cpp:141
#define NO_ERROR
Definition: dderror.h:5
#define TRUE
Definition: types.h:120
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
static IN DWORD IN LPVOID lpvReserved
static HANDLE hEvent
Definition: comm.c:54
WORD * PWORD
Definition: pedump.c:67
BYTE * PBYTE
Definition: pedump.c:66
static ULONG Timeout
Definition: ping.c:61
VOID WINAPI RasSecurityDialogComplete(SECURITY_MESSAGE *pSecMsg)
Definition: rasman.c:36
DWORD WINAPI RasSecurityDialogBegin(HPORT hPort, PBYTE pSendBuf, DWORD SendBufSize, PBYTE pRecvBuf, DWORD RecvBufSize, VOID(WINAPI *RasSecurityDialogComplete)(SECURITY_MESSAGE *))
Definition: rasman.c:42
DWORD WINAPI RasSecurityDialogGetInfo(HPORT hPort, RAS_SECURITY_INFO *pBuffer)
Definition: rasman.c:73
DWORD WINAPI RasSecurityDialogReceive(HPORT hPort, PBYTE pBuffer, PWORD pBufferLength, DWORD Timeout, HANDLE hEvent)
Definition: rasman.c:59
BOOL WINAPI DllMain(IN HINSTANCE hinstDLL, IN DWORD dwReason, IN LPVOID lpvReserved)
Definition: rasman.c:80
DWORD WINAPI RasSecurityDialogSend(HPORT hPort, PBYTE pBuffer, WORD BufferLength)
Definition: rasman.c:52
DWORD WINAPI RasSecurityDialogEnd(HPORT hPort)
Definition: rasman.c:66
static HINSTANCE hDllInstance
Definition: rasman.c:31
PVOID pBuffer
#define IN
Definition: typedefs.h:39
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: wdfdevice.h:3771
#define WINAPI
Definition: msvc.h:6