Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
523 B

#include <windows.h>
#include <winsock2.h>
#include <svcguid.h>
#include <stdio.h>
DWORD WINAPI
RemoveNTDSProvider(
IN LPGUID lpProviderId OPTIONAL );
_cdecl
main(int argc, char **argv)
{
DWORD status = NO_ERROR;
status = RemoveNTDSProvider( NULL );
if ( status )
{
printf( "\nRemoval of NTDS Rnr provider was NOT successful.\n" );
printf( "Error: %d\n", status );
return( -1 );
}
printf( "\nRemoval of NTDS Rnr provider was successful.\n" );
return( 0 );
}