From d40232638faaab19de557e70a3ee938da7a35295 Mon Sep 17 00:00:00 2001 From: Dave Wilson Date: Wed, 29 Apr 2015 09:48:49 -0700 Subject: samples update for //build --- pofx/WDF/Driver/MultiComp/driver/WdfMultiComp.vcxproj | 4 ++-- .../Driver/MultiComp/driver/WdfMultiComp.vcxproj.Filters | 8 ++++---- pofx/WDF/Driver/MultiComp/lib/WdfPoFx.vcxproj | 4 ++-- pofx/WDF/Driver/MultiComp/lib/WdfPoFx.vcxproj.Filters | 8 ++++---- pofx/WDF/Driver/MultiComp/lib/init.c | 13 +++++++++++-- 5 files changed, 23 insertions(+), 14 deletions(-) (limited to 'pofx/WDF/Driver/MultiComp') diff --git a/pofx/WDF/Driver/MultiComp/driver/WdfMultiComp.vcxproj b/pofx/WDF/Driver/MultiComp/driver/WdfMultiComp.vcxproj index c0905b5a..4253010f 100644 --- a/pofx/WDF/Driver/MultiComp/driver/WdfMultiComp.vcxproj +++ b/pofx/WDF/Driver/MultiComp/driver/WdfMultiComp.vcxproj @@ -19,12 +19,12 @@ - {45DBDC5F-2109-432B-8149-29D3693D57E1} + {E47411F4-AAEA-4766-B62B-A5171ED47CCF} $(MSBuildProjectName) 1 Debug Win32 - {5F84F53D-DFA0-47A1-9759-FC7CFFC9599C} + {499A6FF7-57CD-4962-9500-BCF78D83750D} diff --git a/pofx/WDF/Driver/MultiComp/driver/WdfMultiComp.vcxproj.Filters b/pofx/WDF/Driver/MultiComp/driver/WdfMultiComp.vcxproj.Filters index dfe3aac9..deab83ee 100644 --- a/pofx/WDF/Driver/MultiComp/driver/WdfMultiComp.vcxproj.Filters +++ b/pofx/WDF/Driver/MultiComp/driver/WdfMultiComp.vcxproj.Filters @@ -3,19 +3,19 @@ cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx;* - {A5B06A84-D70F-4D83-B76D-FEA4F09EE4FC} + {0A9BD918-2221-4EB8-ADEE-BBD2CDD7492D} h;hpp;hxx;hm;inl;inc;xsd - {B738D047-A23C-43C1-9D52-3E0AC54B5C3D} + {919CB3FE-5154-4606-A075-B786F5FFFE57} rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms;man;xml - {9A02D86B-B4BE-4C57-BD3E-ADD87EE33EE9} + {425BB5CA-635C-4170-8213-7A71C5055DC8} inf;inv;inx;mof;mc; - {000E9CB4-5A60-438C-8F77-72AE7E890BB8} + {3CF8A5B4-951A-49C5-ADD3-0B82C94AD6CA} diff --git a/pofx/WDF/Driver/MultiComp/lib/WdfPoFx.vcxproj b/pofx/WDF/Driver/MultiComp/lib/WdfPoFx.vcxproj index ec187a39..5e6d09e7 100644 --- a/pofx/WDF/Driver/MultiComp/lib/WdfPoFx.vcxproj +++ b/pofx/WDF/Driver/MultiComp/lib/WdfPoFx.vcxproj @@ -19,12 +19,12 @@ - {21F832DD-6A4C-4E5F-941E-15BF98CE4137} + {30087DFC-5BF1-4BF6-A3C2-EB767B04A346} $(MSBuildProjectName) 1 Debug Win32 - {568CF874-EF69-46EF-AAE1-E59FAE847FBA} + {0BE1315A-9E67-4D52-9B4A-7C3D83D80492} diff --git a/pofx/WDF/Driver/MultiComp/lib/WdfPoFx.vcxproj.Filters b/pofx/WDF/Driver/MultiComp/lib/WdfPoFx.vcxproj.Filters index 50376050..6aa5f910 100644 --- a/pofx/WDF/Driver/MultiComp/lib/WdfPoFx.vcxproj.Filters +++ b/pofx/WDF/Driver/MultiComp/lib/WdfPoFx.vcxproj.Filters @@ -3,19 +3,19 @@ cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx;* - {A155D773-8FFA-4E28-9C42-A363BDD03866} + {3D1EA9F6-249A-4E28-B709-6DF1A0364A1D} h;hpp;hxx;hm;inl;inc;xsd - {7CBF3FE5-FDC1-4483-B02B-EDCEEAF60743} + {F52C45CC-11FD-4B95-ACC4-8A9F96EE4C70} rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms;man;xml - {D4BDD463-7BCE-4779-856D-4D42D6FBB5E1} + {DF786B9D-15CF-4A15-A833-C326C1B42E70} inf;inv;inx;mof;mc; - {29D299CC-0D9F-4BB4-8E92-8A1E35E7A85E} + {478A4E92-8150-4A53-8756-5B211AA8FF2F} diff --git a/pofx/WDF/Driver/MultiComp/lib/init.c b/pofx/WDF/Driver/MultiComp/lib/init.c index 780434b5..57ad7744 100644 --- a/pofx/WDF/Driver/MultiComp/lib/init.c +++ b/pofx/WDF/Driver/MultiComp/lib/init.c @@ -385,7 +385,12 @@ Return value: WDF_OBJECT_ATTRIBUTES_INIT(&objectAttributes); objectAttributes.ParentObject = Initializer; // auto-delete when parent // deleted - #pragma prefast(suppress:28160, "memorySize > 0") + + + // + // Suppress the warning that memorySize must be greater than zero + // + #pragma warning(suppress:28160) status = WdfMemoryCreate(&objectAttributes, NonPagedPool, 0, // PoolTag @@ -424,7 +429,11 @@ Return value: status); goto exit; } - #pragma prefast(suppress:28160, "minorFunctionsSize > 0") + + // + // Suppress the warning that minorFunctionsSize must be greater than zero + // + #pragma warning(suppress:28160) status = WdfMemoryCopyFromBuffer(memory, minorFunctionsOffset, memoryBuffer->MinorFunctions, -- cgit v1.3.1