IUPnPEventSink::OnStateChangedSafe

This method is used for Microsoft® Visual Basic® .NET clients. It sends an event to the device host with the list of DISPIDs that have changed. The device host then queries the service object to obtain the new values of the state variables.

HRESULT OnStateChangedSafe(
  VARIANT varsadispidChanges
);

Parameters

  • varsadispidChanges
    [in] The array of DISPIDs in a SafeArray.

Return Values

If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes that are defined in Winerror.h.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Upnphost.h.
Link Library: Uuid.lib.

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.