*/\r
\r
#include <iostream>\r
+using namespace std;\r
\r
#include <rdma\winverbs.h>\r
\r
static void ShowProviderOptions()\r
{\r
- std::cout << "provider options" << std::endl;\r
- std::cout << "\t" << "--help" << std::endl;\r
- std::cout << "\t\t" << "display this message" << std::endl;\r
+ cout << "provider options" << endl;\r
+ cout << "\t" << "--help" << endl;\r
+ cout << "\t\t" << "display this message" << endl;\r
}\r
\r
static int ProviderTest(int argc, char *argv[])\r
return 0;\r
}\r
\r
- std::cout << "Validating IWVProvider interface" << std::endl;\r
+ cout << "Validating IWVProvider interface" << endl;\r
\r
hr = WvGetObject(IID_IWVProvider, (LPVOID*) &prov);\r
if (hr != NOERROR)\r
{\r
- std::cout << "Error WvGetObject: " << hr << std::endl;\r
+ cout << "Error WvGetObject: " << hr << endl;\r
return hr;\r
}\r
\r
ref = prov->AddRef();\r
if (ref != 2)\r
- std::cout << "Error AddRef: " << ref << std::endl;\r
+ cout << "Error AddRef: " << ref << endl;\r
\r
prov->Release();\r
prov->Release();\r
\r
- std::cout << "Success" << std::endl;\r
+ cout << "Success" << endl;\r
return hr;\r
}\r
\r
static void ShowUsage()\r
{\r
- std::cout << "winverb <interface> [options]" << std::endl;\r
- std::cout << "<interface> is one of the following:" << std::endl;\r
- std::cout << "\t" << "provider" << std::endl;\r
- std::cout << std::endl;\r
- std::cout << "Type 'winverb <interface> --help' for option details" << std::endl;\r
+ cout << "winverb <interface> [options]" << endl;\r
+ cout << "<interface> is one of the following:" << endl;\r
+ cout << "\t" << "provider" << endl;\r
+ cout << endl;\r
+ cout << "Type 'winverb <interface> --help' for option details" << endl;\r
}\r
\r
int __cdecl main(int argc, char *argv[])\r