mirror of
https://github.com/JKornev/hidden
synced 2024-06-28 18:02:15 +00:00
Comments update
This commit is contained in:
parent
79cec65cf2
commit
f24aca20ec
@ -18,8 +18,6 @@ NTSTATUS IrpDeviceCreate(PDEVICE_OBJECT DeviceObject, PIRP Irp)
|
|||||||
Irp->IoStatus.Information = 0;
|
Irp->IoStatus.Information = 0;
|
||||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||||
|
|
||||||
DbgPrint("FsFilter1!" __FUNCTION__ ": !!!!!\n");
|
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,8 +29,6 @@ NTSTATUS IrpDeviceClose(PDEVICE_OBJECT DeviceObject, PIRP Irp)
|
|||||||
Irp->IoStatus.Information = 0;
|
Irp->IoStatus.Information = 0;
|
||||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||||
|
|
||||||
DbgPrint("FsFilter1!" __FUNCTION__ ": !!!!!\n");
|
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
NTSTATUS IrpDeviceCleanup(PDEVICE_OBJECT DeviceObject, PIRP Irp)
|
NTSTATUS IrpDeviceCleanup(PDEVICE_OBJECT DeviceObject, PIRP Irp)
|
||||||
@ -43,8 +39,6 @@ NTSTATUS IrpDeviceCleanup(PDEVICE_OBJECT DeviceObject, PIRP Irp)
|
|||||||
Irp->IoStatus.Information = 0;
|
Irp->IoStatus.Information = 0;
|
||||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||||
|
|
||||||
DbgPrint("FsFilter1!" __FUNCTION__ ": !!!!!\n");
|
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,19 +14,17 @@ BOOLEAN g_regFilterInited = FALSE;
|
|||||||
ExcludeContext g_excludeRegKeyContext;
|
ExcludeContext g_excludeRegKeyContext;
|
||||||
ExcludeContext g_excludeRegValueContext;
|
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[] = {
|
CONST PWCHAR g_excludeRegKeys[] = {
|
||||||
// L"\\REGISTRY\\MACHINE\\SOFTWARE\\test",
|
|
||||||
// L"\\Registry\\MACHINE\\SOFTWARE\\test2",
|
|
||||||
NULL
|
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[] = {
|
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
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user