ReactOS
0.4.16-dev-340-g0540c21
main.c
Go to the documentation of this file.
1
/*
2
* DESCRIPTION: Entry point for TDI.SYS
3
* (c) Captain Obvious
4
*/
5
6
#include "precomp.h"
7
8
extern
LONG
CteTimeIncrement
;
9
10
NTSTATUS
11
NTAPI
12
DriverEntry
(
IN
PDRIVER_OBJECT
DriverObject
,
13
IN
PUNICODE_STRING
RegistryPath
)
14
{
15
/* Initialize the time increment for CTE timers */
16
CteTimeIncrement
=
KeQueryTimeIncrement
();
17
18
return
STATUS_SUCCESS
;
19
}
20
21
/* EOF */
NTSTATUS
LONG NTSTATUS
Definition:
precomp.h:26
DriverEntry
DRIVER_INITIALIZE DriverEntry
Definition:
main.c:9
CteTimeIncrement
LONG CteTimeIncrement
Definition:
timer.c:27
KeQueryTimeIncrement
ULONG NTAPI KeQueryTimeIncrement(VOID)
Definition:
clock.c:153
LONG
long LONG
Definition:
pedump.c:60
STATUS_SUCCESS
#define STATUS_SUCCESS
Definition:
shellext.h:65
_DRIVER_OBJECT
Definition:
iotypes.h:2274
_UNICODE_STRING
Definition:
env_spec_w32.h:368
NTAPI
#define NTAPI
Definition:
typedefs.h:36
IN
#define IN
Definition:
typedefs.h:39
RegistryPath
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
Definition:
wdfdriver.h:215
DriverObject
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
Definition:
wdfdriver.h:213
drivers
network
tdi
misc
main.c
Generated on Fri Dec 13 2024 06:15:19 for ReactOS by
1.9.6