/trunk/UserDetect2/Plugins/DomainName.dpr |
---|
24,6 → 24,7 |
var |
stIdentifier: WideString; |
begin |
try |
if not GetDomainName(stIdentifier) then |
begin |
result := UD2_STATUS_NOTAVAIL_OS_NOT_SUPPORTED; |
30,7 → 31,10 |
Exit; |
end; |
result := UD2_WritePascalStringToPointerW(lpIdentifier, cchSize, stIdentifier); |
except |
on E: Exception do result := UD2_STATUS_HandleException(E); |
end; |
end; |
function PluginNameW(lpPluginName: LPWSTR; cchSize: DWORD; wLangID: LANGID): UD2_STATUS; cdecl; |
var |