Source code of Windows XP (NT5)
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.

33 lines
1.0 KiB

  1. /*
  2. File protedit.h
  3. Defines mechanisms for editing protocols.
  4. Paul Mayfield, 11/11/97
  5. */
  6. #ifndef __rassrvui_protedit_h
  7. #define __rassrvui_protedit_h
  8. #include <windows.h>
  9. #include "rassrv.h"
  10. // Structure that defines data that is needed in order to
  11. // edit the properties of a given protocol for the ras server
  12. // ui under connections.
  13. typedef struct _PROT_EDIT_DATA {
  14. BOOL bExpose; // whether to expose the network the ras server is
  15. // connected to for the given protocol.
  16. LPBYTE pbData; // Data specific to the protocol in question.
  17. } PROT_EDIT_DATA;
  18. #include "ipxui.h"
  19. #include "tcpipui.h"
  20. // Function edits the properties of a generic protocol, that is a protocol that
  21. // has no ras-specific properties.
  22. DWORD GenericProtocolEditProperties(IN HWND hwndParent, // Parent window
  23. IN OUT PROT_EDIT_DATA * pEditData, // Edit data
  24. IN OUT BOOL * pbOk); // Was ok pressed?
  25. #endif