Leaked source code of windows server 2003
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.

38 lines
491 B

  1. /*
  2. * Util.h
  3. *
  4. * Author: BreenH
  5. *
  6. * Utility functions for the licensing core and its policies.
  7. */
  8. #ifndef __LC_UTIL_H__
  9. #define __LC_UTIL_H__
  10. /*
  11. * Typedefs
  12. */
  13. typedef VOID (*PSSL_GEN_RAND_BITS)(PUCHAR, LONG);
  14. /*
  15. * Function Prototypes
  16. */
  17. NTSTATUS
  18. LsStatusToNtStatus(
  19. LICENSE_STATUS LsStatus
  20. );
  21. UINT32
  22. LsStatusToClientError(
  23. LICENSE_STATUS LsStatus
  24. );
  25. UINT32
  26. NtStatusToClientError(
  27. NTSTATUS Status
  28. );
  29. #endif