ReactOS 0.4.15-dev-8145-ga541a46
internettoolbar.h
Go to the documentation of this file.
1/*
2 * ReactOS Explorer
3 *
4 * Copyright 2009 Andrew Hill <ash77 at domain reactos.org>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21#pragma once
22
23static const int gSearchCommandID = 1003;
24static const int gFoldersCommandID = 1004;
30static const int gStopCommandID = 1010;
31static const int gHomeCommandID = 1012;
32static const int gFavoritesCommandID = 1015;
33static const int gHistoryCommandID = 1016;
34static const int gFullScreenCommandID = 1017;
39
41 public CComObjectRootEx<CComMultiThreadModelNoCS>,
43{
44private:
45 CComPtr<IShellMenu> fFavoritesMenu;
46public:
48 virtual ~CMenuCallback();
49
51public:
52 // *** IShellMenuCallback methods ***
54
56 COM_INTERFACE_ENTRY_IID(IID_IShellMenuCallback, IShellMenuCallback)
58};
59
61 public CWindowImpl<CInternetToolbar, CWindow, CControlWinTraits>,
62 public CComCoClass<CInternetToolbar, &CLSID_InternetToolbar>,
63 public CComObjectRootEx<CComMultiThreadModelNoCS>,
64 public IInputObject,
65 public IDockingWindow,
66 public IPersistStreamInit,
67 public IOleCommandTarget,
68 public IDispatch,
69 public IExplorerToolbar,
70 public IShellChangeNotify,
71 public IObjectWithSite,
72 public IServiceProvider,
73 public IWinEventHandler,
74 public IBandSite
75{
76public:
77 CComPtr<IUnknown> fSite; // our site
78 HWND fMainReBar; // rebar for top of window
79 bool fLocked; // is bar locked to prevent changes?
80 CComPtr<IShellMenu> fMenuBar; // the menu rebar
83 CComPtr<IUnknown> fLogoBar; // the reactos logo
84 CComPtr<IUnknown> fControlsBar; // navigation controls
85 CComPtr<IUnknown> fNavigationBar; // address bar
86 CComPtr<CMenuCallback> fMenuCallback;
87 CComPtr<IOleCommandTarget> fCommandTarget;
91 CComPtr<IBandProxy> fBandProxy;
96public:
98 virtual ~CInternetToolbar();
99 void AddDockItem(IUnknown *newItem, int bandID, int flags);
100 HRESULT ReserveBorderSpace(LONG maxHeight = -1);
103 HRESULT LockUnlockToolbars(bool locked);
104 HRESULT CommandStateChanged(bool newValue, int commandID);
106 HRESULT IsBandVisible(int BandID);
107 HRESULT ToggleBandVisibility(int BandID);
108 HRESULT SetState(const GUID *pguidCmdGroup, long commandID, OLECMD* pcmd);
110
111public:
112 // *** IInputObject specific methods ***
113 STDMETHOD(UIActivateIO)(BOOL fActivate, LPMSG lpMsg) override;
114 STDMETHOD(HasFocusIO)() override;
115 STDMETHOD(TranslateAcceleratorIO)(LPMSG lpMsg) override;
116
117 // *** IOleWindow methods ***
118 STDMETHOD(GetWindow)(HWND *lphwnd) override;
119 STDMETHOD(ContextSensitiveHelp)(BOOL fEnterMode) override;
120
121 // *** IDockingWindow methods ***
122 STDMETHOD(ShowDW)(BOOL fShow) override;
124 STDMETHOD(ResizeBorderDW)(LPCRECT prcBorder, IUnknown *punkToolbarSite, BOOL fReserved) override;
125
126 // *** IPersist methods ***
127 STDMETHOD(GetClassID)(CLSID *pClassID) override;
128
129 // *** IPersistStreamInit methods ***
130 STDMETHOD(IsDirty)() override;
131 STDMETHOD(Load)(IStream *pStm) override;
132 STDMETHOD(Save)(IStream *pStm, BOOL fClearDirty) override;
133 STDMETHOD(GetSizeMax)(ULARGE_INTEGER *pcbSize) override;
134 STDMETHOD(InitNew)() override;
135
136 // *** IOleCommandTarget methods ***
137 STDMETHOD(QueryStatus)(const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[ ], OLECMDTEXT *pCmdText) override;
138 STDMETHOD(Exec)(const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut) override;
139
140 // *** IDispatch methods ***
141 STDMETHOD(GetTypeInfoCount)(UINT *pctinfo) override;
142 STDMETHOD(GetTypeInfo)(UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) override;
143 STDMETHOD(GetIDsOfNames)(REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) override;
144 STDMETHOD(Invoke)(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) override;
145
146 // *** IExplorerToolbar methods ***
147 STDMETHOD(SetCommandTarget)(IUnknown *theTarget, GUID *category, long param14) override;
148 STDMETHOD(Unknown1)() override;
149 STDMETHOD(AddButtons)(const GUID *pguidCmdGroup, long buttonCount, TBBUTTON *buttons) override;
150 STDMETHOD(AddString)(const GUID *pguidCmdGroup, HINSTANCE param10, LPCTSTR param14, long *param18) override;
151 STDMETHOD(GetButton)(const GUID *pguidCmdGroup, long param10, long param14) override;
152 STDMETHOD(GetState)(const GUID *pguidCmdGroup, long commandID, long *theState) override;
153 STDMETHOD(SetState)(const GUID *pguidCmdGroup, long commandID, long theState) override;
154 STDMETHOD(AddBitmap)(const GUID *pguidCmdGroup, long param10, long buttonCount, TBADDBITMAP *lParam, long *newIndex, COLORREF param20) override;
155 STDMETHOD(GetBitmapSize)(long *paramC) override;
156 STDMETHOD(SendToolbarMsg)(const GUID *pguidCmdGroup, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *result) override;
157 STDMETHOD(SetImageList)(const GUID *pguidCmdGroup, HIMAGELIST param10, HIMAGELIST param14, HIMAGELIST param18) override;
158 STDMETHOD(ModifyButton)(const GUID *pguidCmdGroup, long param10, long param14) override;
159
160 // *** IShellChangeNotify methods ***
161 STDMETHOD(OnChange)(LONG lEvent, LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2) override;
162
163 // *** IObjectWithSite methods ***
164 STDMETHOD(SetSite)(IUnknown *pUnkSite) override;
165 STDMETHOD(GetSite)(REFIID riid, void **ppvSite) override;
166
167 // *** IServiceProvider methods ***
168 STDMETHOD(QueryService)(REFGUID guidService, REFIID riid, void **ppvObject) override;
169
170 // *** IWinEventHandler methods ***
171 STDMETHOD(OnWinEvent)(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *theResult) override;
172 STDMETHOD(IsWindowOwner)(HWND hWnd) override;
173
174 // *** IBandSite specific methods ***
175 STDMETHOD(AddBand)(IUnknown *punk) override;
176 STDMETHOD(EnumBands)(UINT uBand, DWORD *pdwBandID) override;
177 STDMETHOD(QueryBand)(DWORD dwBandID, IDeskBand **ppstb, DWORD *pdwState, LPWSTR pszName, int cchName) override;
178 STDMETHOD(SetBandState)(DWORD dwBandID, DWORD dwMask, DWORD dwState) override;
179 STDMETHOD(RemoveBand)(DWORD dwBandID) override;
180 STDMETHOD(GetBandObject)(DWORD dwBandID, REFIID riid, void **ppv) override;
181 STDMETHOD(SetBandSiteInfo)(const BANDSITEINFO *pbsinfo) override;
182 STDMETHOD(GetBandSiteInfo)(BANDSITEINFO *pbsinfo) override;
183
184 // message handlers
185 LRESULT OnTravelBack(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled);
186 LRESULT OnTravelForward(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled);
187 LRESULT OnUpLevel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled);
188 LRESULT OnSearch(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled);
189 LRESULT OnFolders(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled);
190 LRESULT OnForwardToCommandTarget(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled);
191 LRESULT OnMenuDropDown(UINT idControl, NMHDR *pNMHDR, BOOL &bHandled);
192 LRESULT OnQueryInsert(UINT idControl, NMHDR *pNMHDR, BOOL &bHandled);
193 LRESULT OnQueryDelete(UINT idControl, NMHDR *pNMHDR, BOOL &bHandled);
196 LRESULT OnSize(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);
198 LRESULT OnTipText(UINT idControl, NMHDR *pNMHDR, BOOL &bHandled);
199 LRESULT OnCommand(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);
200 LRESULT OnNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);
201 LRESULT OnLDown(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);
202 LRESULT OnLUp(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled);
206
229
232
234
236 COM_INTERFACE_ENTRY_IID(IID_IInputObject, IInputObject)
238 COM_INTERFACE_ENTRY_IID(IID_IDockingWindow, IDockingWindow)
240// COM_INTERFACE_ENTRY_IID(IID_IPersistStream, IPersistStream)
242 COM_INTERFACE_ENTRY_IID(IID_IOleCommandTarget, IOleCommandTarget)
244 COM_INTERFACE_ENTRY_IID(IID_IExplorerToolbar, IExplorerToolbar)
245 COM_INTERFACE_ENTRY_IID(IID_IShellChangeNotify, IShellChangeNotify)
247 COM_INTERFACE_ENTRY_IID(IID_IServiceProvider, IServiceProvider)
248 COM_INTERFACE_ENTRY_IID(IID_IWinEventHandler, IWinEventHandler)
249 COM_INTERFACE_ENTRY_IID(IID_IBandSite, IBandSite)
251};
HWND hWnd
Definition: settings.c:17
#define STDMETHOD(m)
Definition: basetyps.h:62
#define STDMETHODCALLTYPE
Definition: bdasup.h:9
HRESULT CommandStateChanged(bool newValue, int commandID)
STDMETHOD() SetImageList(const GUID *pguidCmdGroup, HIMAGELIST param10, HIMAGELIST param14, HIMAGELIST param18) override
HRESULT SetState(const GUID *pguidCmdGroup, long commandID, OLECMD *pcmd)
LRESULT OnSetCursor(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
HRESULT IsBandVisible(int BandID)
CComPtr< IUnknown > fNavigationBar
STDMETHOD() ContextSensitiveHelp(BOOL fEnterMode) override
CComPtr< IUnknown > fLogoBar
STDMETHOD() SetCommandTarget(IUnknown *theTarget, GUID *category, long param14) override
LRESULT OnTipText(UINT idControl, NMHDR *pNMHDR, BOOL &bHandled)
STDMETHOD() IsWindowOwner(HWND hWnd) override
HRESULT ReserveBorderSpace(LONG maxHeight=-1)
STDMETHOD() InitNew() override
STDMETHOD() AddBitmap(const GUID *pguidCmdGroup, long param10, long buttonCount, TBADDBITMAP *lParam, long *newIndex, COLORREF param20) override
HRESULT LockUnlockToolbars(bool locked)
LRESULT OnQueryDelete(UINT idControl, NMHDR *pNMHDR, BOOL &bHandled)
CComPtr< IUnknown > fControlsBar
LRESULT OnSettingsChange(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
LRESULT OnCommand(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
STDMETHOD() GetSizeMax(ULARGE_INTEGER *pcbSize) override
STDMETHOD() RemoveBand(DWORD dwBandID) override
STDMETHOD() ResizeBorderDW(LPCRECT prcBorder, IUnknown *punkToolbarSite, BOOL fReserved) override
ShellSettings * pSettings
STDMETHOD() GetWindow(HWND *lphwnd) override
STDMETHOD() GetSite(REFIID riid, void **ppvSite) override
STDMETHOD() SetBandState(DWORD dwBandID, DWORD dwMask, DWORD dwState) override
HRESULT CreateMenuBar(IShellMenu **menuBar)
STDMETHOD() GetBandSiteInfo(BANDSITEINFO *pbsinfo) override
LRESULT OnForwardToCommandTarget(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
STDMETHOD() HasFocusIO() override
void AddDockItem(IUnknown *newItem, int bandID, int flags)
STDMETHOD() GetIDsOfNames(REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) override
LRESULT OnLDown(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
STDMETHOD() Save(IStream *pStm, BOOL fClearDirty) override
STDMETHOD() QueryService(REFGUID guidService, REFIID riid, void **ppvObject) override
STDMETHOD() GetBitmapSize(long *paramC) override
CComPtr< IBandProxy > fBandProxy
STDMETHOD() SetSite(IUnknown *pUnkSite) override
STDMETHOD() ShowDW(BOOL fShow) override
STDMETHOD() AddButtons(const GUID *pguidCmdGroup, long buttonCount, TBBUTTON *buttons) override
STDMETHOD() Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) override
LRESULT OnMouseMove(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
HRESULT CreateToolsBar(IUnknown **toolsBar)
STDMETHOD() QueryBand(DWORD dwBandID, IDeskBand **ppstb, DWORD *pdwState, LPWSTR pszName, int cchName) override
HRESULT CreateAndInitBandProxy()
LRESULT OnNavigateCommand(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
STDMETHOD() GetBandObject(DWORD dwBandID, REFIID riid, void **ppv) override
HRESULT ToggleBandVisibility(int BandID)
virtual ~CInternetToolbar()
STDMETHOD() QueryStatus(const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT *pCmdText) override
STDMETHOD() CloseDW(DWORD dwReserved) override
STDMETHOD() GetTypeInfo(UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) override
STDMETHOD() UIActivateIO(BOOL fActivate, LPMSG lpMsg) override
LRESULT OnTravelBack(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
CComPtr< CMenuCallback > fMenuCallback
STDMETHOD() TranslateAcceleratorIO(LPMSG lpMsg) override
STDMETHOD() GetClassID(CLSID *pClassID) override
STDMETHOD() ModifyButton(const GUID *pguidCmdGroup, long param10, long param14) override
STDMETHOD() EnumBands(UINT uBand, DWORD *pdwBandID) override
STDMETHOD() SendToolbarMsg(const GUID *pguidCmdGroup, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *result) override
LRESULT OnNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
STDMETHOD() OnWinEvent(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *theResult) override
void RefreshLockedToolbarState()
LRESULT OnUpLevel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnWinIniChange(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
STDMETHOD() Unknown1() override
STDMETHOD() Exec(const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut) override
STDMETHOD() OnChange(LONG lEvent, LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2) override
LRESULT OnLUp(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
STDMETHOD() GetTypeInfoCount(UINT *pctinfo) override
STDMETHOD() AddBand(IUnknown *punk) override
STDMETHOD() SetBandSiteInfo(const BANDSITEINFO *pbsinfo) override
LRESULT OnQueryInsert(UINT idControl, NMHDR *pNMHDR, BOOL &bHandled)
LRESULT OnFolders(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnContextMenu(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
CComPtr< IShellMenu > fMenuBar
CComPtr< IOleCommandTarget > fCommandTarget
LRESULT OnMenuDropDown(UINT idControl, NMHDR *pNMHDR, BOOL &bHandled)
STDMETHOD() GetButton(const GUID *pguidCmdGroup, long param10, long param14) override
STDMETHOD() Load(IStream *pStm) override
CComPtr< IUnknown > fSite
STDMETHOD() IsDirty() override
LRESULT OnTravelForward(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnSearch(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
LRESULT OnSize(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
virtual HRESULT STDMETHODCALLTYPE CallbackSM(LPSMDATA psmd, UINT uMsg, WPARAM wParam, LPARAM lParam)
virtual ~CMenuCallback()
CComPtr< IShellMenu > fFavoritesMenu
WPARAM wParam
Definition: combotst.c:138
char AddString[]
Definition: combotst.c:71
LPARAM lParam
Definition: combotst.c:139
#define IDM_GOTO_UPONELEVEL
Definition: resource.h:47
#define IDM_GOTO_FORWARD
Definition: resource.h:46
#define IDR_INTERNETTOOLBAR
Definition: resource.h:98
#define IDM_GOTO_BACK
Definition: resource.h:45
#define BWM_SETTINGCHANGE
Definition: settings.h:10
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
return pTarget GetState()
GLbitfield flags
Definition: glext.h:7161
GLuint64EXT * result
Definition: glext.h:11304
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
static const int gFullScreenCommandID
static const int gHistoryCommandID
static const int gFoldersCommandID
static const int gDeleteCommandID
static const int gPropertiesCommandID
static const int gMoveToCommandID
static const int gCopyToCommandID
static const int gCutCommandID
static const int gUndoCommandID
static const int gViewsCommandID
static const int gCopyCommandID
static const int gSearchCommandID
static const int gHomeCommandID
static const int gStopCommandID
static const int gFavoritesCommandID
static const int gPasteCommandID
#define BEGIN_COM_MAP(x)
Definition: atlcom.h:581
#define COM_INTERFACE_ENTRY_IID(iid, x)
Definition: atlcom.h:601
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
Definition: atlcom.h:679
#define DECLARE_NOT_AGGREGATABLE(x)
Definition: atlcom.h:651
#define DECLARE_REGISTRY_RESOURCEID(x)
Definition: atlcom.h:645
#define END_COM_MAP()
Definition: atlcom.h:592
#define MESSAGE_HANDLER(msg, func)
Definition: atlwin.h:1926
#define NOTIFY_CODE_HANDLER(cd, func)
Definition: atlwin.h:1980
#define BEGIN_MSG_MAP(theClass)
Definition: atlwin.h:1898
#define COMMAND_ID_HANDLER(id, func)
Definition: atlwin.h:1953
#define END_MSG_MAP()
Definition: atlwin.h:1917
#define NOTIFY_HANDLER(id, cd, func)
Definition: atlwin.h:1989
#define COMMAND_RANGE_HANDLER(idFirst, idLast, func)
Definition: atlwin.h:1971
const IID IID_IObjectWithSite
static LPOLESTR
Definition: stg_prop.c:27
static VARIANTARG static DISPID
Definition: ordinal.c:52
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:95
unsigned int UINT
Definition: ndis.h:50
const GUID IID_IOleWindow
const GUID IID_IDispatch
const GUID IID_IPersistStreamInit
long LONG
Definition: pedump.c:60
const GUID IID_IPersist
Definition: proxy.cpp:14
#define TBN_QUERYINSERT
Definition: commctrl.h:1312
#define TBN_QUERYDELETE
Definition: commctrl.h:1313
#define TTN_NEEDTEXTW
Definition: commctrl.h:1882
#define TBN_DROPDOWN
Definition: commctrl.h:1316
#define REFIID
Definition: guiddef.h:118
#define WM_CONTEXTMENU
Definition: richedit.h:64
#define WM_NOTIFY
Definition: richedit.h:61
DWORD LCID
Definition: nls.h:13
#define FCIDM_SHVIEW_AUTOARRANGE
Definition: shresdef.h:841
#define FCIDM_SHVIEW_CUT
Definition: shresdef.h:826
#define FCIDM_SHVIEW_UNDO
Definition: shresdef.h:829
#define FCIDM_SHVIEW_COPY
Definition: shresdef.h:827
#define FCIDM_SHVIEW_PROPERTIES
Definition: shresdef.h:825
#define FCIDM_SHVIEW_COPYTO
Definition: shresdef.h:831
#define FCIDM_SHVIEW_MOVETO
Definition: shresdef.h:832
#define FCIDM_SHVIEW_DELETE
Definition: shresdef.h:824
#define FCIDM_SHVIEW_INSERT
Definition: shresdef.h:828
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
HWND buttons[5]
Definition: sndrec32.cpp:40
Definition: scsiwmi.h:51
HANDLE lEvent
Definition: tftpd.cpp:56
uint32_t ULONG
Definition: typedefs.h:59
_In_ PSID _Out_writes_to_opt_ cchName LPSTR _Inout_ LPDWORD cchName
Definition: winbase.h:2767
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:531
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
DWORD COLORREF
Definition: windef.h:300
#define GetObject
Definition: wingdi.h:4468
#define WM_SIZE
Definition: winuser.h:1611
#define WM_COMMAND
Definition: winuser.h:1740
#define WM_WININICHANGE
Definition: winuser.h:1630
#define WM_MOUSEMOVE
Definition: winuser.h:1775
#define WM_LBUTTONDOWN
Definition: winuser.h:1776
#define WM_LBUTTONUP
Definition: winuser.h:1777
#define WM_SETCURSOR
Definition: winuser.h:1636
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const CHAR * LPCTSTR
Definition: xmlstorage.h:193