N
NathanMAd
Guest
Hi,
I have created own create & close dispatcher and added only logging the FILE object information. Logs shows always
filename as null and length is 0. Please help me how to logs the FILE object information.
Logging code in SYSVAD:
_DbgPrintF("FileName:%wZ FileNameLength:%d \n", irpStack->FileObject->FileName.Buffer, irpStack->FileObject->FileName.Length);
Application code:
hDev = CreateFile(
DevicePath,
GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
0,
NULL
);
Continue reading...
I have created own create & close dispatcher and added only logging the FILE object information. Logs shows always
filename as null and length is 0. Please help me how to logs the FILE object information.
Logging code in SYSVAD:
_DbgPrintF("FileName:%wZ FileNameLength:%d \n", irpStack->FileObject->FileName.Buffer, irpStack->FileObject->FileName.Length);
Application code:
hDev = CreateFile(
DevicePath,
GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
0,
NULL
);
Continue reading...