Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMbnDeviceServicesEvents::OnInterfaceStateChange method

Notification method that signals a change in the state of device services on the system.

Syntax


HRESULT OnInterfaceStateChange(
  [in]  BSTR                                *interfaceID,
  [in] MBN_DEVICE_SERVICES_INTERFACE_STATE  stateChange  
);

Parameters

interfaceID [in]

The InterfaceID of the device for which the device services state change notification is sent.

stateChange [in]

A MBN_DEVICE_SERVICES_INTERFACE_STATE enumeration that specifies whether the device service capable device is available or unavailable.

Return value

The method must return the following value.

Return codeDescription
S_OK

The method completed successfully.

 

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnDeviceServicesEvents

 

 

Show:
© 2017 Microsoft