MCPcopy Create free account
hub / github.com/NullArray/WinKernel-Resources / DelMultiSz

Function DelMultiSz

Drivers/Driver-SRC/setup/devcon/devcon.cpp:466–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466void DelMultiSz(_In_opt_ __drv_freesMem(object) PZPWSTR Array)
467/*++
468
469Routine Description:
470
471 Deletes the string array allocated by GetDevMultiSz/GetRegMultiSz/GetMultiSzIndexArray
472
473Arguments:
474
475 Array - pointer returned by GetMultiSzIndexArray
476
477Return Value:
478
479 None
480
481--*/
482{
483 if(Array) {
484 Array--;
485 if(Array[0]) {
486 delete [] Array[0];
487 }
488 delete [] Array;
489 }
490}
491
492__drv_allocatesMem(object)
493LPTSTR * GetDevMultiSz(_In_ HDEVINFO Devs, _In_ PSP_DEVINFO_DATA DevInfo, _In_ DWORD Prop)

Callers 5

EnumerateDevicesFunction · 0.85
DumpDeviceHwIdsFunction · 0.85
DumpDeviceStackFunction · 0.85
cmdClassFilterFunction · 0.85
SetHwidCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected