ReactOS 0.4.16-dev-122-g325d74c
iprtprio.c File Reference
#include <stdio.h>
#include <windows.h>
#include <tchar.h>
#include <time.h>
#include <iptypes.h>
#include <ipexport.h>
#include "debug.h"
Include dependency graph for iprtprio.c:

Go to the source code of this file.

Classes

struct  tag_somestruct
 

Macros

#define EXPORT   CALLBACK
 

Typedefs

typedef struct tag_somestruct somestruct
 

Functions

BOOL EXPORT DllMain (HANDLE hInstDll, ULONG dwReason, PVOID Reserved)
 
DWORD WINAPI ComputeRouteMetric (IPAddr unknown1, IPMask unknown2, DWORD unknown3, DWORD unknown4)
 
DWORD WINAPI GetPriorityInfo (DWORD unknown)
 
DWORD WINAPI SetPriorityInfo (DWORD unknown)
 

Variables

BOOL Initialised = FALSE
 
CRITICAL_SECTION CriticalSection
 

Macro Definition Documentation

◆ EXPORT

Definition at line 26 of file iprtprio.c.

Typedef Documentation

◆ somestruct

Function Documentation

◆ ComputeRouteMetric()

DWORD WINAPI ComputeRouteMetric ( IPAddr  unknown1,
IPMask  unknown2,
DWORD  unknown3,
DWORD  unknown4 
)

Definition at line 76 of file iprtprio.c.

77{
78 BYTE* buf = NULL;
79
80 buf = HeapAlloc(GetProcessHeap(), 0, sizeof(somestruct));
81 if (buf != NULL) {
83 }
84
87
89 return 0L;
90}
#define UNIMPLEMENTED
Definition: debug.h:118
#define NULL
Definition: types.h:112
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
#define HeapFree(x, y, z)
Definition: compat.h:735
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
CRITICAL_SECTION CriticalSection
Definition: iprtprio.c:40
#define L(x)
Definition: ntvdm.h:50
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
unsigned char BYTE
Definition: xxhash.c:193

◆ DllMain()

BOOL EXPORT DllMain ( HANDLE  hInstDll,
ULONG  dwReason,
PVOID  Reserved 
)

Definition at line 47 of file iprtprio.c.

50{
51 //WSH_DbgPrint(MIN_TRACE, ("DllMain of iprtprio.dll\n"));
52 if (!Initialised) {
54 }
55
56 switch (dwReason) {
58 /* Don't need thread attach notifications so disable them to improve performance */
60 break;
61
63 break;
64
66 break;
67
69 break;
70 }
71 return TRUE;
72}
DWORD dwReason
Definition: misc.cpp:141
#define TRUE
Definition: types.h:120
#define DLL_THREAD_DETACH
Definition: compat.h:133
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define DLL_PROCESS_DETACH
Definition: compat.h:130
#define DLL_THREAD_ATTACH
Definition: compat.h:132
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
BOOL Initialised
Definition: iprtprio.c:39
VOID WINAPI InitializeCriticalSection(OUT LPCRITICAL_SECTION lpCriticalSection)
Definition: synch.c:751

◆ GetPriorityInfo()

DWORD WINAPI GetPriorityInfo ( DWORD  unknown)

Definition at line 95 of file iprtprio.c.

96{
98
101
103 return result;
104}
#define NO_ERROR
Definition: dderror.h:5
unsigned long DWORD
Definition: ntddk_ex.h:95
GLuint64EXT * result
Definition: glext.h:11304

◆ SetPriorityInfo()

DWORD WINAPI SetPriorityInfo ( DWORD  unknown)

Definition at line 108 of file iprtprio.c.

Variable Documentation

◆ CriticalSection

◆ Initialised

BOOL Initialised = FALSE

Definition at line 39 of file iprtprio.c.

Referenced by DllMain().