ReactOS 0.4.15-dev-7942-gd23573b
rasman.c File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wine/debug.h>
#include <rasshost.h>
Include dependency graph for rasman.c:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (rasman)
 
VOID WINAPI RasSecurityDialogComplete (SECURITY_MESSAGE *pSecMsg)
 
DWORD WINAPI RasSecurityDialogBegin (HPORT hPort, PBYTE pSendBuf, DWORD SendBufSize, PBYTE pRecvBuf, DWORD RecvBufSize, VOID(WINAPI *RasSecurityDialogComplete)(SECURITY_MESSAGE *))
 
DWORD WINAPI RasSecurityDialogSend (HPORT hPort, PBYTE pBuffer, WORD BufferLength)
 
DWORD WINAPI RasSecurityDialogReceive (HPORT hPort, PBYTE pBuffer, PWORD pBufferLength, DWORD Timeout, HANDLE hEvent)
 
DWORD WINAPI RasSecurityDialogEnd (HPORT hPort)
 
DWORD WINAPI RasSecurityDialogGetInfo (HPORT hPort, RAS_SECURITY_INFO *pBuffer)
 
BOOL WINAPI DllMain (IN HINSTANCE hinstDLL, IN DWORD dwReason, IN LPVOID lpvReserved)
 

Variables

static HINSTANCE hDllInstance
 

Macro Definition Documentation

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 21 of file rasman.c.

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( IN HINSTANCE  hinstDLL,
IN DWORD  dwReason,
IN LPVOID  lpvReserved 
)

@DllMain

Core routine of the Utility Manager's library.

Parameters
[in]hDllInstanceThe entry point instance of the library.
[in]fdwReasonThe reason argument to indicate the motive DllMain is being called.
[in]lpvReservedReserved.
Returns
Returns TRUE when main call initialization has succeeded, FALSE otherwise.

Definition at line 80 of file rasman.c.

83{
84 switch (dwReason)
85 {
87 hDllInstance = hinstDLL;
89 break;
90 }
91
92 return TRUE;
93}
DWORD dwReason
Definition: misc.cpp:154
#define TRUE
Definition: types.h:120
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
static HINSTANCE hDllInstance
Definition: rasman.c:31

◆ RasSecurityDialogBegin()

DWORD WINAPI RasSecurityDialogBegin ( HPORT  hPort,
PBYTE  pSendBuf,
DWORD  SendBufSize,
PBYTE  pRecvBuf,
DWORD  RecvBufSize,
VOID(WINAPI *RasSecurityDialogComplete)(SECURITY_MESSAGE *)   
)

Definition at line 42 of file rasman.c.

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}
#define FIXME(fmt,...)
Definition: debug.h:111
#define NO_ERROR
Definition: dderror.h:5
VOID WINAPI RasSecurityDialogComplete(SECURITY_MESSAGE *pSecMsg)
Definition: rasman.c:36

◆ RasSecurityDialogComplete()

VOID WINAPI RasSecurityDialogComplete ( SECURITY_MESSAGE pSecMsg)

Definition at line 36 of file rasman.c.

37{
38 FIXME("(%p),stub!\n",pSecMsg);
39}

Referenced by RasSecurityDialogBegin().

◆ RasSecurityDialogEnd()

DWORD WINAPI RasSecurityDialogEnd ( HPORT  hPort)

Definition at line 66 of file rasman.c.

67{
68 FIXME("(%p),stub!\n",hPort);
69 return NO_ERROR;
70}

◆ RasSecurityDialogGetInfo()

DWORD WINAPI RasSecurityDialogGetInfo ( HPORT  hPort,
RAS_SECURITY_INFO pBuffer 
)

Definition at line 73 of file rasman.c.

74{
75 FIXME("(%p,%p),stub!\n",hPort,pBuffer);
76 return NO_ERROR;
77}
PVOID pBuffer

◆ RasSecurityDialogReceive()

DWORD WINAPI RasSecurityDialogReceive ( HPORT  hPort,
PBYTE  pBuffer,
PWORD  pBufferLength,
DWORD  Timeout,
HANDLE  hEvent 
)

Definition at line 59 of file rasman.c.

60{
61 FIXME("(%p,%p,%p,%x,%p),stub!\n",hPort, pBuffer, pBufferLength, Timeout, hEvent);
62 return NO_ERROR;
63}
static HANDLE hEvent
Definition: comm.c:54
static ULONG Timeout
Definition: ping.c:61

◆ RasSecurityDialogSend()

DWORD WINAPI RasSecurityDialogSend ( HPORT  hPort,
PBYTE  pBuffer,
WORD  BufferLength 
)

Definition at line 52 of file rasman.c.

53{
54 FIXME("(%p,%p,%x),stub!\n",hPort, pBuffer, BufferLength);
55 return NO_ERROR;
56}
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: wdfdevice.h:3771

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( rasman  )

Variable Documentation

◆ hDllInstance

HINSTANCE hDllInstance
static

Definition at line 31 of file rasman.c.

Referenced by DllMain().