GetItem Method of the IFWXNetworkAdapters Interface

The GetItem method retrieves the requested IFWXNetworkAdapter interface from the collection.

Syntax

HRESULT GetItem(
  [in]   unsigned int uiItemIndex,
  [out]  IFWXNetworkAdapter** ppNetworkAdapter
);

Parameters

  • uiItemIndex
    One-based index of the IFWXNetworkAdapter interface to retrieve.

  • ppNetworkAdapter
    Address of an interface pointer that on return points to the IFWXNetworkAdapter interface requested.

Return Value

This method can return one of the following:

  • S_OK, indicating that the operation succeeded.
  • An error code, indicating that the operation failed. In this case, the [out] parameter returned is a null object.

Requirements

Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXNetworkAdapters

Send comments about this topic to Microsoft

Build date: 6/30/2010