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.

72 lines
1.3 KiB

  1. /*
  2. File inetcfgp.h
  3. Private helper functions for dealing with inetcfg. These
  4. functions are implemented in nouiutil.lib.
  5. Paul Mayfield, 1/5/98 (implementation by shaunco)
  6. */
  7. #ifndef __nouiutil_inetcfgp_h
  8. #define __nouiutil_inetcfgp_h
  9. #define COBJMACROS
  10. #include "objbase.h"
  11. #include "netcfgx.h"
  12. #include "netcfgp.h"
  13. #include "netconp.h"
  14. #ifdef _cplusplus
  15. extern "C" {
  16. #endif
  17. HRESULT APIENTRY
  18. HrCreateAndInitializeINetCfg (
  19. BOOL* pfInitCom,
  20. INetCfg** ppnc,
  21. BOOL fGetWriteLock,
  22. DWORD cmsTimeout,
  23. LPCWSTR szwClientDesc,
  24. LPWSTR* ppszwClientDesc);
  25. HRESULT APIENTRY
  26. HrUninitializeAndUnlockINetCfg(
  27. INetCfg* pnc);
  28. HRESULT APIENTRY
  29. HrUninitializeAndReleaseINetCfg (
  30. BOOL fUninitCom,
  31. INetCfg* pnc,
  32. BOOL fHasLock);
  33. HRESULT APIENTRY
  34. HrEnumComponentsInClasses (
  35. INetCfg* pNetCfg,
  36. ULONG cpguidClass,
  37. GUID** apguidClass,
  38. ULONG celt,
  39. INetCfgComponent** rgelt,
  40. ULONG* pceltFetched);
  41. ULONG APIENTRY
  42. ReleaseObj (void* punk);
  43. HRESULT APIENTRY
  44. HrCreateNetConnectionUtilities(
  45. INetConnectionUiUtilities ** ppncuu);
  46. //Add this for bug 342810 328673
  47. //
  48. BOOL
  49. IsGPAEnableFirewall(
  50. void);
  51. #ifdef _cplusplus
  52. }
  53. #endif
  54. #endif