windows-nt/Source/XPSP1/NT/ds/nameres/rnr/setup/test/remove.c

31 lines
523 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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 );
}