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.

57 lines
1.7 KiB

  1. /*
  2. File rassrvp.h
  3. Private header used to merge the ras server ui module
  4. with rasdlg.dll.
  5. Paul Mayfield, 12/4/97
  6. */
  7. #ifndef __rassrv_private_header_for_merging
  8. #define __rassrv_private_header_for_merging
  9. // Callbacks for when processes/threads attach to this dll
  10. DWORD RassrvHandleProcessAttach (HINSTANCE hInstDll, LPVOID pReserved);
  11. DWORD RassrvHandleProcessDetach (HINSTANCE hInstDll, LPVOID pReserved);
  12. DWORD RassrvHandleThreadAttach (HINSTANCE hInstDll, LPVOID pReserved);
  13. DWORD RassrvHandleThreadDetach (HINSTANCE hInstDll, LPVOID pReserved);
  14. // Function adds the host-side direct connect wizard pages
  15. DWORD
  16. APIENTRY
  17. RassrvAddDccWizPages (
  18. IN LPFNADDPROPSHEETPAGE pfnAddPage,
  19. IN LPARAM lParam,
  20. IN OUT PVOID * ppvContext);
  21. // Function causes the ras-server specific wizard pages
  22. // to allow activation or not.
  23. DWORD
  24. APIENTRY
  25. RassrvShowWizPages (
  26. IN PVOID pvContext, // Context to be affected
  27. IN BOOL bShow); // TRUE to show, FALSE to hide
  28. // Saves any server changes related to the
  29. // given type.
  30. DWORD
  31. APIENTRY
  32. RassrvCommitSettings (
  33. IN PVOID pvContext, // Context to commit
  34. IN DWORD dwRasWizType); // Type of settings to commit
  35. // Function returns the suggested name for an incoming connection.
  36. DWORD
  37. APIENTRY
  38. RassrvGetDefaultConnectionName (
  39. IN OUT PWCHAR pszBuffer, // Buffer in which to place name
  40. IN OUT LPDWORD lpdwBufSize); // Size of buffer in bytes
  41. // Returns the maximum number of pages for the
  42. // a ras server wizard of the given type
  43. DWORD
  44. APIENTRY
  45. RassrvQueryMaxPageCount(
  46. IN DWORD dwRasWizType);
  47. #endif