S
skri
Guest
Hi All,
I am running code analysis on this following code from visual studio to check the behavior. The _In_ can be used to enforce read only property of the argument so it should show warning when updating the variable. But i couldn't see any warning on visual studio after running code analysis on solution. Anything i am missing in the setup.
NTSTATUS
DriverEntry (
_In_ PDRIVER_OBJECT DriverObject,
_In_ PUNICODE_STRING RegistryPath
)
{
....
DriverObject = NULL;
}
Thanks,
Continue reading...
I am running code analysis on this following code from visual studio to check the behavior. The _In_ can be used to enforce read only property of the argument so it should show warning when updating the variable. But i couldn't see any warning on visual studio after running code analysis on solution. Anything i am missing in the setup.
NTSTATUS
DriverEntry (
_In_ PDRIVER_OBJECT DriverObject,
_In_ PUNICODE_STRING RegistryPath
)
{
....
DriverObject = NULL;
}
Thanks,
Continue reading...