40 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| compile insert msWin_ShellExecute_Equates
 | |
| /*
 | |
|    ** Copyright (C) 2013-2020 Revelation Software Inc. All Rights Reserved **
 | |
|    
 | |
|    Author    Mr C
 | |
|    Date      Oct 2020
 | |
|    Purpose   Equates for use with the Windows HTMLHep function
 | |
|    
 | |
|    Amended   Date            Reason
 | |
|    =======   ====            ======
 | |
|    
 | |
| */
 | |
| ////////////////////////////////////////////////////////////////////////////////
 | |
| ////////////////////////////////////////////////////////////////////////////////
 | |
| #ifndef _MSWIN_SHELLEXECUTE_EQUATES_
 | |
| #define _MSWIN_SHELLEXECUTE_EQUATES_
 | |
| ////////////////////////////////////////////////////////////////////////////////
 | |
| ////////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    // Error values
 | |
|    equ SE_ERR_OS_OOR$            to 0  ; // The OS is out of resources
 | |
|    equ SE_ERR_FNF$               to 2  ; // The specified file was not found
 | |
|    equ SE_ERR_PNF$               to 3  ; // The specified path was not found
 | |
|    equ SE_ERR_ACCESSDENIED$      to 5  ; // The operating system denied access to the specified file
 | |
|    equ SE_ERR_OOM$               to 8  ; // There was not enough memory to complete the operation
 | |
|    equ SE_ERR_BAD_FORMAT$        to 11 ; // The .exe file is invalid (non-Win32 .exe or error in .exe image)
 | |
|    equ SE_ERR_SHARE$             to 26 ; // A sharing violation occurred
 | |
|    equ SE_ERR_ASSOCINCOMPLETE$   to 27 ; // The file name association is incomplete or invalid
 | |
|    equ SE_ERR_DDETIMEOUT$	      to 28 ; // The DDE transaction could not be completed because the request timed out
 | |
|    equ SE_ERR_DDEFAIL$           to 29 ; // The DDE transaction failed
 | |
|    equ SE_ERR_DDEBUSY$           to 30 ; // The DDE transaction could not be completed because other DDE transactions were being processed
 | |
|    equ SE_ERR_NOASSOC$           to 31 ; // There is no application associated with the given file name extension.
 | |
|    equ SE_ERR_DLLNOTFOUND$       to 32 ; // The specified DLL was not found
 | |
|    
 | |
| ////////////////////////////////////////////////////////////////////////////////
 | |
| ////////////////////////////////////////////////////////////////////////////////
 | |
| #endif
 | |
| ////////////////////////////////////////////////////////////////////////////////
 | |
| ////////////////////////////////////////////////////////////////////////////////
 |