windows-nt/Source/XPSP1/NT/ds/nameres/rnr/setup/test/remove.c
2020-09-26 16:20:57 +08:00

31 lines
523 B
C

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