ReactOS  0.4.13-dev-66-gc714b7f
ros2win.c File Reference
#include <windows.h>
#include <commctrl.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include <process.h>
#include <stdio.h>
#include "ros2win.h"
Include dependency graph for ros2win.c:

Go to the source code of this file.

Macros

#define WIN32_LEAN_AND_MEAN
 
#define __ROS2WIN_H__MAIN__
 

Functions

LRESULT CALLBACK RosWindowProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 
LRESULT CALLBACK RosDlgProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 
LRESULT CALLBACK RosFrameProc (HWND hWnd, HWND hMdi, UINT message, WPARAM wParam, LPARAM lParam)
 
LRESULT CALLBACK RosMDIChildProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 

Variables

HINSTANCE hInst
 

Macro Definition Documentation

◆ __ROS2WIN_H__MAIN__

#define __ROS2WIN_H__MAIN__

Definition at line 37 of file ros2win.c.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 26 of file ros2win.c.

Function Documentation

◆ RosDlgProc()

LRESULT CALLBACK RosDlgProc ( HWND  hDlg,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 60 of file ros2win.c.

61 {
62  switch (message) {
63  case WM_INITDIALOG:
64 // return TRUE;
65  break;
66  }
67  return DefDlgProc(hDlg, message, wParam, lParam);
68 }
Definition: tftpd.h:59
WPARAM wParam
Definition: combotst.c:138
#define DefDlgProc
Definition: ros2win.h:34
#define WM_INITDIALOG
Definition: winuser.h:1715
LPARAM lParam
Definition: combotst.c:139

◆ RosFrameProc()

LRESULT CALLBACK RosFrameProc ( HWND  hWnd,
HWND  hMdi,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 70 of file ros2win.c.

71 {
72  return DefFrameProc(hWnd, hMdi, message, wParam, lParam);
73 }
Definition: tftpd.h:59
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
#define DefFrameProc
Definition: ros2win.h:32
LPARAM lParam
Definition: combotst.c:139

◆ RosMDIChildProc()

LRESULT CALLBACK RosMDIChildProc ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 75 of file ros2win.c.

76 {
78 }
Definition: tftpd.h:59
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
#define DefMDIChildProc
Definition: ros2win.h:33
LPARAM lParam
Definition: combotst.c:139

◆ RosWindowProc()

LRESULT CALLBACK RosWindowProc ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 47 of file ros2win.c.

48 {
49  switch (message) {
50  case WM_CREATE:
51 // return TRUE;
52  break;
53  case WM_COMMAND:
54 // return TRUE;
55  break;
56  }
58 }
Definition: tftpd.h:59
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
#define DefWindowProc
Definition: ros2win.h:31
#define WM_COMMAND
Definition: winuser.h:1716
#define WM_CREATE
Definition: winuser.h:1590
LPARAM lParam
Definition: combotst.c:139

Variable Documentation

◆ hInst

HINSTANCE hInst

Definition at line 13 of file dxdiag.c.

Referenced by _CmdWndProc(), _tmain(), _tWinMain(), About(), activate_window(), CSideTreeView::AddCategory(), AddColumns(), AddEntryToList(), CMainToolbar::AddImageToImageList(), AddItem(), AddService(), AffinityDialogWndProc(), AllocAndLoadString(), AllocAndLoadStringsCat(), ANIMATE_LoadResW(), ApplicationPageShowContextMenu1(), ApplicationPageShowContextMenu2(), ApplicationPageWndProc(), AtlAxCreateDialogA(), AtlAxCreateDialogW(), AtlAxDialogBoxA(), AtlAxDialogBoxW(), ATL::AtlFindStringResourceInstance(), BuildFilterStrings(), call_set_active_object(), CaptureDialogProc(), ChildWndProc(), ClearEvents(), CommonWndProc(), Control_DoInterface(), Control_DoWindow(), Control_RunDLLA(), Control_RunDLLW(), CopyEventEntry(), CCharMapWindow::Create(), CDeviceManager::Create(), CMainToolbar::Create(), CAppsListView::Create(), CSearchBar::Create(), create_thread_hwnd(), create_tooltips_window(), CreateHSplitBar(), CreateListColumns(), CreateListView(), CreateNewKey(), CreateNewValue(), CreateResourceColumns(), CreateResourceListColumns(), CreateSettingsDlg(), CreateTreeView(), CreateVSplitBar(), CryptExtOpenCER(), DeleteIE3Cache(), DeleteKey(), DelNodeRunDLL32A(), DelNodeRunDLL32W(), DeviceManager_ExecuteA(), DeviceManager_ExecuteW(), DeviceProperties_RunDLLA(), DIALOG_CreateControls32(), DIALOG_CreateIndirect(), DirectInputEnumDevCb(), DisplayOnInit(), DisplayUsage(), DlgProc(), DllMain(), DllRegisterServer(), DllUnregisterServer(), DoSetPriority(), DSEnumCallback(), EnumerateServiceProviders(), EnumEventsThread(), EnumWindowsProc(), error_code_messagebox(), EventDetails(), exec_hyperlink(), ExportRegistryFile(), ExtractAssociatedIconA(), ExtractAssociatedIconExA(), ExtractAssociatedIconExW(), ExtractAssociatedIconW(), FillResolutionsAndColors(), FillServerAddressCombo(), FindDialog(), FormatByteSize(), FrameWndProc(), GeneralOnInit(), GeneralPageWndProc(), GetEventMessage(), GetEventType(), GetInterfaceType(), GetServices(), HTMLWindow2_prompt(), ImportRegistryFile(), init_nscontainer(), InitChildWindow(), InitDetailsDlgCtrl(), initDialog(), Initialize(), InitializeDialog(), InitializeDirectInputDialog(), InitializeDisplayAdapters(), InitializeDxDiagDialog(), InitializeSystemPage(), InitializeTabCtrl(), InitInstance(), InitInstance_wave(), InitListViewColumns(), InitListViewImageLists(), InitOpenFileName(), InitPropertiesDlg(), InitTreeViewImageLists(), InitURLControl(), InputPageInitListViewColumns(), InsertTabCtrlItem(), CDownloadManager::LaunchDownloadDialog(), LaunchINFSectionA(), LaunchINFSectionExA(), LaunchINFSectionExW(), LaunchINFSectionW(), LengthOfStrResource(), LISTVIEW_CreateHeader(), ListWndNotifyProc(), LoadHive(), LoadLibraryExW(), LoadStringAndOem(), MainWndProc(), mciLoadCommandResource(), MenuHelp(), MLIsMLHInstance(), MLSetMLHInstance(), modify_binary_dlgproc(), modify_dword_dlgproc(), modify_multi_string_dlgproc(), modify_string_dlgproc(), MyMessageBox(), OleUIPasteSpecialW(), OnCreate(), OnGetDispInfo(), OnMainCreate(), OnMenuSelect(), OnResolutionChanged(), OpenRDPConnectDialog(), Options_RunDLL(), Options_RunDLLA(), Options_RunDLLCommon(), Options_RunDLLW(), ParseResources(), PerfDataRefresh(), PerformancePageRefreshThread(), PerformRegAction(), PrintDlgA(), PrintDlgW(), PrintUIEntryW(), ProcessKeys(), ProcessPage_OnDebug(), ProcessPage_OnDebugChannels(), ProcessPage_OnEndProcess(), ProcessPage_OnEndProcessTree(), ProcessPage_OnSetAffinity(), ProcessPage_OnViewSelectColumns(), ProcessPageShowContextMenu(), PropSheetCallback(), register_nscontainer_class(), register_server(), register_serverwnd_class(), RegisterAndCreateWindow(), RegisterDialogClasses(), RegisterListboxWindowClass(), RegisterMyClass(), RegKeyEditPermissions(), CMainWindow::s_EnumAvailableAppProc(), SaveColumnSettings(), SaveSettings(), SelectNode(), ServicesPageWndProc(), set_statustext(), SetDeviceDetails(), ATL::CAtlBaseModule::SetResourceInstance(), SHLoadMenuPopup(), SHMessageBoxCheckExA(), SHMessageBoxCheckExW(), ShowAboutDialog(), ShowCustomizeClassic(), ShowCustomizeNotifyIcons(), ShowPopupMenu(), SHUnregisterClassesA(), SHUnregisterClassesW(), START_TEST(), StartupPageWndProc(), TaskManager_OnFileNew(), TaskManager_OnMenuSelect(), TaskManager_OnTabWndSelChange(), TaskManagerWndProc(), test_clipboard_viewers(), test_listbox_dlgdir(), test_LoadStringA(), test_LoadStringW(), ThreadProc(), toggle_num_pages(), TOOLBAR_NCCreate(), ToolsPageWndProc(), TrayIcon_GetProcessorUsageIcon(), TrayIcon_ShellUpdateTrayIcon(), TreeView_Set3StateCheck(), UnloadHive(), update_preview_statusbar(), CMainWindow::UpdateApplicationsList(), UpdateColumnDataHints(), UXTHEME_InitSystem(), ValidateItem(), ViewTree_LoadTree(), WinMain(), WlxDialogBox(), WlxDialogBoxIndirect(), WlxDialogBoxIndirectParam(), WlxDialogBoxParam(), wmain(), WndProc(), write_bitmap(), and wWinMain().