mirror of
https://github.com/reactos/reactos.git
synced 2025-06-08 10:50:28 +00:00
[UMPNPMGR] Fix indentation and improve debug messages
This commit is contained in:
parent
3909ebcf35
commit
db02f87d7b
1 changed files with 12 additions and 9 deletions
|
@ -2304,6 +2304,9 @@ PNP_GetInterfaceDeviceList(
|
||||||
|
|
||||||
UNREFERENCED_PARAMETER(hBinding);
|
UNREFERENCED_PARAMETER(hBinding);
|
||||||
|
|
||||||
|
DPRINT("PNP_GetInterfaceDeviceList(%p %p %S %p %p 0x%08lx)\n",
|
||||||
|
hBinding, InterfaceGuid, pszDeviceID, Buffer, pulLength, ulFlags);
|
||||||
|
|
||||||
if (!IsValidDeviceInstanceID(pszDeviceID))
|
if (!IsValidDeviceInstanceID(pszDeviceID))
|
||||||
return CR_INVALID_DEVINST;
|
return CR_INVALID_DEVINST;
|
||||||
|
|
||||||
|
@ -2348,7 +2351,8 @@ PNP_GetInterfaceDeviceListSize(
|
||||||
|
|
||||||
UNREFERENCED_PARAMETER(hBinding);
|
UNREFERENCED_PARAMETER(hBinding);
|
||||||
|
|
||||||
DPRINT("PNP_GetInterfaceDeviceListSize() called\n");
|
DPRINT("PNP_GetInterfaceDeviceList(%p %p %p %S 0x%08lx)\n",
|
||||||
|
hBinding, pulLen, InterfaceGuid, pszDeviceID, ulFlags);
|
||||||
|
|
||||||
if (!IsValidDeviceInstanceID(pszDeviceID))
|
if (!IsValidDeviceInstanceID(pszDeviceID))
|
||||||
return CR_INVALID_DEVINST;
|
return CR_INVALID_DEVINST;
|
||||||
|
@ -3111,10 +3115,8 @@ PNP_AddID(
|
||||||
|
|
||||||
UNREFERENCED_PARAMETER(hBinding);
|
UNREFERENCED_PARAMETER(hBinding);
|
||||||
|
|
||||||
DPRINT("PNP_AddID() called\n");
|
DPRINT("PNP_AddID(%p %S %S 0x%08lx)\n",
|
||||||
DPRINT(" DeviceInstance: %S\n", pszDeviceID);
|
hBinding, pszDeviceID, pszID, ulFlags);
|
||||||
DPRINT(" DeviceId: %S\n", pszID);
|
|
||||||
DPRINT(" Flags: %lx\n", ulFlags);
|
|
||||||
|
|
||||||
if (RegOpenKeyExW(hEnumKey,
|
if (RegOpenKeyExW(hEnumKey,
|
||||||
pszDeviceID,
|
pszDeviceID,
|
||||||
|
@ -3337,7 +3339,8 @@ PNP_IsDockStationPresent(
|
||||||
|
|
||||||
UNREFERENCED_PARAMETER(hBinding);
|
UNREFERENCED_PARAMETER(hBinding);
|
||||||
|
|
||||||
DPRINT1("PNP_IsDockStationPresent() called\n");
|
DPRINT1("PNP_IsDockStationPresent(%p %p)\n",
|
||||||
|
hBinding, Present);
|
||||||
|
|
||||||
*Present = FALSE;
|
*Present = FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue