summaryrefslogtreecommitdiff
path: root/general/echo/kmdf/exe
diff options
context:
space:
mode:
authorkarlf <[email protected]>2016-08-11 13:28:13 -0700
committerkarlf <[email protected]>2016-08-11 13:28:13 -0700
commit96eb96dfb613e4c745db6bd1f53a92fe7e2290fc (patch)
treead5f3ede5cbcd6b598677ce41bcf8318471bdd92 /general/echo/kmdf/exe
parent687b274aa38fd05c8c26e3068932121876d7f745 (diff)
Updated for "Windows 10 Anniversary Update" (Version 1607)
Diffstat (limited to 'general/echo/kmdf/exe')
-rw-r--r--general/echo/kmdf/exe/echoapp.cpp12
-rw-r--r--general/echo/kmdf/exe/echoapp.vcxproj4
-rw-r--r--general/echo/kmdf/exe/echoapp.vcxproj.Filters6
3 files changed, 11 insertions, 11 deletions
diff --git a/general/echo/kmdf/exe/echoapp.cpp b/general/echo/kmdf/exe/echoapp.cpp
index 2383db2c..348b4976 100644
--- a/general/echo/kmdf/exe/echoapp.cpp
+++ b/general/echo/kmdf/exe/echoapp.cpp
@@ -446,7 +446,7 @@ AsyncIo(
error = GetLastError();
if (error != ERROR_IO_PENDING) {
- printf(" %dth Read failed %d \n",i, GetLastError());
+ printf(" %dth Read failed %d \n", (ULONG) i, GetLastError());
result = FALSE;
goto Error;
}
@@ -460,7 +460,7 @@ AsyncIo(
&pOvList[i]) == 0) {
error = GetLastError();
if (error != ERROR_IO_PENDING) {
- printf(" %dth Write failed %d \n",i, GetLastError());
+ printf(" %dth Write failed %d \n", (ULONG) i, GetLastError());
result = FALSE;
goto Error;
}
@@ -487,7 +487,7 @@ AsyncIo(
if (ioType == READER_TYPE) {
i = completedOv - pOvList;
- printf("Number of bytes read by request number %d is %d\n", i, numberOfBytesTransferred);
+ printf("Number of bytes read by request number %Id is %d\n", i, numberOfBytesTransferred);
//
// If we're done with the I/Os, then exit
@@ -513,7 +513,7 @@ AsyncIo(
completedOv) == 0) {
error = GetLastError();
if (error != ERROR_IO_PENDING) {
- printf("%dth Read failed %d \n", i, GetLastError());
+ printf("%Idth Read failed %d \n", i, GetLastError());
result = FALSE;
goto Error;
}
@@ -522,7 +522,7 @@ AsyncIo(
i = completedOv - pOvList;
- printf("Number of bytes written by request number %d is %d\n", i, numberOfBytesTransferred);
+ printf("Number of bytes written by request number %Id is %d\n", i, numberOfBytesTransferred);
//
// If we're done with the I/Os, then exit
@@ -549,7 +549,7 @@ AsyncIo(
error = GetLastError();
if (error != ERROR_IO_PENDING) {
- printf("%dth write failed %d \n", i, GetLastError());
+ printf("%Idth write failed %d \n", i, GetLastError());
result = FALSE;
goto Error;
}
diff --git a/general/echo/kmdf/exe/echoapp.vcxproj b/general/echo/kmdf/exe/echoapp.vcxproj
index 611109de..d0c2d740 100644
--- a/general/echo/kmdf/exe/echoapp.vcxproj
+++ b/general/echo/kmdf/exe/echoapp.vcxproj
@@ -19,11 +19,11 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{6064ECE2-B8F6-4272-85EC-C80BD65DE700}</ProjectGuid>
+ <ProjectGuid>{4500713F-105B-4F35-9FC9-85D30E7C3F2D}</ProjectGuid>
<RootNamespace>$(MSBuildProjectName)</RootNamespace>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">Win32</Platform>
- <SampleGuid>{622CAFC6-E185-4727-952B-9B24EE9F7F80}</SampleGuid>
+ <SampleGuid>{B366A3FE-0009-4DB9-8482-AD1EDA2557F3}</SampleGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
diff --git a/general/echo/kmdf/exe/echoapp.vcxproj.Filters b/general/echo/kmdf/exe/echoapp.vcxproj.Filters
index 16c9210f..0292f388 100644
--- a/general/echo/kmdf/exe/echoapp.vcxproj.Filters
+++ b/general/echo/kmdf/exe/echoapp.vcxproj.Filters
@@ -3,15 +3,15 @@
<ItemGroup>
<Filter Include="Source Files">
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx;*</Extensions>
- <UniqueIdentifier>{F7DC8A79-8789-4F30-AAF9-84E75E74662B}</UniqueIdentifier>
+ <UniqueIdentifier>{9B789EE5-1E52-465E-B2F4-E76788525B58}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files">
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
- <UniqueIdentifier>{978DA09C-AAC5-4A3C-BDD6-C06EE55BF876}</UniqueIdentifier>
+ <UniqueIdentifier>{CAB74E51-A64C-4198-A264-1B5025B52C8A}</UniqueIdentifier>
</Filter>
<Filter Include="Resource Files">
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms;man;xml</Extensions>
- <UniqueIdentifier>{069F7D15-D8CC-4677-BD02-7013C88EF23B}</UniqueIdentifier>
+ <UniqueIdentifier>{FD7CD877-7D31-4A6F-9B7B-37A253E72D84}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>