16,466
社区成员
发帖
与我相关
我的任务
分享
typedef HRESULT (__stdcall * COINTERNETSETFEATUREENABLED)(int,DWORD,BOOL);
HINSTANCE hDll = LoadLibrary("urlmon.dll");
if(hDll)
{
COINTERNETSETFEATUREENABLED hFun =
(COINTERNETSETFEATUREENABLED)GetProcAddress(hDll,"CoInternetSetFeatureEnabled");
if(hFun)
{
if(SUCCEEDED(hFun(12,0x00000002|0x00000020|0x00000010,FALSE)))
MessageBox("ok");
}
}