ReactOS 0.4.16-dev-125-g798ea90
string.c File Reference
#include "progman.h"
Include dependency graph for string.c:

Go to the source code of this file.

Functions

VOID STRING_LoadStrings (VOID)
 
VOID STRING_LoadMenus (VOID)
 

Variables

WCHAR szTitle [256]
 

Function Documentation

◆ STRING_LoadMenus()

VOID STRING_LoadMenus ( VOID  )

Definition at line 41 of file string.c.

42{
44
45 /* Create the menu */
47 Globals.hFileMenu = GetSubMenu(hMainMenu, 0);
48 Globals.hOptionMenu = GetSubMenu(hMainMenu, 1);
49 Globals.hWindowsMenu = GetSubMenu(hMainMenu, 2);
50 Globals.hLanguageMenu = GetSubMenu(hMainMenu, 3);
51
52 if (Globals.hMDIWnd)
54 else
56
57 /* Destroy the old menu */
58 if (Globals.hMainMenu)
59 DestroyMenu(Globals.hMainMenu);
60 Globals.hMainMenu = hMainMenu;
61}
#define MAIN_MENU
Definition: resources.h:12
CLIPBOARD_GLOBALS Globals
Definition: clipbrd.c:13
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:63
HMENU hMainMenu
Definition: mplay32.c:25
HINSTANCE hInstance
Definition: precomp.h:43
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207
#define WM_MDISETMENU
Definition: winuser.h:1825
BOOL WINAPI SetMenu(_In_ HWND, _In_opt_ HMENU)
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
BOOL WINAPI DestroyMenu(_In_ HMENU)
#define MAKEINTRESOURCEW(i)
Definition: winuser.h:582
HMENU WINAPI LoadMenuW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)

Referenced by wWinMain().

◆ STRING_LoadStrings()

VOID STRING_LoadStrings ( VOID  )

Definition at line 36 of file string.c.

37{
39}
#define IDS_PROGRAM_MANAGER
Definition: resource.h:50
WCHAR szTitle[256]
Definition: string.c:34
#define ARRAYSIZE(array)
Definition: filtermapper.c:47
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)

Referenced by wWinMain().

Variable Documentation

◆ szTitle

WCHAR szTitle[256]

Definition at line 34 of file string.c.

Referenced by STRING_LoadStrings().