|
|
@ -467,7 +467,8 @@ CShellExt::CShellExt() : |
|
|
|
m_nameLength(0), |
|
|
|
m_nameLength(0), |
|
|
|
m_nameMaxLength(maxText), |
|
|
|
m_nameMaxLength(maxText), |
|
|
|
m_isDynamic(false), |
|
|
|
m_isDynamic(false), |
|
|
|
m_winVer(0) |
|
|
|
m_winVer(0), |
|
|
|
|
|
|
|
m_hBitmap(NULL) |
|
|
|
{ |
|
|
|
{ |
|
|
|
TCHAR szKeyTemp [MAX_PATH + GUID_STRING_SIZE]; |
|
|
|
TCHAR szKeyTemp [MAX_PATH + GUID_STRING_SIZE]; |
|
|
|
ZeroMemory(&m_stgMedium, sizeof(m_stgMedium)); |
|
|
|
ZeroMemory(&m_stgMedium, sizeof(m_stgMedium)); |
|
|
@ -533,6 +534,9 @@ CShellExt::~CShellExt() { |
|
|
|
DeinitTheming(); |
|
|
|
DeinitTheming(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (m_hBitmap != NULL && m_hBitmap != HBMMENU_CALLBACK) |
|
|
|
|
|
|
|
DeleteBitmap(m_hBitmap); |
|
|
|
|
|
|
|
|
|
|
|
if (m_pDataObj) |
|
|
|
if (m_pDataObj) |
|
|
|
m_pDataObj->Release(); |
|
|
|
m_pDataObj->Release(); |
|
|
|
_cRef--; |
|
|
|
_cRef--; |
|
|
@ -648,6 +652,7 @@ STDMETHODIMP CShellExt::QueryContextMenu(HMENU hMenu, UINT indexMenu, UINT idCmd |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
m_hBitmap = icon; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
m_hMenu = hMenu; |
|
|
|
m_hMenu = hMenu; |
|
|
|