EXPORT_SPEC int UpnpRegisterRootDevice

( IN const char* DescUrl,
  IN Upnp_FunPtr Callback,
  IN const void* Cookie,
  OUT UpnpDevice_Handle* Hnd )

UpnpRegisterRootDevice registers a device application with the SDK.

Documentation

UpnpRegisterRootDevice registers a device application with the SDK. A device application cannot make any other API calls until it registers using this function. Device applications can also register as control points (see UpnpRegisterClient to get a control point handle to perform control point functionality).

UpnpRegisterRootDevice is synchronous and does not generate any callbacks. Callbacks can occur as soon as this function returns.

Parameters:
DescUrl - Pointer to a string containing the description URL for this root device instance.
Callback - Pointer to the callback function for receiving asynchronous events.
Cookie - Pointer to user data returned with the callback function when invoked.
Hnd - Pointer to a variable to store the new device handle.
Returns:
[int] An integer representing one of the following:

Alphabetic index



This page was generated with the help of DOC++.