123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573 |
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- #include "stdafx.h"
- #include "shockwaveflash.h"
- /////////////////////////////////////////////////////////////////////////////
- // CShockwaveFlash
- IMPLEMENT_DYNCREATE(CShockwaveFlash, CWnd)
- /////////////////////////////////////////////////////////////////////////////
- // CShockwaveFlash properties
- /////////////////////////////////////////////////////////////////////////////
- // CShockwaveFlash operations
- long CShockwaveFlash::GetReadyState()
- {
- long result;
- InvokeHelper(DISPID_READYSTATE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long CShockwaveFlash::GetTotalFrames()
- {
- long result;
- InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL CShockwaveFlash::GetPlaying()
- {
- BOOL result;
- InvokeHelper(0x7d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetPlaying(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x7d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CShockwaveFlash::GetQuality()
- {
- long result;
- InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetQuality(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CShockwaveFlash::GetScaleMode()
- {
- long result;
- InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetScaleMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CShockwaveFlash::GetAlignMode()
- {
- long result;
- InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetAlignMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x79, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CShockwaveFlash::GetBackgroundColor()
- {
- long result;
- InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetBackgroundColor(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CShockwaveFlash::GetLoop()
- {
- BOOL result;
- InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetLoop(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CString CShockwaveFlash::GetMovie()
- {
- CString result;
- InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetMovie(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long CShockwaveFlash::GetFrameNum()
- {
- long result;
- InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetFrameNum(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- void CShockwaveFlash::SetZoomRect(long left, long top, long right, long bottom)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_I4 VTS_I4;
- InvokeHelper(0x6d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- left, top, right, bottom);
- }
- void CShockwaveFlash::Zoom(long factor)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x76, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- factor);
- }
- void CShockwaveFlash::Pan(long x, long y, long mode)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_I4;
- InvokeHelper(0x77, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- x, y, mode);
- }
- void CShockwaveFlash::Play()
- {
- InvokeHelper(0x70, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CShockwaveFlash::Stop()
- {
- InvokeHelper(0x71, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CShockwaveFlash::Back()
- {
- InvokeHelper(0x72, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CShockwaveFlash::Forward()
- {
- InvokeHelper(0x73, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CShockwaveFlash::Rewind()
- {
- InvokeHelper(0x74, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CShockwaveFlash::StopPlay()
- {
- InvokeHelper(0x7e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CShockwaveFlash::GotoFrame(long FrameNum)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x7f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- FrameNum);
- }
- long CShockwaveFlash::CurrentFrame()
- {
- long result;
- InvokeHelper(0x80, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL CShockwaveFlash::IsPlaying()
- {
- BOOL result;
- InvokeHelper(0x81, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long CShockwaveFlash::PercentLoaded()
- {
- long result;
- InvokeHelper(0x82, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL CShockwaveFlash::FrameLoaded(long FrameNum)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x83, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- FrameNum);
- return result;
- }
- long CShockwaveFlash::FlashVersion()
- {
- long result;
- InvokeHelper(0x84, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
- return result;
- }
- CString CShockwaveFlash::GetWMode()
- {
- CString result;
- InvokeHelper(0x85, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetWMode(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x85, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CShockwaveFlash::GetSAlign()
- {
- CString result;
- InvokeHelper(0x86, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetSAlign(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x86, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL CShockwaveFlash::GetMenu()
- {
- BOOL result;
- InvokeHelper(0x87, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetMenu(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x87, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CString CShockwaveFlash::GetBase()
- {
- CString result;
- InvokeHelper(0x88, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetBase(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x88, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CShockwaveFlash::GetScale()
- {
- CString result;
- InvokeHelper(0x89, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetScale(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x89, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL CShockwaveFlash::GetDeviceFont()
- {
- BOOL result;
- InvokeHelper(0x8a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetDeviceFont(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x8a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CShockwaveFlash::GetEmbedMovie()
- {
- BOOL result;
- InvokeHelper(0x8b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetEmbedMovie(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x8b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CString CShockwaveFlash::GetBGColor()
- {
- CString result;
- InvokeHelper(0x8c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetBGColor(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x8c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CShockwaveFlash::GetQuality2()
- {
- CString result;
- InvokeHelper(0x8d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetQuality2(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x8d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- void CShockwaveFlash::LoadMovie(long layer, LPCTSTR url)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0x8e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- layer, url);
- }
- void CShockwaveFlash::TGotoFrame(LPCTSTR target, long FrameNum)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_I4;
- InvokeHelper(0x8f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- target, FrameNum);
- }
- void CShockwaveFlash::TGotoLabel(LPCTSTR target, LPCTSTR label)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR;
- InvokeHelper(0x90, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- target, label);
- }
- long CShockwaveFlash::TCurrentFrame(LPCTSTR target)
- {
- long result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x91, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- target);
- return result;
- }
- CString CShockwaveFlash::TCurrentLabel(LPCTSTR target)
- {
- CString result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x92, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- target);
- return result;
- }
- void CShockwaveFlash::TPlay(LPCTSTR target)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x93, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- target);
- }
- void CShockwaveFlash::TStopPlay(LPCTSTR target)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x94, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- target);
- }
- void CShockwaveFlash::SetVariable(LPCTSTR name, LPCTSTR value)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR;
- InvokeHelper(0x97, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- name, value);
- }
- CString CShockwaveFlash::GetVariable(LPCTSTR name)
- {
- CString result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x98, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- name);
- return result;
- }
- void CShockwaveFlash::TSetProperty(LPCTSTR target, long property, LPCTSTR value)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_I4 VTS_BSTR;
- InvokeHelper(0x99, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- target, property, value);
- }
- CString CShockwaveFlash::TGetProperty(LPCTSTR target, long property)
- {
- CString result;
- static BYTE parms[] =
- VTS_BSTR VTS_I4;
- InvokeHelper(0x9a, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- target, property);
- return result;
- }
- void CShockwaveFlash::TCallFrame(LPCTSTR target, long FrameNum)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_I4;
- InvokeHelper(0x9b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- target, FrameNum);
- }
- void CShockwaveFlash::TCallLabel(LPCTSTR target, LPCTSTR label)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR;
- InvokeHelper(0x9c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- target, label);
- }
- void CShockwaveFlash::TSetPropertyNum(LPCTSTR target, long property, double value)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_I4 VTS_R8;
- InvokeHelper(0x9d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- target, property, value);
- }
- double CShockwaveFlash::TGetPropertyNum(LPCTSTR target, long property)
- {
- double result;
- static BYTE parms[] =
- VTS_BSTR VTS_I4;
- InvokeHelper(0x9e, DISPATCH_METHOD, VT_R8, (void*)&result, parms,
- target, property);
- return result;
- }
- double CShockwaveFlash::TGetPropertyAsNumber(LPCTSTR target, long property)
- {
- double result;
- static BYTE parms[] =
- VTS_BSTR VTS_I4;
- InvokeHelper(0xac, DISPATCH_METHOD, VT_R8, (void*)&result, parms,
- target, property);
- return result;
- }
- CString CShockwaveFlash::GetSWRemote()
- {
- CString result;
- InvokeHelper(0x9f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetSWRemote(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x9f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CShockwaveFlash::GetFlashVars()
- {
- CString result;
- InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetFlashVars(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xaa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CShockwaveFlash::GetAllowScriptAccess()
- {
- CString result;
- InvokeHelper(0xab, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CShockwaveFlash::SetAllowScriptAccess(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xab, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
|