6
0
mirror of https://github.com/JKornev/hidden synced 2024-06-16 12:08:05 +00:00

Comments update

This commit is contained in:
JKornev 2016-12-21 23:44:32 +03:00
parent 79cec65cf2
commit f24aca20ec
2 changed files with 6 additions and 14 deletions

@ -18,8 +18,6 @@ NTSTATUS IrpDeviceCreate(PDEVICE_OBJECT DeviceObject, PIRP Irp)
Irp->IoStatus.Information = 0;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
DbgPrint("FsFilter1!" __FUNCTION__ ": !!!!!\n");
return STATUS_SUCCESS;
}
@ -31,8 +29,6 @@ NTSTATUS IrpDeviceClose(PDEVICE_OBJECT DeviceObject, PIRP Irp)
Irp->IoStatus.Information = 0;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
DbgPrint("FsFilter1!" __FUNCTION__ ": !!!!!\n");
return STATUS_SUCCESS;
}
NTSTATUS IrpDeviceCleanup(PDEVICE_OBJECT DeviceObject, PIRP Irp)
@ -43,8 +39,6 @@ NTSTATUS IrpDeviceCleanup(PDEVICE_OBJECT DeviceObject, PIRP Irp)
Irp->IoStatus.Information = 0;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
DbgPrint("FsFilter1!" __FUNCTION__ ": !!!!!\n");
return STATUS_SUCCESS;
}

@ -14,19 +14,17 @@ BOOLEAN g_regFilterInited = FALSE;
ExcludeContext g_excludeRegKeyContext;
ExcludeContext g_excludeRegValueContext;
// Use this variable for hard code path to registry keys that you would like to hide
// For instance: L"\\REGISTRY\\MACHINE\\SOFTWARE\\test_key",
// Notice: this array should be NULL terminated
CONST PWCHAR g_excludeRegKeys[] = {
// L"\\REGISTRY\\MACHINE\\SOFTWARE\\test",
// L"\\Registry\\MACHINE\\SOFTWARE\\test2",
NULL
};
// Use this variable for hard code path to registry keys that you would like to hide
// For instance: L"\\REGISTRY\\MACHINE\\SOFTWARE\\test_key\\test_value",
// Notice: this array should be NULL terminated
CONST PWCHAR g_excludeRegValues[] = {
// L"\\REGISTRY\\MACHINE\\SOFTWARE\\aaa",
// L"\\Registry\\MACHINE\\SOFTWARE\\xxx",
// L"\\Registry\\MACHINE\\SOFTWARE\\aa",
// L"\\Registry\\MACHINE\\SOFTWARE\\aaa",
// L"\\Registry\\MACHINE\\SOFTWARE\\aaaa",
// L"\\Registry\\MACHINE\\SOFTWARE\\zz",
NULL
};