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

  1. #include <windows.h>
  2. #include <winsock2.h>
  3. #include <svcguid.h>
  4. #include <stdio.h>
  5. DWORD WINAPI
  6. RemoveNTDSProvider(
  7. IN LPGUID lpProviderId OPTIONAL );
  8. _cdecl
  9. main(int argc, char **argv)
  10. {
  11. DWORD status = NO_ERROR;
  12. status = RemoveNTDSProvider( NULL );
  13. if ( status )
  14. {
  15. printf( "\nRemoval of NTDS Rnr provider was NOT successful.\n" );
  16. printf( "Error: %d\n", status );
  17. return( -1 );
  18. }
  19. printf( "\nRemoval of NTDS Rnr provider was successful.\n" );
  20. return( 0 );
  21. }