| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 
 | unit InstDll;
 
interface
uses
  Windows;
const
    INST_ERROR_SUCCESS		= 0;	//Success
    INST_ERROR_PARAMETER        = 1;	//Parameter error,check whether you use /i and /r at same time.
    INST_ERROR_COPYFILE		= 2;	//error when copying
    INST_ERROR_NTREGISTRY	= 3;	//error when open rigstry in WINNT,WIN2000,check whether you use Administrator to logged in the system.
    INST_ERROR_NTSTART		= 4;	//error when start the rockey device in Win NT/2000 ,restart your pc and try again.
    INST_ERROR_OPENINF		= 5;	//error when open usb inf file.
 
 
function InstRockey(hOwnerWnd:HWND;plValue:PLongInt;pStrValue:LPSTR):LongInt;stdcall;external 'InstDll.Dll';
 
implementation
 
end. | 
Partager