Frage

Ich muss ein HWND an eine native DLL übergeben, die Rohvideo in den Rahmen schreiben wird.In WPF funktioniert dies, weil Sie eine HWND-Referenz von einer Steuerung erhalten können.Ist das in einer Metro-App möglich?

War es hilfreich?

Lösung

It is not possible to get HWND for a control, because Metro doesn't have HWNDs.

If you can get the video stream, try using a video brush and setting the source. Otherwise, look into SharpDx library, which is a managed port of DirectX. I think you can draw 'stuff' to an element from it.

Hope this helps.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top