ReactOS 0.4.15-dev-7924-g5949c20
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}
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define DefDlgProc
Definition: ros2win.h:34
Definition: tftpd.h:60
#define WM_INITDIALOG
Definition: winuser.h:1739

◆ 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}
HWND hWnd
Definition: settings.c:17
#define DefFrameProc
Definition: ros2win.h:32

◆ RosMDIChildProc()

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

Definition at line 75 of file ros2win.c.

76{
78}
#define DefMDIChildProc
Definition: ros2win.h:33

◆ 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}
#define DefWindowProc
Definition: ros2win.h:31
#define WM_CREATE
Definition: winuser.h:1608
#define WM_COMMAND
Definition: winuser.h:1740

Variable Documentation

◆ hInst

HINSTANCE hInst
extern

Definition at line 13 of file dxdiag.c.

Referenced by _CmdWndProc(), _tmain(), _tWinMain(), About(), AboutDialogWndProc(), activate_window(), CAppsListView::AddApplication(), 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(), co_IntCreateDefaultImeWindow(), CommonWndProc(), Control_DoInterface(), Control_DoWindow(), Control_RunDLLA(), Control_RunDLLW(), CopyEventEntry(), CCharMapWindow::Create(), CDeviceManager::Create(), CMainToolbar::Create(), CSearchBar::Create(), CApplicationView::Create(), create_thread_hwnd(), create_tooltips_window(), CreateListColumns(), CreateListView(), CreateNewKey(), CreateNewValue(), CreateRequirementsListColumns(), CreateResourceColumns(), CreateResourceListColumns(), CreateSettingsDlg(), CreateToolTipForButtons(), CreateTreeView(), CryptExtOpenCER(), CUIFWindow::CUIFWindow(), CUTBLBarMenu::CUTBLBarMenu(), DeleteIE3Cache(), DeleteKey(), DelNodeRunDLL32A(), DelNodeRunDLL32W(), DeviceManager_ExecuteA(), DeviceManager_ExecuteW(), DeviceProperties_RunDLLA(), DIALOG_CreateControls32(), DIALOG_CreateIndirect(), DirectInputEnumDevCb(), DisplayOnInit(), DisplayUsage(), DlgProc(), DllMain(), DllRegisterServer(), DllUnregisterServer(), DoSetPriority(), CDownloadManager::DownloadDlgProc(), DSEnumCallback(), EnumerateServiceProviders(), EnumEventsThread(), EnumWindowsProc(), error_code_messagebox(), EventDetails(), EventLogPropProc(), exec_hyperlink(), ExportRegistryFile(), ExtractAssociatedIconA(), ExtractAssociatedIconExA(), ExtractAssociatedIconExW(), ExtractAssociatedIconW(), FillResolutionsAndColors(), FillServerAddressCombo(), FindNextMessageBox(), FormatByteSize(), FrameWndProc(), GeneralOnInit(), GeneralPageWndProc(), GetEventMessage(), GetEventType(), GetInterfaceType(), GetInterruptType(), GetMemoryAccess(), GetPortType(), GetResourceType(), GetServices(), GetShareDisposition(), HTMLWindow2_prompt(), ImportRegistryFile(), init_nscontainer(), InitChildWindow(), InitDetailsDlgCtrl(), initDialog(), Initialize(), InitializeDialog(), InitializeDirectInputDialog(), InitializeDisplayAdapters(), InitializeDxDiagDialog(), InitializeSystemPage(), InitializeTabCtrl(), InitInstance(), InitInstance_wave(), InitListViewColumns(), InitListViewImageLists(), InitOpenFileName(), InitPropertiesDlg(), InitURLControl(), InputPageInitListViewColumns(), InsertTabCtrlItem(), CDownloadManager::LaunchDownloadDialog(), LaunchINFSectionA(), LaunchINFSectionExA(), LaunchINFSectionExW(), LaunchINFSectionW(), LengthOfStrResource(), LISTVIEW_CreateHeader(), ListWndNotifyProc(), load_str(), LoadHive(), LoadLibraryExW(), MainWndProc(), mciLoadCommandResource(), MenuHelp(), MLIsMLHInstance(), MLSetMLHInstance(), modify_binary_dlgproc(), modify_dword_dlgproc(), modify_multi_string_dlgproc(), modify_string_dlgproc(), MyMessageBox(), OleUIPasteSpecialW(), OnAbout(), OnCreate(), OnGetDispInfo(), OnMainCreate(), OnMenuSelect(), OnResolutionChanged(), OpenRDPConnectDialog(), Options_RunDLL(), Options_RunDLLA(), Options_RunDLLW(), ParseResources(), PerfDataRefresh(), PerformancePageRefreshThread(), PerformRegAction(), PrintDlgA(), PrintDlgW(), PrintUIEntryW(), ProcessKeys(), ProcessPage_OnDebug(), ProcessPage_OnEndProcess(), ProcessPage_OnEndProcessTree(), ProcessPage_OnSetAffinity(), ProcessPage_OnViewSelectColumns(), ProcessPageShowContextMenu(), CAppScrnshotPreview::ProcessWindowMessage(), PropSheetCallback(), register_nscontainer_class(), register_server(), register_serverwnd_class(), RegisterAndCreateWindow(), RegisterDialogClasses(), RegisterListboxWindowClass(), RegisterMyClass(), RegKeyEditPermissions(), SaveColumnSettings(), SaveSettings(), SelectNode(), ServicesPageWndProc(), set_statustext(), SetDeviceDetails(), ATL::CAtlBaseModule::SetResourceInstance(), SHGetShellStyleHInstance(), SHLoadMenuPopup(), SHMessageBoxCheckExA(), SHMessageBoxCheckExW(), ShowAboutBox(), CMainWindow::ShowAboutDlg(), ShowCustomizeClassic(), ShowCustomizeNotifyIcons(), ShowPopupMenuEx(), SHUnregisterClassesA(), SHUnregisterClassesW(), StartupPageWndProc(), TaskManager_OnFileNew(), TaskManager_OnMenuSelect(), TaskManager_OnTabWndSelChange(), TaskManagerWndProc(), test_clipboard_viewers(), test_listbox_dlgdir(), test_LoadStringA(), test_LoadStringW(), Test_ResBitmap(), ThreadProc(), toggle_num_pages(), TOOLBAR_NCCreate(), ToolsPageWndProc(), TrayIcon_GetProcessorUsageIcon(), TrayIcon_Update(), TreeView_Set3StateCheck(), TreeWndNotifyProc(), UnloadHive(), update_preview_statusbar(), UpdateColumnDataHints(), UXTHEME_InitSystem(), ValidateItem(), ViewTree_LoadTree(), WinMain(), WlxDialogBox(), WlxDialogBoxIndirect(), WlxDialogBoxIndirectParam(), WlxDialogBoxParam(), wmain(), WndProc(), and wWinMain().