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.

83 lines
1.5 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1998, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // iasparms.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // Declares functions for storing and retrieving (name, value) pairs from
  12. // the SAM UserParameters field.
  13. //
  14. // MODIFICATION HISTORY
  15. //
  16. // 10/16/1998 Original version.
  17. // 02/11/1999 Add RasUser0 functions.
  18. //
  19. ///////////////////////////////////////////////////////////////////////////////
  20. #ifndef _IASPARMS_H_
  21. #define _IASPARMS_H_
  22. #if _MSC_VER >= 1000
  23. #pragma once
  24. #endif
  25. #ifndef IASSAMAPI
  26. #define IASSAMAPI DECLSPEC_IMPORT
  27. #endif
  28. #include <mprapi.h>
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32. IASSAMAPI
  33. DWORD
  34. WINAPI
  35. IASParmsSetRasUser0(
  36. IN OPTIONAL PCWSTR pszOldUserParms,
  37. IN CONST RAS_USER_0 *pRasUser0,
  38. OUT PWSTR* ppszNewUserParms
  39. );
  40. IASSAMAPI
  41. DWORD
  42. WINAPI
  43. IASParmsQueryRasUser0(
  44. IN OPTIONAL PCWSTR pszUserParms,
  45. OUT PRAS_USER_0 pRasUser0
  46. );
  47. IASSAMAPI
  48. HRESULT
  49. WINAPI
  50. IASParmsSetUserProperty(
  51. IN OPTIONAL PCWSTR pszUserParms,
  52. IN PCWSTR pszName,
  53. IN CONST VARIANT *pvarValue,
  54. OUT PWSTR *ppszNewUserParms
  55. );
  56. IASSAMAPI
  57. HRESULT
  58. WINAPI
  59. IASParmsQueryUserProperty(
  60. IN PCWSTR pszUserParms,
  61. IN PCWSTR pszName,
  62. OUT VARIANT *pvarValue
  63. );
  64. IASSAMAPI
  65. VOID
  66. WINAPI
  67. IASParmsFreeUserParms(
  68. IN PWSTR pszNewUserParms
  69. );
  70. #ifdef __cplusplus
  71. }
  72. #endif
  73. #endif // _IASPARMS_H_