ReactOS  0.4.13-dev-464-g6b95727
defines.h File Reference
#include <tchar.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <wingdi.h>
#include <winnls.h>
#include <winuser.h>
#include <wincon.h>
#include <richedit.h>
#include <shellapi.h>
#include <shlobj.h>
#include <shlwapi.h>
#include <stdio.h>
#include <strsafe.h>
#include <ndk/rtlfuncs.h>
#include <atlcoll.h>
#include <atlsimpcoll.h>
#include <atlstr.h>
#include <rappsmsg.h>
#include "resource.h"
#include "winmain.h"
Include dependency graph for defines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define _INC_WINDOWS
 
#define COM_NO_WINDOWS_H
 
#define COBJMACROS
 
#define APPLICATION_DATABASE_URL   L"https://rapps.reactos.org/rappmgr.cab"
 
#define MAX_STR_LEN   256
 

Enumerations

enum  AppsCategories {
  ENUM_ALL_AVAILABLE, ENUM_CAT_AUDIO, ENUM_CAT_VIDEO, ENUM_CAT_GRAPHICS,
  ENUM_CAT_GAMES, ENUM_CAT_INTERNET, ENUM_CAT_OFFICE, ENUM_CAT_DEVEL,
  ENUM_CAT_EDU, ENUM_CAT_ENGINEER, ENUM_CAT_FINANCE, ENUM_CAT_SCIENCE,
  ENUM_CAT_TOOLS, ENUM_CAT_DRIVERS, ENUM_CAT_LIBS, ENUM_CAT_THEMES,
  ENUM_CAT_OTHER, ENUM_CAT_SELECTED, ENUM_ALL_INSTALLED, ENUM_INSTALLED_APPLICATIONS = 31,
  ENUM_UPDATES = 32, ENUM_INSTALLED_MIN = ENUM_ALL_INSTALLED, ENUM_INSTALLED_MAX = ENUM_UPDATES, ENUM_AVAILABLE_MIN = ENUM_ALL_AVAILABLE,
  ENUM_AVAILABLE_MAX = ENUM_CAT_SELECTED
}
 

Functions

BOOL IsAvailableEnum (INT x)
 
BOOL IsInstalledEnum (INT x)
 

Macro Definition Documentation

◆ _INC_WINDOWS

#define _INC_WINDOWS

Definition at line 4 of file defines.h.

◆ APPLICATION_DATABASE_URL

#define APPLICATION_DATABASE_URL   L"https://rapps.reactos.org/rappmgr.cab"

Definition at line 32 of file defines.h.

◆ COBJMACROS

#define COBJMACROS

Definition at line 6 of file defines.h.

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 5 of file defines.h.

◆ MAX_STR_LEN

#define MAX_STR_LEN   256

Definition at line 33 of file defines.h.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 3 of file defines.h.

Enumeration Type Documentation

◆ AppsCategories

Enumerator
ENUM_ALL_AVAILABLE 
ENUM_CAT_AUDIO 
ENUM_CAT_VIDEO 
ENUM_CAT_GRAPHICS 
ENUM_CAT_GAMES 
ENUM_CAT_INTERNET 
ENUM_CAT_OFFICE 
ENUM_CAT_DEVEL 
ENUM_CAT_EDU 
ENUM_CAT_ENGINEER 
ENUM_CAT_FINANCE 
ENUM_CAT_SCIENCE 
ENUM_CAT_TOOLS 
ENUM_CAT_DRIVERS 
ENUM_CAT_LIBS 
ENUM_CAT_THEMES 
ENUM_CAT_OTHER 
ENUM_CAT_SELECTED 
ENUM_ALL_INSTALLED 
ENUM_INSTALLED_APPLICATIONS 
ENUM_UPDATES 
ENUM_INSTALLED_MIN 
ENUM_INSTALLED_MAX 
ENUM_AVAILABLE_MIN 
ENUM_AVAILABLE_MAX 

Definition at line 35 of file defines.h.

36 {
57  ENUM_UPDATES = 32,
62 };

Function Documentation

◆ IsAvailableEnum()

BOOL IsAvailableEnum ( INT  x)
inline

Definition at line 64 of file defines.h.

65 {
66  return (x >= ENUM_AVAILABLE_MIN && x <= ENUM_AVAILABLE_MAX);
67 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548

Referenced by CMainWindow::OnCommand(), CMainWindow::ProcessWindowMessage(), and CMainWindow::UpdateApplicationsList().

◆ IsInstalledEnum()

BOOL IsInstalledEnum ( INT  x)
inline

Definition at line 69 of file defines.h.

70 {
71  return (x >= ENUM_INSTALLED_MIN && x <= ENUM_INSTALLED_MAX);
72 }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548

Referenced by CMainWindow::ProcessWindowMessage(), RemoveAppFromRegistry(), UninstallApplication(), and CMainWindow::UpdateApplicationsList().