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

Function DumpDevice

Drivers/Driver-SRC/setup/devcon/dump.cpp:55–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55BOOL DumpDevice(_In_ HDEVINFO Devs, _In_ PSP_DEVINFO_DATA DevInfo)
56/*++
57
58Routine Description:
59
60 Write device instance & description to stdout
61
62Arguments:
63
64 Devs )_ uniquely identify device
65 DevInfo )
66
67Return Value:
68
69 TRUE if success
70
71--*/
72{
73 LPTSTR desc;
74 BOOL b;
75
76 desc = GetDeviceDescription(Devs,DevInfo);
77 b = DumpDeviceWithInfo(Devs,DevInfo,desc);
78 if(desc) {
79 delete [] desc;
80 }
81 return b;
82}
83
84BOOL DumpDeviceDescr(_In_ HDEVINFO Devs, _In_ PSP_DEVINFO_DATA DevInfo)
85/*++

Callers 2

cmdListClassFunction · 0.85
FindCallbackFunction · 0.85

Calls 2

GetDeviceDescriptionFunction · 0.85
DumpDeviceWithInfoFunction · 0.85

Tested by

no test coverage detected