IUPnPServiceCallback::StateVariableChanged method (upnp.h)
The StateVariableChanged method is invoked when a state variable has changed.
Syntax
HRESULT StateVariableChanged(
[in] IUPnPService *pus,
[in] LPCWSTR pcwszStateVarName,
[in] VARIANT vaValue
);
Parameters
[in] pus
Reference to an IUPnPService object that specifies the service about which the UPnP framework is sending the notification.
[in] pcwszStateVarName
Reference to a string that specifies the name of the state variable that has changed.
[in] vaValue
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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | upnp.h |
DLL | Upnp.dll |