Back to the WFC main page

wfc_enable_all_privileges

$Revision: 1 $

Declaration

BOOL wfc_enable_all_privileges( void )

Description

This function returns TRUE if all privileges on a system have been enabled. FALSE will be returned if at least one privelege could not be enabled. It will attempt to enable the following privileges:

Example

int _tmain( void )
{
   WFCTRACEINIT( TEXT( "_tmain()" ) );

   if ( wfc_enable_all_privileges() == FALSE )
   {
      _tprintf( TEXT( "Could not enable all privileges.\n" ) );
   }

   return( EXIT_SUCCESS );
}

API's Used

wfc_enable_all_privileges() uses the following API's:
Copyright, 2000, Samuel R. Blackburn
$Workfile: wfc_enable_all_privileges.cpp $
$Modtime: 1/17/00 9:32a $