本文整理汇总了C++中CHttpDownloadDlg::IsKindOf方法的典型用法代码示例。如果您正苦于以下问题:C++ CHttpDownloadDlg::IsKindOf方法的具体用法?C++ CHttpDownloadDlg::IsKindOf怎么用?C++ CHttpDownloadDlg::IsKindOf使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CHttpDownloadDlg
的用法示例。
在下文中一共展示了CHttpDownloadDlg::IsKindOf方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: _OnStatusCallBack
void CALLBACK CHttpDownloadDlg::_OnStatusCallBack(HINTERNET hInternet, DWORD dwContext, DWORD dwInternetStatus,
LPVOID lpvStatusInformation, DWORD dwStatusInformationLength)
{
CHttpDownloadDlg* pDlg = (CHttpDownloadDlg*) dwContext;
ASSERT(pDlg);
ASSERT(pDlg->IsKindOf(RUNTIME_CLASS(CHttpDownloadDlg)));
pDlg->OnStatusCallBack(hInternet, dwInternetStatus, lpvStatusInformation, dwStatusInformationLength);
}
示例2: _DownloadThread
UINT CHttpDownloadDlg::_DownloadThread(LPVOID pParam)
{
//Convert from the SDK world to the C++ world
CHttpDownloadDlg* pDlg = (CHttpDownloadDlg*) pParam;
ASSERT(pDlg);
ASSERT(pDlg->IsKindOf(RUNTIME_CLASS(CHttpDownloadDlg)));
pDlg->DownloadThread();
return 0;
}
示例3: _DownloadThread
UINT AFX_CDECL CHttpDownloadDlg::_DownloadThread(LPVOID pParam)
{
DbgSetThreadName("HttpDownload");
InitThreadLocale();
//Convert from the SDK world to the C++ world
CHttpDownloadDlg* pDlg = (CHttpDownloadDlg*) pParam;
ASSERT(pDlg);
ASSERT(pDlg->IsKindOf(RUNTIME_CLASS(CHttpDownloadDlg)));
pDlg->DownloadThread();
return 0;
}
示例4: _DownloadThread
UINT AFX_CDECL CHttpDownloadDlg::_DownloadThread(LPVOID pParam)
{
DbgSetThreadName("HttpDownload");
InitThreadLocale();
//Convert from the SDK world to the C++ world
CHttpDownloadDlg* pDlg = (CHttpDownloadDlg*) pParam;
ASSERT(pDlg);
ASSERT(pDlg->IsKindOf(RUNTIME_CLASS(CHttpDownloadDlg)));
// BEGIN SLUGFILLER: SafeHash
CReadWriteLock lock(&theApp.m_threadlock);
if (!lock.ReadLock(1000))
{
// netfinity: Make sure we doesn't get stuck
pDlg->HandleThreadError(GetResString(IDS_HTTPDOWNLOAD_GENERIC_ERROR));
return 0;
}
// END SLUGFILLER: SafeHash
pDlg->DownloadThread();
return 0;
}