Partager via


WZCEnumInterfaces (Windows Embedded CE 6.0)

1/6/2010

This function enables an application to determine the identity of the Wireless NICs managed by Wireless Automatic Configuration driver (WZCSVC.dll).

Syntax

DWORD WZCEnumInterfaces(
  LPWSTR pSrvAddr,
  PINTFS_KEY_TABLE pIntfs
);

Parameters

  • pSrvAddr
    [in] Not used. This parameter must be set to NULL.
  • pIntf
    [out] Pointer to the INTFS_KEY_TABLE structurethat receives key information for all interfaces.

Return Value

Returns ERROR_SUCCESS if the operation completes successfully; otherwise, returns a standard Win32 error code.

Remarks

For each subsequent call to WZCEnumInterfaces, the client must identify the interface it is operating on by providing relevant key information.

When calling this function, the application is must pass the address of an allocated INTFS_KEY_TABLE object in pIntf. On return, this object is initialized with the number of Wireless interfaces controlled by WZCSVC and with an array of a matching number of INTF_KEY_ENTRY objects providing the GUID of each interface.

Requirements

Header wzcsapi.h
Library Wzcsapi.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Automatic Configuration Functions