UpnpPublishDevice

This function sends out UPnP announcements for this device tree. Once published, the device will automatically respond to UPnP search requests. Its services may be invoked by remote control points through the callback function.

BOOL WINAPI UpnpPublishDevice( 
  PCWSTR pszDeviceName
);

Parameters

  • pszDeviceName
    [in] Local device name specified in the UPNPDEVICEINFO structure.

Return Values

Returns TRUE if the function call succeeds, FALSE if an error occurs.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Upnpdevapi.h.
Link Library: Upnpcapi.lib.

See Also

UPNPDEVICEINFO

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.