- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 c++获取文件(夹)属性
HRESULT GetFolderTime( const wstring wstrPath, wstring &wstrRes){ if ( wstrPath.length() { return -1; } wstring wstrShortPath; int iPos2 = wstrPath.rfind( L"//"); wstrShortPath = wstrPath.substr(
2009-09-18 18:04:00
1729
原创 有关sim卡联系人和短信的操作(wm)
函数功能:读取sim联系人列表 SIMPHONEBOOKENTRY ContactOutBuf; SIMCAPS simcaps; BOOL bOpenSim = false; DWORD dwRecNum = 0; DWORD dwCurRec = 0; DWORD dwLocation = 0; HSIM hSim; memset( &simcaps, 0,sizeof( &
2009-09-18 17:37:00
2286
原创 结束进程
//dwProcessID为要结束的进程idHANDLE hProcess = OpenProcess( 0, FALSE, dwProcessID); if( NULL != hProcess) { BOOL bIsSucceed = ::TerminateProcess( hProcess, 0);//终止该进程 CloseHandle (hProcess); // 关闭句
2009-09-18 17:20:00
426
原创 取得mobile系统进程列表(名称、路径、ID)
HANDLE hSnapshot = NULL; PROCESSENTRY32 processinfo ; processinfo.dwSize = sizeof (processinfo) ;//创建镜像 hSnapshot = CreateToolhelp32Snapshot (TH32CS_SNAPPROCESS, 0) ; if ( NULL == hSnapshot) { re
2009-09-18 17:07:00
553
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人