mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:IOPNP] Both PNP_PROPERTY_REMOVAL_POLICY_OVERRIDE and PNP_PROPERTY_LOCATION_PATHS are unimplemented, return such status.
Fixes CID 1441387: Uninitialized scalar variable (UNINIT), in the case of PNP_PROPERTY_LOCATION_PATHS.
This commit is contained in:
parent
f2645e48b9
commit
4864c874a2
1 changed files with 6 additions and 0 deletions
|
@ -418,6 +418,9 @@ IopGetDeviceProperty(PPLUGPLAY_CONTROL_PROPERTY_DATA PropertyData)
|
|||
}
|
||||
else if (Property == PNP_PROPERTY_REMOVAL_POLICY_OVERRIDE)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
BufferSize = 0;
|
||||
Status = STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
else if (Property == PNP_PROPERTY_REMOVAL_POLICY_HARDWARE_DEFAULT)
|
||||
{
|
||||
|
@ -476,6 +479,9 @@ IopGetDeviceProperty(PPLUGPLAY_CONTROL_PROPERTY_DATA PropertyData)
|
|||
|
||||
#if (WINVER >= _WIN32_WINNT_WS03)
|
||||
case PNP_PROPERTY_LOCATION_PATHS:
|
||||
UNIMPLEMENTED;
|
||||
BufferSize = 0;
|
||||
Status = STATUS_NOT_IMPLEMENTED;
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue