diff options
Diffstat (limited to 'Src/Plugins/Input/in_cdda/grabwnd.h')
-rw-r--r-- | Src/Plugins/Input/in_cdda/grabwnd.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Src/Plugins/Input/in_cdda/grabwnd.h b/Src/Plugins/Input/in_cdda/grabwnd.h new file mode 100644 index 00000000..290f0b66 --- /dev/null +++ b/Src/Plugins/Input/in_cdda/grabwnd.h @@ -0,0 +1,18 @@ +#ifndef NULLSOFT_GRAB_WINDOW_HEADER +#define NULLSOFT_GRAB_WINDOW_HEADER + + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#include <windows.h> + +typedef void (CALLBACK *GRABCB)(HWND /*hwnd*/, CREATESTRUCT* /*lpcs*/, HWND* /*phwndInsertAfter*/, ULONG_PTR /*user*/); + +BOOL BeginGrabCreateWindow(LPCWSTR pszClassName, LPCWSTR pszTitle, HWND hwndParent, GRABCB callback, ULONG_PTR user); // you can skip fields that you don't need +void EndGrabCreateWindow(void); //always call it when you done to gurantee proper shutdown + + + +#endif //NULLSOFT_GRAB_WINDOW_HEADER
\ No newline at end of file |