Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
930 B

/*++
Copyright (c) 2000 Microsoft Corporation
Module Name :
main.cpp
Abstract:
Driver entrypoints for LKRhash: a fast, scalable,
cache- and MP-friendly hash table
Author:
George V. Reilly (GeorgeRe) 25-Oct-2000
Environment:
Win32 - Kernel Mode
Project:
Internet Information Server Http.sys
Revision History:
--*/
#include "precomp.hxx"
ULONG __Pool_Tag__ = 'RKLk'; // default memory tag
extern "C"
VOID
LkrUnload(
IN PDRIVER_OBJECT DriverObject);
extern "C"
NTSTATUS
DriverEntry(
IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegistryPath
)
{
// TODO: other driver initialization
DriverObject->DriverUnload = &LkrUnload;
if (!LKR_Initialize(LK_INIT_DEFAULT))
return STATUS_UNSUCCESSFUL;
return STATUS_SUCCESS;
}
VOID
LkrUnload(
IN PDRIVER_OBJECT DriverObject)
{
LKR_Terminate();
}