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.

98 lines
2.1 KiB

  1. //****************************************************************************
  2. //
  3. // Microsoft NT Remote Access Service
  4. //
  5. // Copyright 1992-93
  6. //
  7. //
  8. // Revision History
  9. //
  10. //
  11. // 6/8/92 Gurdeep Singh Pall Created
  12. //
  13. //
  14. // Description: This file contains all prototypes used in rasman32
  15. //
  16. //****************************************************************************
  17. // apis.c
  18. //
  19. DWORD _RasmanInit () ;
  20. VOID _RasmanEngine () ;
  21. // submit.c
  22. //
  23. DWORD SubmitRequest (HANDLE, WORD, ...) ;
  24. // common.c
  25. //
  26. BOOL ValidatePortHandle (HPORT) ;
  27. RequestBuffer* GetRequestBuffer () ;
  28. VOID FreeRequestBuffer (RequestBuffer *) ;
  29. HANDLE OpenNamedMutexHandle (CHAR *) ;
  30. DWORD PutRequestInQueue (HANDLE hConnection, RequestBuffer *, DWORD) ;
  31. VOID CopyParams (RAS_PARAMS *, RAS_PARAMS *, DWORD) ;
  32. VOID ConvParamPointerToOffset (RAS_PARAMS *, DWORD) ;
  33. VOID ConvParamOffsetToPointer (RAS_PARAMS *, DWORD) ;
  34. VOID FreeNotifierHandle (HANDLE) ;
  35. VOID GetMutex (HANDLE, DWORD) ;
  36. VOID FreeMutex (HANDLE) ;
  37. BOOL BufferAlreadyFreed (PBYTE) ;
  38. // request.c
  39. //
  40. //* dlparams.c
  41. //
  42. DWORD GetUserSid(PWCHAR pszSid, USHORT cbSid);
  43. DWORD DwSetEapUserInfo(HANDLE hToken,
  44. GUID *pGuid,
  45. PBYTE pbUserInfo,
  46. DWORD dwInfoSize,
  47. BOOL fClear,
  48. BOOL fRouter,
  49. DWORD dwEapTypeId
  50. );
  51. DWORD DwGetEapUserInfo(HANDLE hToken,
  52. PBYTE pbEapInfo,
  53. DWORD *pdwInfoSize,
  54. GUID *pGuid,
  55. BOOL fRouter,
  56. DWORD dwEapTypeId
  57. );
  58. //* Dllinit.c
  59. //
  60. VOID WaitForRasmanServiceStop () ;
  61. //* dll.c
  62. //
  63. DWORD
  64. RemoteSubmitRequest (HANDLE hConnection,
  65. PBYTE pbBuffer,
  66. DWORD dwSizeOfBuffer);
  67. VOID
  68. RasmanOutputDebug(
  69. CHAR * Format,
  70. ...
  71. );