.pragma list(push, 0)
ifndef _ADSPROP_H_
define _ADSPROP_H_

WM_ADSPROP_NOTIFY_PAGEINIT equ (WM_USER + 1101)
WM_ADSPROP_NOTIFY_PAGEHWND equ (WM_USER + 1102)
WM_ADSPROP_NOTIFY_CHANGE equ (WM_USER + 1103)
WM_ADSPROP_NOTIFY_APPLY equ (WM_USER + 1104)
WM_ADSPROP_NOTIFY_SETFOCUS equ (WM_USER + 1105)
WM_ADSPROP_NOTIFY_FOREGROUND equ (WM_USER + 1106)
WM_ADSPROP_NOTIFY_EXIT	equ (WM_USER + 1107)
WM_ADSPROP_NOTIFY_ERROR equ (WM_USER + 1110)

ADSPROPINITPARAMS	STRUC
dwSize			dd ?
dwFlags			dd ?
hr			HRESULT ?
pDsObj			PVOID ?
pwzCN			LPWSTR ?
pWritableAttrs		PADS_ATTR_INFO ?
ADSPROPINITPARAMS	ENDS
PADSPROPINITPARAMS	typedef ptr ADSPROPINITPARAMS

ADSPROPERROR		STRUC
hwndPage		HWND ?
pszPageTitle		PWSTR ?
pszObjPath		PWSTR ?
pszObjClass		PWSTR ?
hr			HRESULT ?
pszError		PWSTR ?
ADSPROPERROR		ENDS
PADSPROPERROR		typedef ptr ADSPROPERROR

ADsPropCreateNotifyObj proto WINAPI :LPDATAOBJECT, :PWSTR, :ptr
ADsPropGetInitInfo proto WINAPI :HWND, :PADSPROPINITPARAMS
ADsPropSetHwndWithTitle proto WINAPI :HWND, :HWND, :PTSTR
ADsPropSetHwnd proto WINAPI :HWND, :HWND
ADsPropCheckIfWritable proto WINAPI :PWSTR, :PADS_ATTR_INFO
ADsPropSendErrorMessage proto WINAPI :HWND, :PADSPROPERROR
ADsPropShowErrorDialog proto WINAPI :HWND, :HWND

endif
.pragma list(pop)
