ReactOS  0.4.15-dev-4934-gfd1e799
startctxmnu.cpp File Reference
#include "precomp.h"
Include dependency graph for startctxmnu.cpp:

Go to the source code of this file.


class  CStartMenuBtnCtxMenu


HRESULT CStartMenuBtnCtxMenu_CreateInstance (ITrayWindow *m_TrayWnd, IN HWND m_Owner, IContextMenu **ppCtxMenu)

Function Documentation

◆ CStartMenuBtnCtxMenu_CreateInstance()

HRESULT CStartMenuBtnCtxMenu_CreateInstance ( ITrayWindow *  m_TrayWnd,
IN HWND  m_Owner,
IContextMenu **  ppCtxMenu 

Definition at line 240 of file startctxmnu.cpp.

241 {
243  mnu->Initialize(m_TrayWnd, m_Owner);
244  *ppCtxMenu = mnu;
245  return S_OK;
246 }
#define S_OK
Definition: intsafe.h:52
HRESULT Initialize(ITrayWindow *pTrayWnd, IN HWND hWndOwner)

Referenced by CTrayWindow::OnContextMenu().