aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/Library/ml_devices/widgetHost.h
blob: b27b3ea3c5683942781f36910ba7fa64f9aace69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _NULLSOFT_WINAMP_ML_DEVICES_WDGET_HOST_HEADER
#define _NULLSOFT_WINAMP_ML_DEVICES_WIDGET_HOST_HEADER

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

#include <wtypes.h>

typedef HWND (*WidgetCreateProc)(HWND hostWindow, void *user);

HWND 
WidgetHost_Create(unsigned int windowStyle, 
				  int x, 
				  int y, 
				  int width, 
				  int height, 
				  HWND parentWindow, 
				  WidgetCreateProc createProc, 
				  void *createParam);


#endif //_NULLSOFT_WINAMP_ML_DEVICES_WIDGET_HOST_HEADER