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 code | Description |
|---|---|
|
The method completed successfully. |
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
IDL |
|
See also