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.

26 lines
563 B

  1. /*
  2. * lookup.h
  3. *
  4. * Purpose:
  5. * hostname lookup
  6. *
  7. * Owner:
  8. * EricAn
  9. *
  10. * History:
  11. * Jun 97: Created.
  12. *
  13. * Copyright (C) Microsoft Corp. 1997
  14. */
  15. #ifndef __LOOKUP_H__
  16. #define __LOOKUP_H__
  17. void InitLookupCache(void);
  18. void DeInitLookupCache(void);
  19. HRESULT LookupHostName(LPTSTR pszHostName, HWND hwndNotify, ULONG *pulAddr, LPBOOL pfCached, BOOL fForce);
  20. HRESULT CancelLookup(LPTSTR pszHostName, HWND hwndNotify);
  21. #define SPM_WSA_GETHOSTBYNAME (WM_USER + 2)
  22. #endif // __LOOKUP_H__