IUPnPServiceCallback::StateVariableChanged method

The StateVariableChanged method is invoked when a state variable has changed.

Syntax


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

Parameters

pus [in]

Reference to an IUPnPService object that specifies the service about which the UPnP framework is sending the notification.

pcwszStateVarName [in]

Reference to a string that specifies the name of 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 for which the notification is sent.

Return value

The application should return S_OK.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

None supported

Header

Upnp.h

DLL

Upnp.dll

See also

IUPnPServiceCallback
IUPnPService
IUPnPService::AddCallback

 

 

Community Additions

ADD
Show:
© 2014 Microsoft