30 m_WinEventHandler(
NULL),
41#define TO_HRESULT(x) ((HRESULT)(S_OK+(x)))
139 info.dwMask = DBIM_MAXSIZE;
182 if (
IsEqualGUID(guidService, SID_SMenuBandBottom) ||
183 IsEqualGUID(guidService, SID_SMenuBandBottomSelected) ||
214 CComPtr<IUnknown> protectThis(this->
ToIUnknown());
276 CComPtr<IUnknown> protectThis(this->
ToIUnknown());
283 CComPtr<IMenuPopup> pMenuPopup;
288 pMenuPopup->OnPosRectChangeDB(&
Rect);
362 return ShellObjectCreator<CMenuSite>(
riid,
ppv);
#define STDMETHODCALLTYPE
#define FAILED_UNEXPECTEDLY(hr)
HRESULT WINAPI IUnknown_UIActivateIO(IUnknown *unknown, BOOL activate, LPMSG msg)
HRESULT WINAPI IUnknown_QueryStatus(IUnknown *lpUnknown, REFGUID pguidCmdGroup, ULONG cCmds, OLECMD *prgCmds, OLECMDTEXT *pCmdText)
HRESULT WINAPI IUnknown_QueryService(IUnknown *, REFGUID, REFIID, LPVOID *)
HRESULT WINAPI IUnknown_Exec(IUnknown *lpUnknown, REFGUID pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
HRESULT WINAPI IUnknown_GetWindow(IUnknown *lpUnknown, HWND *lphWnd)
HRESULT WINAPI IUnknown_SetSite(IUnknown *obj, IUnknown *site)
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
#define IsEqualGUID(rguid1, rguid2)
_In_ PSID _Out_writes_to_opt_ cchName LPSTR _Inout_ LPDWORD cchName
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
BOOL WINAPI IsWindow(_In_opt_ HWND)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI DestroyWindow(_In_ HWND)
#define IID_PPV_ARG(Itype, ppType)