Advertisement
Guest User

Detect It Easy dll SDK

a guest
Jul 12th, 2014
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 1.05 KB | None | 0 0
  1. unit diedll;
  2. (*
  3. Detect It Easy dll SDK
  4. Does not supported QTScripts. Crashed! Remove "db" directory.
  5. *)
  6. interface
  7.  
  8. uses
  9.   Windows;
  10.  
  11. const
  12.   DIE_SHOWERRORS         : DWORD = $00000001;
  13.   DIE_SHOWOPTIONS        : DWORD = $00000002;
  14.   DIE_SHOWVERSION        : DWORD = $00000004;
  15.   DIE_SHOWENTROPY        : DWORD = $00000008;
  16.   DIE_SINGLELINEOUTPUT   : DWORD = $00000010;
  17.   DIE_SHOWFILEFORMATONCE : DWORD = $00000020;
  18.  
  19. function DIE_scanA(pszFileName: LPCSTR; pszOutBuffer: LPCSTR; nOutBufferSize: LongInt;
  20.  nFlags: UINT): LongInt; stdcall;
  21. function DIE_scanW(pwszFileName: LPWSTR; pwszOutBuffer: LPWSTR; nOutBufferSize: LongInt;
  22.  nFlags: UINT): LongInt; stdcall;
  23. function DIE_version(): LPCSTR; stdcall;
  24. procedure DIE_reset(); stdcall;
  25.  
  26. implementation
  27.  
  28. const
  29.   DiEDllName = 'diedll.dll';
  30.  
  31. function DIE_scanA; external DiEDllName name '_DIE_scanA@16';
  32. function DIE_scanW; external DiEDllName name '_DIE_scanW@16';
  33. function DIE_version; external DiEDllName name '_DIE_version@0';
  34. procedure DIE_reset; external DiEDllName name '_DIE_reset@0';
  35.  
  36. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement