utils.cpp File Reference

#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)


Function Documentation

DWORD GetCurrentUserSID ( PSID *  Sid  ) 

Definition at line 33 of file utils.cpp.

References NIL.

Referenced by CreateNewSD().

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 
)

Definition at line 123 of file utils.cpp.

References NULL.

Referenced by Error().


Generated on Fri Nov 21 04:30:17 2008 for HOOPLE Libraries by  doxygen 1.5.1