|
typedef BOOL (*SIPSHOWIM)(DWORD);
SIPSHOWIM pSipShowIM;
m_hmCore = (HMODULE) LoadLibrary(_T("coredll.dll"));
if(m_hmCore != NULL)
{
pSipShowIM = (SIPSHOWIM) GetProcAddress(m_hmCore, _T("SipShowIM"));
if(pSipShowIM == NULL)
{
FreeLibrary(m_hmCore);
}
}
pSipShowIM(1);
or
pSipShowIM(0);
|
|