dotnet / pinvoke

A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
MIT License
2.12k stars 222 forks source link

DuplicateTokenEx #297

Closed zabulus closed 8 years ago

zabulus commented 8 years ago

Squashed commits, after my ugly merge they lost any meaning. Addressed review issues:

  1. TOKEN_TYPE naming
  2. ACCESS_MASK
  3. SECURITY_ATTRIBUTES (including attribute)
  4. Also return BOOL marshalling
AArnott commented 8 years ago

Thanks for your contribution.