Reputation: 1753
I am implementing IMFmediaEngineProtectedContent
interface for metro app (win store app), and have become confused while trying to implement this function:
HRESULT SetOPMWindow(
[in] HWND hwnd
);
As far as I understand, HWND
belongs to win MFC, but I need to use this for metro window (CoreWindow).
IMF API states that it supports Windows Store apps.
Am I missing something here?
Upvotes: 1
Views: 215
Reputation: 9891
HWND isn´t MFC specific, its just the handle of your window. This site has a nice documentation on how to get the handle for windows store apps.
Using this information you can query the handle from your CoreWindow.
Upvotes: 1