| 82 | } |
| 83 | |
| 84 | BOOL DumpDeviceDescr(_In_ HDEVINFO Devs, _In_ PSP_DEVINFO_DATA DevInfo) |
| 85 | /*++ |
| 86 | |
| 87 | Routine Description: |
| 88 | |
| 89 | Write device description to stdout |
| 90 | |
| 91 | Arguments: |
| 92 | |
| 93 | Devs )_ uniquely identify device |
| 94 | DevInfo ) |
| 95 | |
| 96 | Return 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 | |
| 114 | BOOL DumpDeviceClass(_In_ HDEVINFO Devs, _In_ PSP_DEVINFO_DATA DevInfo) |
| 115 | /*++ |
no test coverage detected