Module: wine Branch: master Commit: fbabb7c77e61f47130cf0e80435620b9b51a77aa URL: https://source.winehq.org/git/wine.git/?a=commit;h=fbabb7c77e61f47130cf0e804...
Author: Biswapriyo Nath nathbappai@gmail.com Date: Fri Aug 28 00:14:25 2020 +0530
include/d3dcommon.idl: Add D3DDestructionNotifier interface.
Signed-off-by: Biswapriyo Nath nathbappai@gmail.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/d3dcommon.idl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/include/d3dcommon.idl b/include/d3dcommon.idl index 7d1c0d25cf..586dec29ed 100644 --- a/include/d3dcommon.idl +++ b/include/d3dcommon.idl @@ -43,6 +43,26 @@ typedef ID3D10Blob ID3DBlob; typedef ID3DBlob* LPD3DBLOB; cpp_quote("#define IID_ID3DBlob IID_ID3D10Blob")
+typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *data); + +[ + object, + local, + uuid(a06eb39a-50da-425b-8c31-4eecd6c270f3), + pointer_default(unique) +] +interface ID3DDestructionNotifier : IUnknown +{ + HRESULT RegisterDestructionCallback( + [in] PFN_DESTRUCTION_CALLBACK callback_func, + [in] void *data, + [out] UINT *callback_id + ); + HRESULT UnregisterDestructionCallback( + [in] UINT callback_id + ); +} + typedef enum _D3D_INCLUDE_TYPE { D3D_INCLUDE_LOCAL = 0,