mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-04-02 10:52:54 -04:00
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@472 96395faa-99c1-11dd-bbfe-3dabce05a288
18 lines
531 B
C
18 lines
531 B
C
#include "Global.h"
|
|
|
|
/* Need this to let window be subclassed multiple times but still clean up nicely.
|
|
*/
|
|
enum ExtraWndProcResult {
|
|
CONTINUE_BLISSFULLY,
|
|
// Calls ReleaseExtraProc without messing up order.
|
|
CONTINUE_BLISSFULLY_AND_RELEASE_PROC,
|
|
USE_DEFAULT_WND_PROC,
|
|
NO_WND_PROC
|
|
};
|
|
|
|
typedef ExtraWndProcResult (*ExtraWndProc)(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *out);
|
|
int EatWndProc(HWND hWnd, ExtraWndProc proc);
|
|
|
|
void ReleaseExtraProc(ExtraWndProc proc);
|
|
void ReleaseEatenProc();
|
|
|