Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

850 lines
39 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: viewtest.cpp
  8. //
  9. //--------------------------------------------------------------------------
  10. #include <pch.cpp>
  11. #pragma hdrstop
  12. VOID EnumView(IEnumCERTVIEWROW *pRow);
  13. LONG g_idxRequestId;
  14. void __cdecl main(int argc, char* argv[])
  15. {
  16. HRESULT hr;
  17. WCHAR sz[MAX_PATH];
  18. BSTR bstrConfig = NULL;
  19. ICertView* pView = NULL;
  20. IEnumCERTVIEWROW* pRow = NULL;
  21. BOOL fCoInit = FALSE;
  22. int nWCharsRequired;
  23. WCHAR* wszConfig = NULL;
  24. hr = CoInitialize(NULL);
  25. if ((hr == S_OK) || (hr == S_FALSE))
  26. fCoInit = TRUE;
  27. hr = CoCreateInstance(
  28. CLSID_CCertView,
  29. NULL, // pUnkOuter
  30. CLSCTX_INPROC_SERVER,
  31. IID_ICertView,
  32. (VOID **) &pView);
  33. if (S_OK != hr)
  34. goto Ret;
  35. if (argc < 2)
  36. {
  37. hr = ConfigGetConfig(0, 0, &bstrConfig);
  38. _JumpIfError(hr, Ret, "ConfigGetConfig");
  39. }
  40. else
  41. {
  42. nWCharsRequired = MultiByteToWideChar(
  43. GetACP(),
  44. 0,
  45. argv[1],
  46. -1,
  47. NULL,
  48. 0);
  49. if (0 >= nWCharsRequired)
  50. {
  51. hr = GetLastError();
  52. _JumpError(hr, Ret, "MultiByteToWideChar");
  53. }
  54. wszConfig = (WCHAR *) LocalAlloc(
  55. LMEM_FIXED,
  56. nWCharsRequired * sizeof(WCHAR));
  57. if (NULL == wszConfig)
  58. {
  59. hr = E_OUTOFMEMORY;
  60. _JumpError(hr, Ret, "LocalAlloc");
  61. }
  62. if (0 >= MultiByteToWideChar(
  63. GetACP(),
  64. 0,
  65. argv[1],
  66. -1,
  67. wszConfig,
  68. nWCharsRequired))
  69. {
  70. hr = GetLastError();
  71. _JumpError(hr, Ret, "MultiByteToWideChar");
  72. }
  73. bstrConfig = SysAllocString(wszConfig);
  74. }
  75. hr = pView->OpenConnection(bstrConfig);
  76. if (hr != S_OK)
  77. {
  78. wprintf(L"Could not open connection to %hs\n", argv[1]);
  79. goto Ret;
  80. }
  81. VARIANT var;
  82. VariantInit(&var);
  83. var.lVal = DB_DISP_QUEUE_MAX;
  84. var.vt = VT_I4;
  85. LONG idxCol;
  86. hr = pView->GetColumnIndex(FALSE, wszPROPREQUESTDOT wszPROPREQUESTDISPOSITION, &idxCol);
  87. _JumpIfError(hr, Ret, "GetColumnIndex");
  88. hr = pView->SetRestriction(
  89. idxCol, // Request Disposition's ColumnIndex
  90. CVR_SEEK_LE, // SeekOperator
  91. CVR_SORT_NONE, // SortOrder
  92. &var); // pvarValue
  93. VariantClear(&var);
  94. if (hr != S_OK)
  95. goto Ret;
  96. // canned pending view
  97. hr = pView->SetResultColumnCount(CV_COLUMN_LOG_DEFAULT);
  98. if (hr != S_OK)
  99. goto Ret;
  100. hr = pView->OpenView(&pRow);
  101. if (hr != S_OK)
  102. goto Ret;
  103. hr = pView->GetColumnIndex(TRUE, wszPROPREQUESTDOT wszPROPREQUESTREQUESTID, &g_idxRequestId);
  104. _JumpIfError(hr, Ret, "GetColumnIndex");
  105. EnumView(pRow);
  106. Ret:
  107. if (pView)
  108. pView->Release();
  109. if (pRow)
  110. pRow->Release();
  111. if (bstrConfig)
  112. SysFreeString(bstrConfig);
  113. if (wszConfig)
  114. LocalFree(wszConfig);
  115. if (fCoInit)
  116. CoUninitialize();
  117. return;
  118. }
  119. DWORD
  120. GetRequestId(
  121. IEnumCERTVIEWROW *pRow)
  122. {
  123. HRESULT hr;
  124. IEnumCERTVIEWCOLUMN *pCol = NULL;
  125. DWORD RequestId = MAXDWORD;
  126. BSTR strName = NULL;
  127. LONG Index;
  128. VARIANT var;
  129. VariantInit(&var);
  130. hr = pRow->EnumCertViewColumn(&pCol);
  131. _JumpIfError(hr, error, "EnumCertViewColumn");
  132. hr = pCol->Skip(g_idxRequestId);
  133. _JumpIfError(hr, error, "Skip");
  134. hr = pCol->Next(&Index);
  135. _JumpIfError(hr, error, "Next");
  136. hr = pCol->GetValue(CV_OUT_BINARY, &var);
  137. _JumpIfError(hr, error, "GetValue");
  138. if (VT_I4 == var.vt)
  139. {
  140. RequestId = var.lVal;
  141. }
  142. error:
  143. VariantClear(&var);
  144. if (NULL != strName)
  145. {
  146. SysFreeString(strName);
  147. }
  148. if (NULL != pCol)
  149. {
  150. pCol->Release();
  151. }
  152. return(RequestId);
  153. }
  154. HRESULT
  155. RowNext(
  156. IEnumCERTVIEWROW *pRow,
  157. LONG *plNext)
  158. {
  159. HRESULT hr;
  160. DWORD RequestId;
  161. hr = pRow->Next(plNext);
  162. if (S_OK != hr)
  163. {
  164. fflush(stdout);
  165. fflush(stderr);
  166. wprintf(L"Next: %x\n", hr);
  167. fflush(stdout);
  168. fflush(stderr);
  169. goto error;
  170. }
  171. RequestId = GetRequestId(pRow);
  172. fflush(stdout);
  173. fflush(stderr);
  174. wprintf(
  175. L"Row: %d RequestId: %d%hs\n",
  176. *plNext,
  177. RequestId,
  178. *plNext + 2 == (LONG) RequestId? "" : " ERROR");
  179. fflush(stdout);
  180. fflush(stderr);
  181. error:
  182. return(hr);
  183. }
  184. VOID
  185. EnumView(
  186. IEnumCERTVIEWROW *pRow)
  187. {
  188. HRESULT hr;
  189. LONG lNext;
  190. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  191. hr = pRow->Skip(0); _PrintIfError(hr, "Skip(0)");
  192. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  193. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  194. hr = pRow->Skip(1); _PrintIfError(hr, "Skip(1)");
  195. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  196. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  197. hr = pRow->Skip(2); _PrintIfError(hr, "Skip(2)");
  198. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  199. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  200. hr = pRow->Skip(3); _PrintIfError(hr, "Skip(3)");
  201. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  202. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  203. hr = pRow->Skip(4); _PrintIfError(hr, "Skip(4)");
  204. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  205. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  206. hr = pRow->Skip(5); _PrintIfError(hr, "Skip(5)");
  207. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  208. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  209. hr = pRow->Skip(6); _PrintIfError(hr, "Skip(6)");
  210. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  211. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  212. hr = pRow->Skip(7); _PrintIfError(hr, "Skip(7)");
  213. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  214. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  215. hr = pRow->Skip(8); _PrintIfError(hr, "Skip(8)");
  216. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  217. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  218. hr = pRow->Skip(9); _PrintIfError(hr, "Skip(9)");
  219. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  220. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  221. hr = pRow->Skip(10); _PrintIfError(hr, "Skip(10)");
  222. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  223. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  224. hr = pRow->Skip(11); _PrintIfError(hr, "Skip(11)");
  225. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  226. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  227. hr = pRow->Skip(12); _PrintIfError(hr, "Skip(12)");
  228. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  229. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  230. hr = pRow->Skip(13); _PrintIfError(hr, "Skip(13)");
  231. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  232. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  233. hr = pRow->Skip(14); _PrintIfError(hr, "Skip(14)");
  234. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  235. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  236. hr = pRow->Skip(15); _PrintIfError(hr, "Skip(15)");
  237. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  238. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  239. hr = pRow->Skip(16); _PrintIfError(hr, "Skip(16)");
  240. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  241. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  242. hr = pRow->Skip(17); _PrintIfError(hr, "Skip(17)");
  243. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  244. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  245. hr = pRow->Skip(18); _PrintIfError(hr, "Skip(18)");
  246. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  247. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  248. hr = pRow->Skip(3); _PrintIfError(hr, "Skip(3)");
  249. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  250. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  251. hr = pRow->Skip(4); _PrintIfError(hr, "Skip(4)");
  252. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  253. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  254. hr = pRow->Skip(5); _PrintIfError(hr, "Skip(5)");
  255. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  256. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  257. hr = pRow->Skip(14); _PrintIfError(hr, "Skip(14)");
  258. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  259. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  260. hr = pRow->Skip(15); _PrintIfError(hr, "Skip(15)");
  261. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  262. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  263. hr = pRow->Skip(16); _PrintIfError(hr, "Skip(16)");
  264. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  265. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  266. hr = pRow->Skip(17); _PrintIfError(hr, "Skip(17)");
  267. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  268. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  269. hr = pRow->Skip(18); _PrintIfError(hr, "Skip(18)");
  270. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  271. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  272. hr = pRow->Skip(19); _PrintIfError(hr, "Skip(19)");
  273. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  274. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  275. hr = pRow->Skip(20); _PrintIfError(hr, "Skip(20)");
  276. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  277. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  278. hr = pRow->Skip(21); _PrintIfError(hr, "Skip(21)");
  279. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  280. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  281. hr = pRow->Skip(22); _PrintIfError(hr, "Skip(22)");
  282. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  283. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  284. hr = pRow->Skip(23); _PrintIfError(hr, "Skip(23)");
  285. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  286. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  287. hr = pRow->Skip(24); _PrintIfError(hr, "Skip(24)");
  288. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  289. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  290. hr = pRow->Skip(25); _PrintIfError(hr, "Skip(25)");
  291. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  292. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  293. hr = pRow->Skip(26); _PrintIfError(hr, "Skip(26)");
  294. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  295. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  296. hr = pRow->Skip(27); _PrintIfError(hr, "Skip(27)");
  297. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  298. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  299. hr = pRow->Skip(28); _PrintIfError(hr, "Skip(28)");
  300. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  301. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  302. hr = pRow->Skip(29); _PrintIfError(hr, "Skip(29)");
  303. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  304. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  305. hr = pRow->Skip(30); _PrintIfError(hr, "Skip(30)");
  306. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  307. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  308. hr = pRow->Skip(31); _PrintIfError(hr, "Skip(31)");
  309. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  310. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  311. hr = pRow->Skip(32); _PrintIfError(hr, "Skip(32)");
  312. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  313. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  314. hr = pRow->Skip(46); _PrintIfError(hr, "Skip(46)");
  315. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  316. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  317. hr = pRow->Skip(47); _PrintIfError(hr, "Skip(47)");
  318. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  319. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  320. hr = pRow->Skip(48); _PrintIfError(hr, "Skip(48)");
  321. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  322. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  323. hr = pRow->Skip(49); _PrintIfError(hr, "Skip(49)");
  324. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  325. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  326. hr = pRow->Skip(50); _PrintIfError(hr, "Skip(50)");
  327. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  328. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  329. hr = pRow->Skip(51); _PrintIfError(hr, "Skip(51)");
  330. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  331. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  332. hr = pRow->Skip(52); _PrintIfError(hr, "Skip(52)");
  333. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  334. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  335. hr = pRow->Skip(53); _PrintIfError(hr, "Skip(53)");
  336. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  337. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  338. hr = pRow->Skip(54); _PrintIfError(hr, "Skip(54)");
  339. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  340. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  341. hr = pRow->Skip(55); _PrintIfError(hr, "Skip(55)");
  342. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  343. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  344. hr = pRow->Skip(56); _PrintIfError(hr, "Skip(56)");
  345. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  346. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  347. hr = pRow->Skip(57); _PrintIfError(hr, "Skip(57)");
  348. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  349. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  350. hr = pRow->Skip(58); _PrintIfError(hr, "Skip(58)");
  351. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  352. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  353. hr = pRow->Skip(59); _PrintIfError(hr, "Skip(59)");
  354. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  355. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  356. hr = pRow->Skip(60); _PrintIfError(hr, "Skip(60)");
  357. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  358. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  359. hr = pRow->Skip(61); _PrintIfError(hr, "Skip(61)");
  360. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  361. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  362. hr = pRow->Skip(62); _PrintIfError(hr, "Skip(62)");
  363. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  364. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  365. hr = pRow->Skip(63); _PrintIfError(hr, "Skip(63)");
  366. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  367. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  368. hr = pRow->Skip(64); _PrintIfError(hr, "Skip(64)");
  369. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  370. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  371. hr = pRow->Skip(62); _PrintIfError(hr, "Skip(62)");
  372. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  373. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  374. hr = pRow->Skip(63); _PrintIfError(hr, "Skip(63)");
  375. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  376. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  377. hr = pRow->Skip(61); _PrintIfError(hr, "Skip(61)");
  378. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  379. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  380. hr = pRow->Skip(62); _PrintIfError(hr, "Skip(62)");
  381. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  382. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  383. hr = pRow->Skip(46); _PrintIfError(hr, "Skip(46)");
  384. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  385. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  386. hr = pRow->Skip(47); _PrintIfError(hr, "Skip(47)");
  387. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  388. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  389. hr = pRow->Skip(48); _PrintIfError(hr, "Skip(48)");
  390. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  391. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  392. hr = pRow->Skip(49); _PrintIfError(hr, "Skip(49)");
  393. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  394. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  395. hr = pRow->Skip(50); _PrintIfError(hr, "Skip(50)");
  396. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  397. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  398. hr = pRow->Skip(51); _PrintIfError(hr, "Skip(51)");
  399. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  400. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  401. hr = pRow->Skip(52); _PrintIfError(hr, "Skip(52)");
  402. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  403. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  404. hr = pRow->Skip(53); _PrintIfError(hr, "Skip(53)");
  405. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  406. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  407. hr = pRow->Skip(54); _PrintIfError(hr, "Skip(54)");
  408. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  409. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  410. hr = pRow->Skip(55); _PrintIfError(hr, "Skip(55)");
  411. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  412. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  413. hr = pRow->Skip(56); _PrintIfError(hr, "Skip(56)");
  414. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  415. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  416. hr = pRow->Skip(57); _PrintIfError(hr, "Skip(57)");
  417. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  418. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  419. hr = pRow->Skip(58); _PrintIfError(hr, "Skip(58)");
  420. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  421. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  422. hr = pRow->Skip(59); _PrintIfError(hr, "Skip(59)");
  423. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  424. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  425. hr = pRow->Skip(60); _PrintIfError(hr, "Skip(60)");
  426. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  427. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  428. hr = pRow->Skip(61); _PrintIfError(hr, "Skip(61)");
  429. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  430. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  431. hr = pRow->Skip(29); _PrintIfError(hr, "Skip(29)");
  432. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  433. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  434. hr = pRow->Skip(30); _PrintIfError(hr, "Skip(30)");
  435. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  436. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  437. hr = pRow->Skip(31); _PrintIfError(hr, "Skip(31)");
  438. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  439. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  440. hr = pRow->Skip(32); _PrintIfError(hr, "Skip(32)");
  441. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  442. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  443. hr = pRow->Skip(33); _PrintIfError(hr, "Skip(33)");
  444. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  445. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  446. hr = pRow->Skip(34); _PrintIfError(hr, "Skip(34)");
  447. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  448. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  449. hr = pRow->Skip(35); _PrintIfError(hr, "Skip(35)");
  450. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  451. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  452. hr = pRow->Skip(36); _PrintIfError(hr, "Skip(36)");
  453. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  454. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  455. hr = pRow->Skip(37); _PrintIfError(hr, "Skip(37)");
  456. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  457. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  458. hr = pRow->Skip(38); _PrintIfError(hr, "Skip(38)");
  459. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  460. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  461. hr = pRow->Skip(39); _PrintIfError(hr, "Skip(39)");
  462. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  463. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  464. hr = pRow->Skip(40); _PrintIfError(hr, "Skip(40)");
  465. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  466. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  467. hr = pRow->Skip(41); _PrintIfError(hr, "Skip(41)");
  468. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  469. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  470. hr = pRow->Skip(42); _PrintIfError(hr, "Skip(42)");
  471. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  472. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  473. hr = pRow->Skip(43); _PrintIfError(hr, "Skip(43)");
  474. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  475. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  476. hr = pRow->Skip(44); _PrintIfError(hr, "Skip(44)");
  477. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  478. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  479. hr = pRow->Skip(45); _PrintIfError(hr, "Skip(45)");
  480. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  481. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  482. hr = pRow->Skip(46); _PrintIfError(hr, "Skip(46)");
  483. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  484. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  485. hr = pRow->Skip(12); _PrintIfError(hr, "Skip(12)");
  486. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  487. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  488. hr = pRow->Skip(13); _PrintIfError(hr, "Skip(13)");
  489. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  490. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  491. hr = pRow->Skip(14); _PrintIfError(hr, "Skip(14)");
  492. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  493. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  494. hr = pRow->Skip(15); _PrintIfError(hr, "Skip(15)");
  495. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  496. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  497. hr = pRow->Skip(16); _PrintIfError(hr, "Skip(16)");
  498. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  499. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  500. hr = pRow->Skip(17); _PrintIfError(hr, "Skip(17)");
  501. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  502. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  503. hr = pRow->Skip(18); _PrintIfError(hr, "Skip(18)");
  504. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  505. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  506. hr = pRow->Skip(19); _PrintIfError(hr, "Skip(19)");
  507. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  508. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  509. hr = pRow->Skip(20); _PrintIfError(hr, "Skip(20)");
  510. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  511. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  512. hr = pRow->Skip(21); _PrintIfError(hr, "Skip(21)");
  513. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  514. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  515. hr = pRow->Skip(22); _PrintIfError(hr, "Skip(22)");
  516. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  517. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  518. hr = pRow->Skip(23); _PrintIfError(hr, "Skip(23)");
  519. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  520. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  521. hr = pRow->Skip(24); _PrintIfError(hr, "Skip(24)");
  522. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  523. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  524. hr = pRow->Skip(25); _PrintIfError(hr, "Skip(25)");
  525. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  526. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  527. hr = pRow->Skip(26); _PrintIfError(hr, "Skip(26)");
  528. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  529. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  530. hr = pRow->Skip(27); _PrintIfError(hr, "Skip(27)");
  531. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  532. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  533. hr = pRow->Skip(28); _PrintIfError(hr, "Skip(28)");
  534. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  535. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  536. hr = pRow->Skip(29); _PrintIfError(hr, "Skip(29)");
  537. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  538. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  539. hr = pRow->Skip(0); _PrintIfError(hr, "Skip(0)");
  540. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  541. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  542. hr = pRow->Skip(1); _PrintIfError(hr, "Skip(1)");
  543. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  544. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  545. hr = pRow->Skip(2); _PrintIfError(hr, "Skip(2)");
  546. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  547. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  548. hr = pRow->Skip(3); _PrintIfError(hr, "Skip(3)");
  549. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  550. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  551. hr = pRow->Skip(4); _PrintIfError(hr, "Skip(4)");
  552. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  553. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  554. hr = pRow->Skip(5); _PrintIfError(hr, "Skip(5)");
  555. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  556. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  557. hr = pRow->Skip(6); _PrintIfError(hr, "Skip(6)");
  558. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  559. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  560. hr = pRow->Skip(7); _PrintIfError(hr, "Skip(7)");
  561. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  562. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  563. hr = pRow->Skip(8); _PrintIfError(hr, "Skip(8)");
  564. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  565. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  566. hr = pRow->Skip(9); _PrintIfError(hr, "Skip(9)");
  567. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  568. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  569. hr = pRow->Skip(10); _PrintIfError(hr, "Skip(10)");
  570. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  571. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  572. hr = pRow->Skip(11); _PrintIfError(hr, "Skip(11)");
  573. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  574. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  575. hr = pRow->Skip(12); _PrintIfError(hr, "Skip(12)");
  576. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  577. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  578. hr = pRow->Skip(110); _PrintIfError(hr, "Skip(110)");
  579. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Expected END: Next");
  580. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  581. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  582. hr = pRow->Skip(81); _PrintIfError(hr, "Skip(81)");
  583. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  584. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  585. hr = pRow->Skip(82); _PrintIfError(hr, "Skip(82)");
  586. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  587. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  588. hr = pRow->Skip(83); _PrintIfError(hr, "Skip(83)");
  589. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  590. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  591. hr = pRow->Skip(84); _PrintIfError(hr, "Skip(84)");
  592. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  593. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  594. hr = pRow->Skip(85); _PrintIfError(hr, "Skip(85)");
  595. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  596. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  597. hr = pRow->Skip(86); _PrintIfError(hr, "Skip(86)");
  598. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  599. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  600. hr = pRow->Skip(87); _PrintIfError(hr, "Skip(87)");
  601. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  602. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  603. hr = pRow->Skip(88); _PrintIfError(hr, "Skip(88)");
  604. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  605. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  606. hr = pRow->Skip(89); _PrintIfError(hr, "Skip(89)");
  607. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  608. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  609. hr = pRow->Skip(90); _PrintIfError(hr, "Skip(90)");
  610. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  611. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  612. hr = pRow->Skip(91); _PrintIfError(hr, "Skip(91)");
  613. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  614. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  615. hr = pRow->Skip(92); _PrintIfError(hr, "Skip(92)");
  616. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  617. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  618. hr = pRow->Skip(93); _PrintIfError(hr, "Skip(93)");
  619. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  620. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  621. hr = pRow->Skip(94); _PrintIfError(hr, "Skip(94)");
  622. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  623. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  624. hr = pRow->Skip(95); _PrintIfError(hr, "Skip(95)");
  625. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  626. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  627. hr = pRow->Skip(96); _PrintIfError(hr, "Skip(96)");
  628. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  629. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  630. hr = pRow->Skip(97); _PrintIfError(hr, "Skip(97)");
  631. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  632. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  633. hr = pRow->Skip(98); _PrintIfError(hr, "Skip(98)");
  634. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  635. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  636. hr = pRow->Skip(0); _PrintIfError(hr, "Skip(0)");
  637. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  638. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  639. hr = pRow->Skip(1); _PrintIfError(hr, "Skip(1)");
  640. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  641. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  642. hr = pRow->Skip(2); _PrintIfError(hr, "Skip(2)");
  643. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  644. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  645. hr = pRow->Skip(3); _PrintIfError(hr, "Skip(3)");
  646. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  647. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  648. hr = pRow->Skip(4); _PrintIfError(hr, "Skip(4)");
  649. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  650. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  651. hr = pRow->Skip(5); _PrintIfError(hr, "Skip(5)");
  652. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  653. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  654. hr = pRow->Skip(6); _PrintIfError(hr, "Skip(6)");
  655. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  656. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  657. hr = pRow->Skip(7); _PrintIfError(hr, "Skip(7)");
  658. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  659. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  660. hr = pRow->Skip(8); _PrintIfError(hr, "Skip(8)");
  661. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  662. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  663. hr = pRow->Skip(9); _PrintIfError(hr, "Skip(9)");
  664. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  665. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  666. hr = pRow->Skip(10); _PrintIfError(hr, "Skip(10)");
  667. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  668. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  669. hr = pRow->Skip(11); _PrintIfError(hr, "Skip(11)");
  670. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  671. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  672. hr = pRow->Skip(12); _PrintIfError(hr, "Skip(12)");
  673. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  674. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  675. hr = pRow->Skip(13); _PrintIfError(hr, "Skip(13)");
  676. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  677. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  678. hr = pRow->Skip(14); _PrintIfError(hr, "Skip(14)");
  679. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  680. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  681. hr = pRow->Skip(15); _PrintIfError(hr, "Skip(15)");
  682. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  683. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  684. hr = pRow->Skip(16); _PrintIfError(hr, "Skip(16)");
  685. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  686. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  687. hr = pRow->Skip(17); _PrintIfError(hr, "Skip(17)");
  688. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  689. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  690. hr = pRow->Skip(18); _PrintIfError(hr, "Skip(18)");
  691. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  692. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  693. hr = pRow->Skip(0); _PrintIfError(hr, "Skip(0)");
  694. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  695. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  696. hr = pRow->Skip(1); _PrintIfError(hr, "Skip(1)");
  697. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  698. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  699. hr = pRow->Skip(2); _PrintIfError(hr, "Skip(2)");
  700. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  701. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  702. hr = pRow->Skip(3); _PrintIfError(hr, "Skip(3)");
  703. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  704. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  705. hr = pRow->Skip(4); _PrintIfError(hr, "Skip(4)");
  706. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  707. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  708. hr = pRow->Skip(5); _PrintIfError(hr, "Skip(5)");
  709. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  710. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  711. hr = pRow->Skip(6); _PrintIfError(hr, "Skip(6)");
  712. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  713. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  714. hr = pRow->Skip(7); _PrintIfError(hr, "Skip(7)");
  715. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  716. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  717. hr = pRow->Skip(8); _PrintIfError(hr, "Skip(8)");
  718. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  719. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  720. hr = pRow->Skip(9); _PrintIfError(hr, "Skip(9)");
  721. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  722. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  723. hr = pRow->Skip(10); _PrintIfError(hr, "Skip(10)");
  724. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  725. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  726. hr = pRow->Skip(11); _PrintIfError(hr, "Skip(11)");
  727. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  728. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  729. hr = pRow->Skip(12); _PrintIfError(hr, "Skip(12)");
  730. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  731. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  732. hr = pRow->Skip(13); _PrintIfError(hr, "Skip(13)");
  733. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  734. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  735. hr = pRow->Skip(14); _PrintIfError(hr, "Skip(14)");
  736. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  737. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  738. hr = pRow->Skip(15); _PrintIfError(hr, "Skip(15)");
  739. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  740. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  741. hr = pRow->Skip(16); _PrintIfError(hr, "Skip(16)");
  742. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  743. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  744. hr = pRow->Skip(17); _PrintIfError(hr, "Skip(17)");
  745. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  746. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  747. hr = pRow->Skip(18); _PrintIfError(hr, "Skip(18)");
  748. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  749. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  750. hr = pRow->Skip(19); _PrintIfError(hr, "Skip(19)");
  751. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  752. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  753. hr = pRow->Skip(20); _PrintIfError(hr, "Skip(20)");
  754. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  755. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  756. hr = pRow->Skip(21); _PrintIfError(hr, "Skip(21)");
  757. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  758. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  759. hr = pRow->Skip(22); _PrintIfError(hr, "Skip(22)");
  760. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  761. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  762. hr = pRow->Skip(23); _PrintIfError(hr, "Skip(23)");
  763. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  764. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  765. hr = pRow->Skip(24); _PrintIfError(hr, "Skip(24)");
  766. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  767. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  768. hr = pRow->Skip(25); _PrintIfError(hr, "Skip(25)");
  769. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  770. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  771. hr = pRow->Skip(26); _PrintIfError(hr, "Skip(26)");
  772. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  773. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  774. hr = pRow->Skip(27); _PrintIfError(hr, "Skip(27)");
  775. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  776. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  777. hr = pRow->Skip(28); _PrintIfError(hr, "Skip(28)");
  778. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  779. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  780. hr = pRow->Skip(29); _PrintIfError(hr, "Skip(29)");
  781. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  782. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  783. hr = pRow->Skip(30); _PrintIfError(hr, "Skip(30)");
  784. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  785. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  786. hr = pRow->Skip(31); _PrintIfError(hr, "Skip(31)");
  787. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  788. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  789. hr = pRow->Skip(32); _PrintIfError(hr, "Skip(32)");
  790. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  791. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  792. hr = pRow->Skip(33); _PrintIfError(hr, "Skip(33)");
  793. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  794. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  795. hr = pRow->Skip(34); _PrintIfError(hr, "Skip(34)");
  796. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  797. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  798. hr = pRow->Skip(35); _PrintIfError(hr, "Skip(35)");
  799. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  800. wprintf(L"About to Reset+Skip(17)+Next\n");
  801. hr = pRow->Reset(); _PrintIfError(hr, "Reset");
  802. hr = pRow->Skip(17); _PrintIfError(hr, "Skip(17)");
  803. hr = RowNext(pRow, &lNext); _PrintIfError(hr, "Next");
  804. }