I have a dialog box that I called up from my WinMain function with DialogBox(hInstance, MAKEINTRESOURCE(IDD_MAIN), NULL, DlgProc);

In the function DlgProc I want to call up another dialog box if a user clicks a certain button. How do I pass HINSTANCE from the DlgProc function?