WZCSetInterface (Windows CE 5.0)

Send Feedback

This function sets detailed information for the specified Wireless NIC as they are cached in the driver (WZCSVC) as the internal context associated with the interface.

DWORD WZCSetInterface(LPWSTRpSrvAddr,  DWORD dwInFlags,PINTF_ENTRY pIntf,  LPDWORD pdwOutFlags);

Parameters

  • pSrvAddr
    [in] Not used. This parameter must be set to NULL.
  • dwInFlags
    [in] Bitmask of flags indicating the fields to be set in the INTF_ENTRY object pointed by pIntf. This parameter can be a combination of zero or more of the flags. For more information about the INTF_ flags see Automatic Configuration Constants.
  • pIntf
    [in] Pointer to the INTF_ENTRY structure.
  • pdwOutFlags
    [out] DWORD that indicates the fields that were successfully set. If such an indication is not required, then the application must pass NULL.

Return Values

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

Remarks

When calling this function, the application must pass the address of an allocated INTF_ENTRY object in the pIntf parameter. It also needs to specify the GUID of the interface in the wszGuid member of INTF_ENTRY. The dwInFlags parameter specifies which fields of the INTF_ENTRY object need to be set.

On return, WZCSVC sets in the DWORD pointed by pdwOutFlags the bits corresponding to the fields that were set.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Wzcsapi.h.
Link Library: Wzcsapi.lib.

See Also

Automatic Configuration Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.