Home
last modified time | relevance | path

Searched refs:NextInstance (Results 1 – 3 of 3) sorted by relevance

/reactos/ntoskrnl/io/pnpmgr/
H A Dpnproot.c195 ULONG NextInstance; in PnpRootCreateDevice() local
253 QueryTable[0].EntryContext = &NextInstance; in PnpRootCreateDevice()
261 for (NextInstance = 0; NextInstance <= 9999; NextInstance++) in PnpRootCreateDevice()
263 _snwprintf(InstancePath, sizeof(InstancePath) / sizeof(WCHAR), L"%04lu", NextInstance); in PnpRootCreateDevice()
269 if (NextInstance > 9999) in PnpRootCreateDevice()
276 _snwprintf(InstancePath, sizeof(InstancePath) / sizeof(WCHAR), L"%04lu", NextInstance); in PnpRootCreateDevice()
278 if (Status != STATUS_NO_SUCH_DEVICE || NextInstance > 9999) in PnpRootCreateDevice()
280 DPRINT1("NextInstance value is corrupt! (%lu)\n", NextInstance); in PnpRootCreateDevice()
287 NextInstance++; in PnpRootCreateDevice()
292 &NextInstance, in PnpRootCreateDevice()
[all …]
H A Ddevaction.c1355 ULONG Count = 0, NextInstance = 0; in IopSetServiceEnumData() local
1447 NextInstance = *(PULONG)((ULONG_PTR)KeyValueInformation + in IopSetServiceEnumData()
1456 swprintf(ValueBuffer, L"%lu", NextInstance); in IopSetServiceEnumData()
1469 NextInstance++; in IopSetServiceEnumData()
1488 &NextInstance, in IopSetServiceEnumData()
1489 sizeof(NextInstance)); in IopSetServiceEnumData()
/reactos/sdk/lib/drivers/wdf/
H A Dwdf01000_reg.inf11 HKLM,"SYSTEM\CurrentControlSet\Services\Wdf01000\Enum","NextInstance",0x00010001,0x00000001
16 HKLM,"SYSTEM\ControlSet001\Enum\Root\LEGACY_WDF01000","NextInstance",0x00010001,0x00000001