It would be nice if the Windows APIs were properly covered in Delphi.

It would be nice if the Windows APIs were properly covered in Delphi.
Marco Cantù - It seems that you missed this little handy function.

http://msdn.microsoft.com/en-us/library/windows/desktop/aa376399(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376399(v=vs.85).aspx

Comments

  1. The JEDI API Library includes Delphi wrappers for this:
    http://sourceforge.net/projects/jedi-apilib/

    For ConvertSidToStringSid() (from advapi32.dll) see Win32API\JwaSddl.pas (line 319/409 impl)

    Also see Win32API\JwaNative.pas (line 7069) which makes available the similar RtlConvertSidToUnicodeString() from ntdll.dll

    ReplyDelete
  2. Also missing: GetModuleHandleEx.  It's just not there.  (JEDI headers to the rescue!)

    ReplyDelete

Post a Comment