| windows文件保护机制 |
| 作者:内详 来源:网络搜集 点击数:
更新时间:2008-3-31 18:10:58 |
|
|
// Windows NT/2000: Requires Windows 2000. // Windows 95/98: Unsupported. // Windows CE: Unsupported. // Header: Declared in sfc.h. // Import Library: Use sfc.lib. // // See Also: // // SfcGetNextProtectedFile //
if ( ( a_SfcIsFileProtected = GetProcAddress( hSFC, "SfcIsFileProtected")) == NULL) { FreeLibrary( hSFC) ; printf( "Error: Api SfcIsFileProtected not found\n\n", argv[ 0]) ;
return -1 ; }
MultiByteToWideChar(CP_ACP, 0, argv[ 1], -1, wszFileName, MAX_PATH) ;
if ( a_SfcIsFileProtected( NULL, wszFileName)) printf( "Protected file\n\n") ; else printf( "Unprotected file\n\n") ; } else { // // SfcGetNextProtectedFile // // [This is preliminary documentation and subject to change.] // // The SfcGetNextProtectedFile function retrieves the complete list of protected // files. Applications should avoid r上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 下一页
|
|
| 教程录入:yxdoor 责任编辑:yxdoor |
上一篇教程: 安全隐患来自内部
下一篇教程: 彻底隐藏文件之最经典操作 |
| 【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |