diff options
| author | karlf <[email protected]> | 2016-08-11 13:28:13 -0700 |
|---|---|---|
| committer | karlf <[email protected]> | 2016-08-11 13:28:13 -0700 |
| commit | 96eb96dfb613e4c745db6bd1f53a92fe7e2290fc (patch) | |
| tree | ad5f3ede5cbcd6b598677ce41bcf8318471bdd92 /storage/class/classpnp/src/classwmi.c | |
| parent | 687b274aa38fd05c8c26e3068932121876d7f745 (diff) | |
Updated for "Windows 10 Anniversary Update" (Version 1607)
Diffstat (limited to 'storage/class/classpnp/src/classwmi.c')
| -rw-r--r-- | storage/class/classpnp/src/classwmi.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/storage/class/classpnp/src/classwmi.c b/storage/class/classpnp/src/classwmi.c index 1df85512..1b1eeeee 100644 --- a/storage/class/classpnp/src/classwmi.c +++ b/storage/class/classpnp/src/classwmi.c @@ -40,10 +40,6 @@ Revision History: #include "classwmi.tmh" #endif -const UCHAR wmiInternalMOF[] = { -#include "classlog.x" -}; - #define TIME_STRING_LENGTH 25 BOOLEAN @@ -95,15 +91,11 @@ ClassFindInternalGuid( GUIDREGINFO wmiClassGuids[] = { { - MSWmi_MofDataGuid, 1, 0 - }, - { MSStorageDriver_ClassErrorLogGuid, 1, 0 } }; -#define MSWmi_MofData_GUID_Index 0 -#define MSStorageDriver_ClassErrorLogGuid_Index 1 +#define MSStorageDriver_ClassErrorLogGuid_Index 0 #define NUM_CLASS_WMI_GUIDS (sizeof(wmiClassGuids) / sizeof(GUIDREGINFO)) @@ -820,15 +812,7 @@ Return Value: ULONG sizeNeeded = 0, i; PFUNCTIONAL_DEVICE_EXTENSION fdoExt = DeviceObject->DeviceExtension; - if (GuidIndex == MSWmi_MofData_GUID_Index) { - sizeNeeded = sizeof(wmiInternalMOF); - if (BufferAvail >= sizeNeeded) { - RtlMoveMemory(Buffer, wmiInternalMOF, sizeof(wmiInternalMOF)); - status = STATUS_SUCCESS; - } else { - status = STATUS_BUFFER_TOO_SMALL; - } - } else if (GuidIndex == MSStorageDriver_ClassErrorLogGuid_Index) { + if (GuidIndex == MSStorageDriver_ClassErrorLogGuid_Index) { // // NOTE - ClassErrorLog is still using SCSI_REQUEST_BLOCK and will not be |
