IUrlHistoryStg2* pIEHistory; HRESULT hr; DWORD dwRef = 0; CoInitialize( NULL ); hr = CoCreateInstance(CLSID_CUrlHistory, NULL, CLSCTX_INPROC, IID_IUrlHistoryStg2, reinterpret_cast<void>( &pIEHistory ) ); if( SUCCEEDED(hr) ) { hr = pIEHistory->ClearHistory(); } dwRef = pIEHistory->Release(); CoUninitialize(); </void>
shlguid.h
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)