1 /* 2 * Copyright 2011 Joakim Sindholt <[email protected]> 3 * SPDX-License-Identifier: MIT 4 */ 5 6 #ifndef _NINE_NINEEXOVERLAYEXTENSION_H_ 7 #define _NINE_NINEEXOVERLAYEXTENSION_H_ 8 9 #include "iunknown.h" 10 11 struct Nine9ExOverlayExtension 12 { 13 struct NineUnknown base; 14 }; 15 static inline struct Nine9ExOverlayExtension * Nine9ExOverlayExtension(void * data)16Nine9ExOverlayExtension( void *data ) 17 { 18 return (struct Nine9ExOverlayExtension *)data; 19 } 20 21 HRESULT NINE_WINAPI 22 Nine9ExOverlayExtension_CheckDeviceOverlayType( struct Nine9ExOverlayExtension *This, 23 UINT Adapter, 24 D3DDEVTYPE DevType, 25 UINT OverlayWidth, 26 UINT OverlayHeight, 27 D3DFORMAT OverlayFormat, 28 D3DDISPLAYMODEEX *pDisplayMode, 29 D3DDISPLAYROTATION DisplayRotation, 30 D3DOVERLAYCAPS *pOverlayCaps ); 31 32 #endif /* _NINE_NINEEXOVERLAYEXTENSION_H_ */ 33