إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
Completes an asynchronous request for the next event in the queue.
Syntax
HRESULT EndGetEvent(
[in] IMFAsyncResult *pResult,
[out] IMFMediaEvent **ppEvent
);
Parameters
[in] pResult
Pointer to the IMFAsyncResult interface. Pass in the same pointer that your callback object received in the Invoke method.
[out] ppEvent
Receives a pointer to the IMFMediaEvent interface. The caller must release the interface.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
The object was shut down. |
Remarks
Call this method from inside your application's IMFAsyncCallback::Invoke method. For example code, see IMFMediaEventGenerator::BeginGetEvent.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | mfobjects.h (include Mfidl.h) |
| Library | Mfuuid.lib |