winamp/Src/Plugins/Input/in_cdda/grabwnd.h

18 lines
573 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#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