ReactOS  0.4.13-dev-455-g28ed234
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:59
HRESULT Initialize(ITrayWindow *pTrayWnd, IN HWND hWndOwner)

Referenced by CTrayWindow::OnContextMenu().