UpnpAddDevice (Compact 7)

3/12/2014

This function creates a UPnP device instance as described by the UPNPDEVICEINFO structure.

Syntax

BOOL WINAPI UpnpAddDevice(
  UPNPDEVICEINFO* pDevInfo
);

Parameters

  • pDevInfo
    [in] Provides information about the UPnP device instance.

Return Value

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

Requirements

Header

upnpdevapi.h

Library

Upnpcapi.lib

See Also

Reference

UPnP C Device Host Functions
UPNPDEVICEINFO