| 10 | { |
| 11 | |
| 12 | CFlashUI::CFlashUI(void) |
| 13 | : m_dwRef(0) |
| 14 | , m_dwCookie(0) |
| 15 | , m_pFlash(NULL) |
| 16 | , m_pFlashEventHandler(NULL) |
| 17 | { |
| 18 | CDuiString strFlashCLSID=_T("{D27CDB6E-AE6D-11CF-96B8-444553540000}"); |
| 19 | OLECHAR szCLSID[100] = { 0 }; |
| 20 | #ifndef _UNICODE |
| 21 | ::MultiByteToWideChar(::GetACP(), 0, strFlashCLSID, -1, szCLSID, lengthof(szCLSID) - 1); |
| 22 | #else |
| 23 | _tcsncpy(szCLSID, strFlashCLSID, lengthof(szCLSID) - 1); |
| 24 | #endif |
| 25 | ::CLSIDFromString(szCLSID, &m_clsid); |
| 26 | } |
| 27 | |
| 28 | CFlashUI::~CFlashUI(void) |
| 29 | { |
nothing calls this directly
no outgoing calls
no test coverage detected