#include <windows.h>#include <stdio.h>#include <conio.h>#include <tchar.h>#include <malloc.h>#include "ntsecapi.h"#include "dcomperm.h"Include dependency graph for utils.cpp:

Go to the source code of this file.
Functions | |
| DWORD | GetCurrentUserSID (PSID *Sid) |
| DWORD | GetPrincipalSID (LPTSTR Principal, PSID *Sid) |
| LPTSTR | SystemMessage (LPTSTR Buffer, HRESULT hr) |
| DWORD GetCurrentUserSID | ( | PSID * | Sid | ) |
| DWORD GetPrincipalSID | ( | LPTSTR | Principal, | |
| PSID * | Sid | |||
| ) |
Definition at line 79 of file utils.cpp.
References NULL.
Referenced by AddAccessAllowedACEToACL(), AddAccessDeniedACEToACL(), RemovePrincipalFromACL(), and SetAccountRights().
| LPTSTR SystemMessage | ( | LPTSTR | Buffer, | |
| HRESULT | hr | |||
| ) |
1.5.1