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

Function DumpDeviceDescr

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

Source from the content-addressed store, hash-verified

82}
83
84BOOL DumpDeviceDescr(_In_ HDEVINFO Devs, _In_ PSP_DEVINFO_DATA DevInfo)
85/*++
86
87Routine Description:
88
89 Write device description to stdout
90
91Arguments:
92
93 Devs )_ uniquely identify device
94 DevInfo )
95
96Return Value:
97
98 TRUE if success
99
100--*/
101{
102 LPTSTR desc;
103
104 desc = GetDeviceDescription(Devs,DevInfo);
105 if(!desc) {
106 return FALSE;
107 }
108 Padding(1);
109 FormatToStream(stdout,MSG_DUMP_DESCRIPTION,desc);
110 delete [] desc;
111 return TRUE;
112}
113
114BOOL DumpDeviceClass(_In_ HDEVINFO Devs, _In_ PSP_DEVINFO_DATA DevInfo)
115/*++

Callers 1

FindCallbackFunction · 0.85

Calls 3

GetDeviceDescriptionFunction · 0.85
PaddingFunction · 0.85
FormatToStreamFunction · 0.85

Tested by

no test coverage detected