dcomperm_ms.cpp File Reference

#include "dcomperm.h"
#include <conio.h>
#include <ntsecapi.h>
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
#include <windows.h>

Include dependency graph for dcomperm_ms.cpp:

Go to the source code of this file.

Functions

void ShowUsage (LPTSTR ErrorString)
void Error (LPTSTR ErrorMessage, DWORD ErrorCode)
void HandleDAOption (int argc, TCHAR **argv)
void HandleDLOption (int argc, TCHAR **argv)
void HandleAAOption (int argc, TCHAR **argv)
void HandleALOption (int argc, TCHAR **argv)
void HandleRunAsOption (int argc, TCHAR **argv)
int dcomperm_main (int argc, char **argv)


Function Documentation

int dcomperm_main ( int  argc,
char **  argv 
)

Definition at line 396 of file dcomperm_ms.cpp.

References HandleAAOption(), HandleALOption(), HandleDAOption(), HandleDLOption(), HandleRunAsOption(), and ShowUsage().

Referenced by main().

void Error ( LPTSTR  ErrorMessage,
DWORD  ErrorCode 
)

Definition at line 82 of file dcomperm_ms.cpp.

References SystemMessage().

Referenced by HandleAAOption(), HandleALOption(), HandleDAOption(), HandleDLOption(), and HandleRunAsOption().

void HandleAAOption ( int  argc,
TCHAR **  argv 
)

Definition at line 190 of file dcomperm_ms.cpp.

References ChangeAppIDAccessACL(), Error(), ListAppIDAccessACL(), and ShowUsage().

Referenced by dcomperm_main().

void HandleALOption ( int  argc,
TCHAR **  argv 
)

Definition at line 264 of file dcomperm_ms.cpp.

References ChangeAppIDLaunchACL(), Error(), ListAppIDLaunchACL(), ShowUsage(), and ZapAppIDLaunchACL().

Referenced by dcomperm_main().

void HandleDAOption ( int  argc,
TCHAR **  argv 
)

Definition at line 94 of file dcomperm_ms.cpp.

References ChangeDefaultAccessACL(), Error(), ListDefaultAccessACL(), and ShowUsage().

Referenced by dcomperm_main().

void HandleDLOption ( int  argc,
TCHAR **  argv 
)

Definition at line 142 of file dcomperm_ms.cpp.

References ChangeDefaultLaunchACL(), Error(), ListDefaultLaunchACL(), and ShowUsage().

Referenced by dcomperm_main().

void HandleRunAsOption ( int  argc,
TCHAR **  argv 
)

Definition at line 347 of file dcomperm_ms.cpp.

References Error(), SetRunAsPassword(), and ShowUsage().

Referenced by dcomperm_main().

void ShowUsage ( LPTSTR  ErrorString  ) 

Definition at line 34 of file dcomperm_ms.cpp.

Referenced by dcomperm_main(), HandleAAOption(), HandleALOption(), HandleDAOption(), HandleDLOption(), and HandleRunAsOption().


Generated on Thu Nov 20 04:29:15 2008 for HOOPLE Libraries by  doxygen 1.5.1