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.

87 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. ApiStubs.c
  5. Abstract:
  6. This module contains stubs for XACTSRV API handlers, including the
  7. default handler for unsupported APIs.
  8. Author:
  9. David Treadwell (davidtr) 07-Jan-1991
  10. Revision History:
  11. --*/
  12. #include "XactSrvP.h"
  13. NTSTATUS
  14. XsNetUnsupportedApi (
  15. API_HANDLER_PARAMETERS
  16. )
  17. /*++
  18. Routine Description:
  19. This routine is for APIs which are not supported in Xactsrv. They
  20. return a special error message.
  21. Arguments:
  22. Transaction - a pointer to a transaction block containing information
  23. about the API to process.
  24. Return Value:
  25. NTSTATUS - STATUS_SUCCESS or reason for failure.
  26. --*/
  27. {
  28. API_HANDLER_PARAMETERS_REFERENCE;
  29. Header->Status = (WORD)NERR_InvalidAPI;
  30. return STATUS_SUCCESS;
  31. } // XsNetUnsupportedApi
  32. NTSTATUS
  33. XsNetBuildGetInfo (
  34. API_HANDLER_PARAMETERS
  35. )
  36. /*++
  37. Routine Description:
  38. This temporary routine just returns STATUS_NOT_IMPLEMENTED.
  39. Arguments:
  40. Transaction - a pointer to a transaction block containing information
  41. about the API to process.
  42. Return Value:
  43. NTSTATUS - STATUS_SUCCESS or reason for failure.
  44. --*/
  45. {
  46. API_HANDLER_PARAMETERS_REFERENCE;
  47. Header->Status = (WORD)NERR_InvalidAPI;
  48. return STATUS_SUCCESS;
  49. }
  50.