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.

54 lines
870 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1998 - 2001
  5. //
  6. // File : utils.h
  7. //
  8. // Contents :
  9. //
  10. // Notes :
  11. //
  12. // Author : Raghu Gatta (rgatta) 11 May 2001
  13. //
  14. //----------------------------------------------------------------------------
  15. extern BOOL g_fInitCom;
  16. HRESULT
  17. HrInitializeHomenetConfig(
  18. BOOL* pfInitCom,
  19. IHNetCfgMgr** pphnc
  20. );
  21. HRESULT
  22. HrUninitializeHomenetConfig(
  23. BOOL fUninitCom,
  24. IHNetCfgMgr* phnc
  25. );
  26. //
  27. // useful extern functions
  28. //
  29. extern "C"
  30. {
  31. // from \rras\netsh\shell
  32. LPWSTR
  33. WINAPI
  34. MakeString(
  35. IN HANDLE hModule,
  36. IN DWORD dwMsgId,
  37. ...
  38. );
  39. VOID
  40. WINAPI
  41. FreeString(
  42. IN LPWSTR pwszMadeString
  43. );
  44. }