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.

44 lines
1.2 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // File: lanawait.h
  4. //
  5. // Module: CMDIAL32.DLL
  6. //
  7. // Synopsis: Definitions for the workaround to make CM wait for DUN to
  8. // register its LANA for an internet connection before beginning
  9. // the tunnel portion of a double dial connection.
  10. //
  11. // Copyright (c) 1996-1998 Microsoft Corporation
  12. //
  13. // Author: quintinb Created Header 08/17/99
  14. //
  15. //+----------------------------------------------------------------------------
  16. #ifdef LANA_WAIT
  17. #ifndef _LANAWAIT_H_
  18. #define _LANAWAIT_H_
  19. #include <dbt.h>
  20. //----------------------------------------------------------------------
  21. #define ICM_REG_LANAWAIT TEXT("Lana")
  22. #define LANAWAIT_CLASSNAME TEXT("CmLana")
  23. #define LANAWAIT_WNDNAME TEXT("CmLanaWnd")
  24. #define LANA_TIMEOUT_DEFAULT 20 // 20 secs
  25. #define LANA_PROPAGATE_TIME_DEFAULT 3 // 3 secs
  26. #define LANA_TIME_ID 2233
  27. //----------------------------------------------------------------------
  28. LRESULT APIENTRY LanaWaitWndProc(
  29. HWND hWnd,
  30. UINT message,
  31. WPARAM wParam,
  32. LPARAM lParam
  33. );
  34. BOOL IsLanaWaitEnabled();
  35. #endif // _LANAWAIT_H_
  36. #endif // LANA_WAIT