mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 12:08:16 +00:00
hhctrl.ocx: Make some functions static.
This commit is contained in:
parent
94207adce6
commit
9d5d7bff04
|
@ -46,7 +46,7 @@ static LPWSTR CHM_ANSIToUnicode(LPCSTR ansi)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reads a string from the #STRINGS section in the CHM file */
|
/* Reads a string from the #STRINGS section in the CHM file */
|
||||||
LPWSTR CHM_ReadString(CHMInfo *pChmInfo, DWORD dwOffset)
|
static LPWSTR CHM_ReadString(CHMInfo *pChmInfo, DWORD dwOffset)
|
||||||
{
|
{
|
||||||
LARGE_INTEGER liOffset;
|
LARGE_INTEGER liOffset;
|
||||||
IStorage *pStorage = pChmInfo->pStorage;
|
IStorage *pStorage = pChmInfo->pStorage;
|
||||||
|
|
|
@ -148,7 +148,7 @@ static void SB_OnMouseMove(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK SizeBar_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
static LRESULT CALLBACK SizeBar_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
switch (message)
|
switch (message)
|
||||||
{
|
{
|
||||||
|
@ -264,7 +264,7 @@ static void Child_OnPaint(HWND hWnd)
|
||||||
EndPaint(hWnd, &ps);
|
EndPaint(hWnd, &ps);
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK Child_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
static LRESULT CALLBACK Child_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
switch (message)
|
switch (message)
|
||||||
{
|
{
|
||||||
|
@ -619,7 +619,7 @@ static void Help_OnSize(HWND hWnd)
|
||||||
WB_ResizeBrowser(pHHInfo->pWBInfo, rc.right - dwSize, rc.bottom - dwSize);
|
WB_ResizeBrowser(pHHInfo->pWBInfo, rc.right - dwSize, rc.bottom - dwSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK Help_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
static LRESULT CALLBACK Help_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
PAINTSTRUCT ps;
|
PAINTSTRUCT ps;
|
||||||
HDC hdc;
|
HDC hdc;
|
||||||
|
|
Loading…
Reference in a new issue