ReactOS  0.4.15-dev-509-g96a357b
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  {
86  case DLL_PROCESS_ATTACH:
87  hDllInstance = hinstDLL;
88  DisableThreadLibraryCalls(hinstDLL);
89  break;
90  }
91 
92  return TRUE;
93 }
#define TRUE
Definition: types.h:120
static HINSTANCE hDllInstance
Definition: rasman.c:31
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
DWORD dwReason
Definition: misc.cpp:154

◆ 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 NO_ERROR
Definition: dderror.h:5
#define FIXME(fmt,...)
Definition: debug.h:111
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 }
#define FIXME(fmt,...)
Definition: debug.h:111

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 }
#define NO_ERROR
Definition: dderror.h:5
#define FIXME(fmt,...)
Definition: debug.h:111

◆ 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 }
#define NO_ERROR
Definition: dderror.h:5
#define FIXME(fmt,...)
Definition: debug.h:111
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 }
#define NO_ERROR
Definition: dderror.h:5
static HANDLE hEvent
Definition: comm.c:54
#define FIXME(fmt,...)
Definition: debug.h:111
PVOID pBuffer
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 }
#define NO_ERROR
Definition: dderror.h:5
_In_ ULONG BufferLength
Definition: usbdlib.h:225
#define FIXME(fmt,...)
Definition: debug.h:111
PVOID pBuffer

◆ 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().