Leaked source code of windows server 2003
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
400 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