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.

56 lines
653 B

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. binltest.c
  5. Abstract:
  6. Test program to run binl service as a process.
  7. Author:
  8. Colin Watson (colinw) 17-Apr-1997
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #include <binl.h>
  14. #pragma hdrstop
  15. VOID
  16. DisplayUsage(
  17. VOID
  18. )
  19. {
  20. printf( "Usage: binltest\n");
  21. return;
  22. }
  23. VOID __cdecl
  24. main(
  25. int argc,
  26. char *argv[]
  27. )
  28. {
  29. DWORD Error;
  30. if( argc != 1 ) {
  31. DisplayUsage();
  32. return;
  33. }
  34. ServiceEntry(2,NULL, NULL); // Impossible parameters signal running in binltest
  35. printf( "Binl returned\n");
  36. return;
  37. }