Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
381 B

#ifndef _SAFERUN_H
#define _SAFERUN_H
/*
* IsSafeToRun
*
* return codes:
* S_OPENFILE : file should be opened
* S_SAVEFILE : file should be saved
*
* errors:
* E_FAIL, E_INVALIDARG, hrUserCancel
*
*/
HRESULT IsSafeToRun(HWND hwnd, LPCWSTR lpszFileName, BOOL fPrompt);
HRESULT VerifyTrust(HWND hwnd, LPCWSTR pszFileName, LPCWSTR pszPathName);
#endif //_SAFERUN_H