Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The OnLogIpAddrExmethod indicates that an Internet Protocol (IP) address has been established for communication between the desktop computer and the Windows Embedded CE-based device.

Syntax

HRESULT OnLogIpAddrEx (
  const SOCKADDR_STORAGE * 
pIpAddrd
);

Parameters

pIpAddrd

[in] Specifies the IP address of the mobile device, as a SOCKADDR_STORAGE structure.

Return Value

This method should return S_OK if it was successful, and appropriate errors if not.

Remarks

This method is implemented by a client application and is called when Windows Embedded CE Connection Manager has determined the IP address that was used to connect to the mobile device. At this point, the connection is completely established.

Requirements

Header dccole2.h
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Pocket PC for Windows Mobile 2003 and later, Smartphone for Windows Mobile 2003 and later

See Also