Subversion Repositories userdetect2

Rev

Rev 81 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 81 Rev 82
Line 20... Line 20...
20
 
20
 
21
function IdentificationStringW(lpIdentifier: LPWSTR; cchSize: DWORD): UD2_STATUS; cdecl;
21
function IdentificationStringW(lpIdentifier: LPWSTR; cchSize: DWORD): UD2_STATUS; cdecl;
22
var
22
var
23
  stIdentifier: WideString;
23
  stIdentifier: WideString;
24
begin
24
begin
-
 
25
  try
25
  stIdentifier := IntToStr(Win32MajorVersion) + '.' +
26
    stIdentifier := IntToStr(Win32MajorVersion) + '.' +
26
                  IntToStr(Win32MinorVersion) + '.' +
27
                    IntToStr(Win32MinorVersion) + '.' +
27
                  IntToStr(Win32BuildNumber);
28
                    IntToStr(Win32BuildNumber);
28
  result := UD2_WritePascalStringToPointerW(lpIdentifier, cchSize, stIdentifier);
29
    result := UD2_WritePascalStringToPointerW(lpIdentifier, cchSize, stIdentifier);
-
 
30
  except
-
 
31
    on E: Exception do result := UD2_STATUS_HandleException(E);
-
 
32
  end;
29
end;
33
end;
30
 
34
 
31
function PluginNameW(lpPluginName: LPWSTR; cchSize: DWORD; wLangID: LANGID): UD2_STATUS; cdecl;
35
function PluginNameW(lpPluginName: LPWSTR; cchSize: DWORD; wLangID: LANGID): UD2_STATUS; cdecl;
32
var
36
var
33
  stPluginName: WideString;
37
  stPluginName: WideString;