#include <windows.h>
#include <lmcons.h>
#include <wininet.h>
#include <stdio.h>
#pragma comment(lib,"wininet.lib")
void
WalkCache ()
{
BYTE byBuffer[20480];
LPINTERNET_CACHE_ENTRY_INFO lpInfo = LPINTERNET_CACHE_ENTRY_INFO
(byBuffer);
DWORD dwSize = sizeof (byBuffer);;
lpInfo->dwStructSize = sizeof (INTERNET_CACHE_ENTRY_INFO);
HANDLE h;
BOOL bSuccess = TRUE;
for (h = FindFirstUrlCacheEntryEx (NULL, 0,
URLCACHE_FIND_DEFAULT_FILTER,
0, lpInfo, &dwSize, 0, 0, 0);
h && bSuccess;
bSuccess = FindNextUrlCacheEntryEx (h, lpInfo, &dwSize, 0, 0, 0))
{
dwSize = sizeof (byBuffer);
printf ("%s/n", lpInfo->lpszSourceUrlName);
} FindCloseUrlCache (h);
}
int
main (int argc, char **argv)
{
WalkCache ();
return 0;
}
Get All IE Info from win32 api
相關文章
- 023 Given an integer n. get the number of 0, 2, 4 from all the values from [0, n]
- Get data style from ExcelExcel
- get_data_from_yml
- Slave failed to initialize relay log info structure from the repositoryAIStruct
- httpd: apr_sockaddr_info_get() failed for bogonhttpdAIGo
- Get your Windows product key from a scriptWindows
- Win32常用API講解Win32API
- Map all result column from TIBCO JDBC QueryJDBC
- ABAP FM: REUSE_ALV_GRID_LAYOUT_INFO_GET
- jedis異常:Could not get a resource from the pool
- How to get ORACLE_HOME from data dictionaryOracle
- How to get the exact duration of an audio file in js All In OneJS
- 【rac故障】root.sh報錯Unable to get VIP info for new node
- Starting httpd: httpd: apr_sockaddr_info_get() failed for subversionhttpdAI
- LeetCode之All Paths From Source to Target(Kotlin)LeetCodeKotlin
- LeetCode-Shortest Distance from All BuildingsLeetCodeUI
- 常用Win32 API函式簡介Win32API函式
- IE相關的API (轉)API
- You do not have permission to get URL ‘/’ from this server解決方案Server
- [LeetCode] 317. Shortest Distance from All BuildingsLeetCodeUI
- Win32除錯API的另類應用Win32除錯API
- Delphi Win32 API 使用的特殊情況 (轉)Win32API
- Win32除錯API學習心得(一) (轉)Win32除錯API
- win32除錯API學習心得(三) (轉)Win32除錯API
- Win32除錯API學習心得(二) (轉)Win32除錯API
- Promise.all API 的出錯處理PromiseAPI
- ImportError: cannot import name 'get_ora_doc' from partially initialized moduleImportErrorZed
- 透過API訪問IE Cache (轉)API
- How to return plain text from AWS Lambda & API GatewayAIAPIGateway
- MySQL 5.7.17 安裝報錯SSL error: Unable to get private key fromMySqlError
- 【論文閱讀】CVPR2022: Learning from all vehicles
- mybatis中insert into ...select ...from dual union all select ... from dual 提示sql命令未結束的問題MyBatisSQL
- 使用 Win32 API 將原始資料傳送到印表機Win32API
- CreateDialog Win32 API呼叫的一個小問題Win32API
- google api , using a refresh token to get the access tokenGoAPI
- QEMU info
- redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the poolRedisclientException
- To get TaskID's Integer ID value from the GUID in SharePoint workflowGUI