IPortableDeviceServiceCapabilities::GetSupportedEvents 方法 (portabledeviceapi.h)
GetSupportedEvents方法會擷取服務支援的事件。
語法
HRESULT GetSupportedEvents(
[out] IPortableDevicePropVariantCollection **ppEvents
);
參數
[out] ppEvents
接收事件清單的 IPortableDevicePropVariantCollection 介面。
傳回值
如果方法成功,則會傳回 S_OK。 任何其他 HRESULT 值都表示呼叫失敗。
規格需求
最低支援的用戶端 | Windows 7 [傳統型應用程式|UWP 應用程式] |
最低支援的伺服器 | 都不支援 |
目標平臺 | Windows |
標頭 | portabledeviceapi.h |