ReactOS  0.4.13-dev-482-ge57f103
htmlhelp.c File Reference
#include "calc.h"
Include dependency graph for htmlhelp.c:

Go to the source code of this file.

Macros

#define GET_CB(name)
 

Functions

static HWND WINAPI dummy_HtmlHelpA (HWND hWnd, LPCSTR pszFile, UINT uCommand, DWORD dwData)
 
static HWND WINAPI dummy_HtmlHelpW (HWND hWnd, LPCWSTR pszFile, UINT uCommand, DWORD dwData)
 
void HtmlHelp_Start (HINSTANCE hInstance)
 
void HtmlHelp_Stop (void)
 

Variables

type_HtmlHelpA calc_HtmlHelpA = dummy_HtmlHelpA
 
type_HtmlHelpW calc_HtmlHelpW = dummy_HtmlHelpW
 
static HMODULE hHtmlHelp
 

Macro Definition Documentation

◆ GET_CB

#define GET_CB (   name)
Value:
calc_##name = (type_##name)GetProcAddress(hHtmlHelp, #name); \
if (calc_##name == NULL) calc_##name = dummy_##name;
smooth NULL
Definition: ftsmooth.c:416
static HMODULE hHtmlHelp
Definition: htmlhelp.c:36
Definition: name.c:36
#define GetProcAddress(x, y)
Definition: compat.h:410
GLuint const GLchar * name
Definition: glext.h:6031

Definition at line 23 of file htmlhelp.c.

Function Documentation

◆ dummy_HtmlHelpA()

static HWND WINAPI dummy_HtmlHelpA ( HWND  hWnd,
LPCSTR  pszFile,
UINT  uCommand,
DWORD  dwData 
)
static

Definition at line 39 of file htmlhelp.c.

40 {
41  return NULL;
42 }
smooth NULL
Definition: ftsmooth.c:416

◆ dummy_HtmlHelpW()

static HWND WINAPI dummy_HtmlHelpW ( HWND  hWnd,
LPCWSTR  pszFile,
UINT  uCommand,
DWORD  dwData 
)
static

Definition at line 45 of file htmlhelp.c.

46 {
47  return NULL;
48 }
smooth NULL
Definition: ftsmooth.c:416

◆ HtmlHelp_Start()

void HtmlHelp_Start ( HINSTANCE  hInstance)

Definition at line 50 of file htmlhelp.c.

51 {
52  hHtmlHelp = LoadLibrary(_T("HTMLHELP"));
53  if (hHtmlHelp == NULL)
54  return;
55 
58 }
#define GET_CB(name)
Definition: htmlhelp.c:23
#define LoadLibrary
Definition: winbase.h:3676
HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR data)
Definition: hhctrl.c:149
smooth NULL
Definition: ftsmooth.c:416
static HMODULE hHtmlHelp
Definition: htmlhelp.c:36
#define _T(x)
Definition: vfdio.h:22
HWND WINAPI HtmlHelpA(HWND caller, LPCSTR filename, UINT command, DWORD_PTR data)
Definition: hhctrl.c:413

Referenced by _tWinMain().

◆ HtmlHelp_Stop()

void HtmlHelp_Stop ( void  )

Definition at line 60 of file htmlhelp.c.

61 {
62  if(hHtmlHelp == NULL)
63  return;
64 
66  hHtmlHelp = NULL;
67 }
smooth NULL
Definition: ftsmooth.c:416
static HMODULE hHtmlHelp
Definition: htmlhelp.c:36
#define FreeLibrary(x)
Definition: compat.h:405

Referenced by _tWinMain().

Variable Documentation

◆ calc_HtmlHelpA

type_HtmlHelpA calc_HtmlHelpA = dummy_HtmlHelpA

Definition at line 33 of file htmlhelp.c.

◆ calc_HtmlHelpW

type_HtmlHelpW calc_HtmlHelpW = dummy_HtmlHelpW

Definition at line 34 of file htmlhelp.c.

◆ hHtmlHelp

HMODULE hHtmlHelp
static

Definition at line 36 of file htmlhelp.c.

Referenced by HtmlHelp_Start(), and HtmlHelp_Stop().