shockwaveflash.cpp 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573
  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  3. // Microsoft Visual C++, your modifications will be overwritten.
  4. #include "stdafx.h"
  5. #include "shockwaveflash.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CShockwaveFlash
  8. IMPLEMENT_DYNCREATE(CShockwaveFlash, CWnd)
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CShockwaveFlash properties
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CShockwaveFlash operations
  13. long CShockwaveFlash::GetReadyState()
  14. {
  15. long result;
  16. InvokeHelper(DISPID_READYSTATE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  17. return result;
  18. }
  19. long CShockwaveFlash::GetTotalFrames()
  20. {
  21. long result;
  22. InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  23. return result;
  24. }
  25. BOOL CShockwaveFlash::GetPlaying()
  26. {
  27. BOOL result;
  28. InvokeHelper(0x7d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  29. return result;
  30. }
  31. void CShockwaveFlash::SetPlaying(BOOL bNewValue)
  32. {
  33. static BYTE parms[] =
  34. VTS_BOOL;
  35. InvokeHelper(0x7d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  36. bNewValue);
  37. }
  38. long CShockwaveFlash::GetQuality()
  39. {
  40. long result;
  41. InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  42. return result;
  43. }
  44. void CShockwaveFlash::SetQuality(long nNewValue)
  45. {
  46. static BYTE parms[] =
  47. VTS_I4;
  48. InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  49. nNewValue);
  50. }
  51. long CShockwaveFlash::GetScaleMode()
  52. {
  53. long result;
  54. InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  55. return result;
  56. }
  57. void CShockwaveFlash::SetScaleMode(long nNewValue)
  58. {
  59. static BYTE parms[] =
  60. VTS_I4;
  61. InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  62. nNewValue);
  63. }
  64. long CShockwaveFlash::GetAlignMode()
  65. {
  66. long result;
  67. InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  68. return result;
  69. }
  70. void CShockwaveFlash::SetAlignMode(long nNewValue)
  71. {
  72. static BYTE parms[] =
  73. VTS_I4;
  74. InvokeHelper(0x79, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  75. nNewValue);
  76. }
  77. long CShockwaveFlash::GetBackgroundColor()
  78. {
  79. long result;
  80. InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  81. return result;
  82. }
  83. void CShockwaveFlash::SetBackgroundColor(long nNewValue)
  84. {
  85. static BYTE parms[] =
  86. VTS_I4;
  87. InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  88. nNewValue);
  89. }
  90. BOOL CShockwaveFlash::GetLoop()
  91. {
  92. BOOL result;
  93. InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  94. return result;
  95. }
  96. void CShockwaveFlash::SetLoop(BOOL bNewValue)
  97. {
  98. static BYTE parms[] =
  99. VTS_BOOL;
  100. InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  101. bNewValue);
  102. }
  103. CString CShockwaveFlash::GetMovie()
  104. {
  105. CString result;
  106. InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  107. return result;
  108. }
  109. void CShockwaveFlash::SetMovie(LPCTSTR lpszNewValue)
  110. {
  111. static BYTE parms[] =
  112. VTS_BSTR;
  113. InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  114. lpszNewValue);
  115. }
  116. long CShockwaveFlash::GetFrameNum()
  117. {
  118. long result;
  119. InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  120. return result;
  121. }
  122. void CShockwaveFlash::SetFrameNum(long nNewValue)
  123. {
  124. static BYTE parms[] =
  125. VTS_I4;
  126. InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  127. nNewValue);
  128. }
  129. void CShockwaveFlash::SetZoomRect(long left, long top, long right, long bottom)
  130. {
  131. static BYTE parms[] =
  132. VTS_I4 VTS_I4 VTS_I4 VTS_I4;
  133. InvokeHelper(0x6d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  134. left, top, right, bottom);
  135. }
  136. void CShockwaveFlash::Zoom(long factor)
  137. {
  138. static BYTE parms[] =
  139. VTS_I4;
  140. InvokeHelper(0x76, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  141. factor);
  142. }
  143. void CShockwaveFlash::Pan(long x, long y, long mode)
  144. {
  145. static BYTE parms[] =
  146. VTS_I4 VTS_I4 VTS_I4;
  147. InvokeHelper(0x77, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  148. x, y, mode);
  149. }
  150. void CShockwaveFlash::Play()
  151. {
  152. InvokeHelper(0x70, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  153. }
  154. void CShockwaveFlash::Stop()
  155. {
  156. InvokeHelper(0x71, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  157. }
  158. void CShockwaveFlash::Back()
  159. {
  160. InvokeHelper(0x72, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  161. }
  162. void CShockwaveFlash::Forward()
  163. {
  164. InvokeHelper(0x73, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  165. }
  166. void CShockwaveFlash::Rewind()
  167. {
  168. InvokeHelper(0x74, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  169. }
  170. void CShockwaveFlash::StopPlay()
  171. {
  172. InvokeHelper(0x7e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  173. }
  174. void CShockwaveFlash::GotoFrame(long FrameNum)
  175. {
  176. static BYTE parms[] =
  177. VTS_I4;
  178. InvokeHelper(0x7f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  179. FrameNum);
  180. }
  181. long CShockwaveFlash::CurrentFrame()
  182. {
  183. long result;
  184. InvokeHelper(0x80, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  185. return result;
  186. }
  187. BOOL CShockwaveFlash::IsPlaying()
  188. {
  189. BOOL result;
  190. InvokeHelper(0x81, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
  191. return result;
  192. }
  193. long CShockwaveFlash::PercentLoaded()
  194. {
  195. long result;
  196. InvokeHelper(0x82, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  197. return result;
  198. }
  199. BOOL CShockwaveFlash::FrameLoaded(long FrameNum)
  200. {
  201. BOOL result;
  202. static BYTE parms[] =
  203. VTS_I4;
  204. InvokeHelper(0x83, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  205. FrameNum);
  206. return result;
  207. }
  208. long CShockwaveFlash::FlashVersion()
  209. {
  210. long result;
  211. InvokeHelper(0x84, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
  212. return result;
  213. }
  214. CString CShockwaveFlash::GetWMode()
  215. {
  216. CString result;
  217. InvokeHelper(0x85, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  218. return result;
  219. }
  220. void CShockwaveFlash::SetWMode(LPCTSTR lpszNewValue)
  221. {
  222. static BYTE parms[] =
  223. VTS_BSTR;
  224. InvokeHelper(0x85, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  225. lpszNewValue);
  226. }
  227. CString CShockwaveFlash::GetSAlign()
  228. {
  229. CString result;
  230. InvokeHelper(0x86, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  231. return result;
  232. }
  233. void CShockwaveFlash::SetSAlign(LPCTSTR lpszNewValue)
  234. {
  235. static BYTE parms[] =
  236. VTS_BSTR;
  237. InvokeHelper(0x86, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  238. lpszNewValue);
  239. }
  240. BOOL CShockwaveFlash::GetMenu()
  241. {
  242. BOOL result;
  243. InvokeHelper(0x87, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  244. return result;
  245. }
  246. void CShockwaveFlash::SetMenu(BOOL bNewValue)
  247. {
  248. static BYTE parms[] =
  249. VTS_BOOL;
  250. InvokeHelper(0x87, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  251. bNewValue);
  252. }
  253. CString CShockwaveFlash::GetBase()
  254. {
  255. CString result;
  256. InvokeHelper(0x88, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  257. return result;
  258. }
  259. void CShockwaveFlash::SetBase(LPCTSTR lpszNewValue)
  260. {
  261. static BYTE parms[] =
  262. VTS_BSTR;
  263. InvokeHelper(0x88, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  264. lpszNewValue);
  265. }
  266. CString CShockwaveFlash::GetScale()
  267. {
  268. CString result;
  269. InvokeHelper(0x89, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  270. return result;
  271. }
  272. void CShockwaveFlash::SetScale(LPCTSTR lpszNewValue)
  273. {
  274. static BYTE parms[] =
  275. VTS_BSTR;
  276. InvokeHelper(0x89, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  277. lpszNewValue);
  278. }
  279. BOOL CShockwaveFlash::GetDeviceFont()
  280. {
  281. BOOL result;
  282. InvokeHelper(0x8a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  283. return result;
  284. }
  285. void CShockwaveFlash::SetDeviceFont(BOOL bNewValue)
  286. {
  287. static BYTE parms[] =
  288. VTS_BOOL;
  289. InvokeHelper(0x8a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  290. bNewValue);
  291. }
  292. BOOL CShockwaveFlash::GetEmbedMovie()
  293. {
  294. BOOL result;
  295. InvokeHelper(0x8b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  296. return result;
  297. }
  298. void CShockwaveFlash::SetEmbedMovie(BOOL bNewValue)
  299. {
  300. static BYTE parms[] =
  301. VTS_BOOL;
  302. InvokeHelper(0x8b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  303. bNewValue);
  304. }
  305. CString CShockwaveFlash::GetBGColor()
  306. {
  307. CString result;
  308. InvokeHelper(0x8c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  309. return result;
  310. }
  311. void CShockwaveFlash::SetBGColor(LPCTSTR lpszNewValue)
  312. {
  313. static BYTE parms[] =
  314. VTS_BSTR;
  315. InvokeHelper(0x8c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  316. lpszNewValue);
  317. }
  318. CString CShockwaveFlash::GetQuality2()
  319. {
  320. CString result;
  321. InvokeHelper(0x8d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  322. return result;
  323. }
  324. void CShockwaveFlash::SetQuality2(LPCTSTR lpszNewValue)
  325. {
  326. static BYTE parms[] =
  327. VTS_BSTR;
  328. InvokeHelper(0x8d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  329. lpszNewValue);
  330. }
  331. void CShockwaveFlash::LoadMovie(long layer, LPCTSTR url)
  332. {
  333. static BYTE parms[] =
  334. VTS_I4 VTS_BSTR;
  335. InvokeHelper(0x8e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  336. layer, url);
  337. }
  338. void CShockwaveFlash::TGotoFrame(LPCTSTR target, long FrameNum)
  339. {
  340. static BYTE parms[] =
  341. VTS_BSTR VTS_I4;
  342. InvokeHelper(0x8f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  343. target, FrameNum);
  344. }
  345. void CShockwaveFlash::TGotoLabel(LPCTSTR target, LPCTSTR label)
  346. {
  347. static BYTE parms[] =
  348. VTS_BSTR VTS_BSTR;
  349. InvokeHelper(0x90, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  350. target, label);
  351. }
  352. long CShockwaveFlash::TCurrentFrame(LPCTSTR target)
  353. {
  354. long result;
  355. static BYTE parms[] =
  356. VTS_BSTR;
  357. InvokeHelper(0x91, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
  358. target);
  359. return result;
  360. }
  361. CString CShockwaveFlash::TCurrentLabel(LPCTSTR target)
  362. {
  363. CString result;
  364. static BYTE parms[] =
  365. VTS_BSTR;
  366. InvokeHelper(0x92, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
  367. target);
  368. return result;
  369. }
  370. void CShockwaveFlash::TPlay(LPCTSTR target)
  371. {
  372. static BYTE parms[] =
  373. VTS_BSTR;
  374. InvokeHelper(0x93, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  375. target);
  376. }
  377. void CShockwaveFlash::TStopPlay(LPCTSTR target)
  378. {
  379. static BYTE parms[] =
  380. VTS_BSTR;
  381. InvokeHelper(0x94, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  382. target);
  383. }
  384. void CShockwaveFlash::SetVariable(LPCTSTR name, LPCTSTR value)
  385. {
  386. static BYTE parms[] =
  387. VTS_BSTR VTS_BSTR;
  388. InvokeHelper(0x97, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  389. name, value);
  390. }
  391. CString CShockwaveFlash::GetVariable(LPCTSTR name)
  392. {
  393. CString result;
  394. static BYTE parms[] =
  395. VTS_BSTR;
  396. InvokeHelper(0x98, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
  397. name);
  398. return result;
  399. }
  400. void CShockwaveFlash::TSetProperty(LPCTSTR target, long property, LPCTSTR value)
  401. {
  402. static BYTE parms[] =
  403. VTS_BSTR VTS_I4 VTS_BSTR;
  404. InvokeHelper(0x99, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  405. target, property, value);
  406. }
  407. CString CShockwaveFlash::TGetProperty(LPCTSTR target, long property)
  408. {
  409. CString result;
  410. static BYTE parms[] =
  411. VTS_BSTR VTS_I4;
  412. InvokeHelper(0x9a, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
  413. target, property);
  414. return result;
  415. }
  416. void CShockwaveFlash::TCallFrame(LPCTSTR target, long FrameNum)
  417. {
  418. static BYTE parms[] =
  419. VTS_BSTR VTS_I4;
  420. InvokeHelper(0x9b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  421. target, FrameNum);
  422. }
  423. void CShockwaveFlash::TCallLabel(LPCTSTR target, LPCTSTR label)
  424. {
  425. static BYTE parms[] =
  426. VTS_BSTR VTS_BSTR;
  427. InvokeHelper(0x9c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  428. target, label);
  429. }
  430. void CShockwaveFlash::TSetPropertyNum(LPCTSTR target, long property, double value)
  431. {
  432. static BYTE parms[] =
  433. VTS_BSTR VTS_I4 VTS_R8;
  434. InvokeHelper(0x9d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  435. target, property, value);
  436. }
  437. double CShockwaveFlash::TGetPropertyNum(LPCTSTR target, long property)
  438. {
  439. double result;
  440. static BYTE parms[] =
  441. VTS_BSTR VTS_I4;
  442. InvokeHelper(0x9e, DISPATCH_METHOD, VT_R8, (void*)&result, parms,
  443. target, property);
  444. return result;
  445. }
  446. double CShockwaveFlash::TGetPropertyAsNumber(LPCTSTR target, long property)
  447. {
  448. double result;
  449. static BYTE parms[] =
  450. VTS_BSTR VTS_I4;
  451. InvokeHelper(0xac, DISPATCH_METHOD, VT_R8, (void*)&result, parms,
  452. target, property);
  453. return result;
  454. }
  455. CString CShockwaveFlash::GetSWRemote()
  456. {
  457. CString result;
  458. InvokeHelper(0x9f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  459. return result;
  460. }
  461. void CShockwaveFlash::SetSWRemote(LPCTSTR lpszNewValue)
  462. {
  463. static BYTE parms[] =
  464. VTS_BSTR;
  465. InvokeHelper(0x9f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  466. lpszNewValue);
  467. }
  468. CString CShockwaveFlash::GetFlashVars()
  469. {
  470. CString result;
  471. InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  472. return result;
  473. }
  474. void CShockwaveFlash::SetFlashVars(LPCTSTR lpszNewValue)
  475. {
  476. static BYTE parms[] =
  477. VTS_BSTR;
  478. InvokeHelper(0xaa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  479. lpszNewValue);
  480. }
  481. CString CShockwaveFlash::GetAllowScriptAccess()
  482. {
  483. CString result;
  484. InvokeHelper(0xab, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  485. return result;
  486. }
  487. void CShockwaveFlash::SetAllowScriptAccess(LPCTSTR lpszNewValue)
  488. {
  489. static BYTE parms[] =
  490. VTS_BSTR;
  491. InvokeHelper(0xab, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  492. lpszNewValue);
  493. }