共用方式為


IInternetZoneManager::CreateZoneEnumerator method

Creates a zone enumerator.

Syntax

HRESULT CreateZoneEnumerator(
  [out] DWORD *pdwEnum,
  [out] DWORD *pdwCount,
  [in]  DWORD dwFlags
);

Parameters

  • pdwEnum [out]
    A pointer to an unsigned long integer value that serves as the zone enumerator.

  • pdwCount [out]
    A pointer to an unsigned long integer value that indicates the number of zones enumerated.

  • dwFlags [in]
    Reserved. Must be set to 0.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

DLL

Urlmon.dll

See also

IInternetZoneManager