include/SDL_system.h
changeset 7742 84e32c3d415c
parent 7264 23a5c8f4b312
child 7763 fc802d707136
--- a/include/SDL_system.h	Fri Sep 13 17:42:38 2013 -0700
+++ b/include/SDL_system.h	Fri Sep 13 17:42:46 2013 -0700
@@ -41,6 +41,19 @@
 extern "C" {
 #endif
 
+
+/* Platform specific functions for Windows */
+#ifdef __WIN32__
+
+/* Returns the D3D9 adapter index that matches the specified display index.
+   This adapter index can be passed to IDirect3D9::CreateDevice and controls
+   on which monitor a full screen application will appear.
+*/
+extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex );
+
+#endif /* __WIN32__ */
+
+
 /* Platform specific functions for iOS */
 #if defined(__IPHONEOS__) && __IPHONEOS__
 
@@ -93,7 +106,6 @@
 
 #endif /* __ANDROID__ */
 
-
 /* Ends C function definitions when using C++ */
 #ifdef __cplusplus
 }