IUPnPEventSink::OnStateChangedSafe method (upnphost.h)
The OnStateChangedSafe method sends an event to the device host with the list of DISPIDs that have changed. The device host must query the service object to obtain the new value for each state variable that has changed.
The OnStateChangedSafe method can only be used by Visual Basic developers and those using languages that do not support native arrays.
Syntax
HRESULT OnStateChangedSafe(
[in] VARIANT varsadispidChanges
);
Parameters
[in] varsadispidChanges
Contains a safearray of the DISPIDs of the state variables that have changed.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | upnphost.h |
DLL | Upnphost.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for