ReactOS  0.4.15-dev-1386-g5cb9f87
traffic_main.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "traffic.h"
#include "wine/debug.h"
Include dependency graph for traffic_main.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (traffic)
 
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 
ULONG WINAPI TcRegisterClient (ULONG version, HANDLE context, PTCI_CLIENT_FUNC_LIST list, PHANDLE buffer)
 
ULONG WINAPI TcDeregisterClient (HANDLE ClientHandle)
 

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hinstDLL,
DWORD  fdwReason,
LPVOID  lpvReserved 
)

Definition at line 29 of file traffic_main.c.

30 {
31  TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
32 
33  switch (fdwReason)
34  {
35  case DLL_WINE_PREATTACH:
36  return FALSE; /* prefer native version */
37  case DLL_PROCESS_ATTACH:
38  DisableThreadLibraryCalls(hinstDLL);
39  break;
40  default:
41  break;
42  }
43 
44  return TRUE;
45 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
static IN DWORD IN LPVOID lpvReserved
#define FALSE
Definition: types.h:117
#define TRACE(s)
Definition: solgame.cpp:4

◆ TcDeregisterClient()

ULONG WINAPI TcDeregisterClient ( HANDLE  ClientHandle)

Definition at line 61 of file traffic_main.c.

62 {
63  FIXME("%p: stub\n", ClientHandle);
65 }
#define FIXME(fmt,...)
Definition: debug.h:111
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102

◆ TcRegisterClient()

ULONG WINAPI TcRegisterClient ( ULONG  version,
HANDLE  context,
PTCI_CLIENT_FUNC_LIST  list,
PHANDLE  buffer 
)

Definition at line 50 of file traffic_main.c.

52 {
53  FIXME("(%u %p %p %p) stub\n", version, context, list, buffer);
56 }
Definition: http.c:7094
#define INVALID_HANDLE_VALUE
Definition: compat.h:590
GLuint buffer
Definition: glext.h:5915
#define FIXME(fmt,...)
Definition: debug.h:111
static const WCHAR version[]
Definition: asmname.c:66
Definition: _list.h:228
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( traffic  )