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

This method is invoked when a state variable has changed.

Syntax

HRESULT StateVariableChanged(
  IUPnPService* 
pus,
  LPCWSTR 
pcwszStateVarName,
  VARIANT 
varValue
);

Parameters

pus

[in] Reference to an IUPnPService:IDispatchobject that specifies the service about which UPnP is sending the notification.

pcwszStateVarName

[in] Reference to a string that specifies the state variable that has changed.

varValue

[in] Specifies the new value. The type of the data returned depends on the data type of the state variable about which the notification is being sent.

Return Value

UPnP does not expect the application to return any specific value. Any value returned is ignored by UPnP.

Requirements

Header upnp.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also