次の方法で共有


GetNetworkParams (Windows Embedded CE 6.0)

1/6/2010

This function retrieves network parameters for the local computer.

Syntax

DWORD GetNetworkParams(
  PFIXED_INFO pFixedInfo, 
  PULONG pOutBufLen
);

Parameters

  • pFixedInfo
    [out] Pointer to a FIXED_INFO structure containing the network parameters for the local computer.
  • pOutBufLen
    [in, out] Pointer to the size of the FIXED_INFO structure. If this size is insufficient to hold the information, this function provides the required size, and returns an error code of ERROR_BUFFER_OVERFLOW.

Return Value

Returns NO_ERROR if successful. If the function fails, it returns an error code. For a complete list of error codes, see Error Values or the SDK header file Winerror.h.

Requirements

Header iphlpapi.h
Library Iphlpapi.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

IP Helper Functions
FIXED_INFO