comdlg32: Make FD31_FreeOfnW() and FD31_MapOfnStructA() static.
This commit is contained in:
parent
f3c092f738
commit
b520cc1aed
|
@ -738,7 +738,7 @@ static LPWSTR FD31_DupToW(LPCSTR str, DWORD size)
|
||||||
* FD31_MapOfnStructA [internal]
|
* FD31_MapOfnStructA [internal]
|
||||||
* map a 32 bits Ansi structure to a Unicode one
|
* map a 32 bits Ansi structure to a Unicode one
|
||||||
*/
|
*/
|
||||||
void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW, BOOL open)
|
static void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW, BOOL open)
|
||||||
{
|
{
|
||||||
UNICODE_STRING usBuffer;
|
UNICODE_STRING usBuffer;
|
||||||
|
|
||||||
|
@ -796,7 +796,7 @@ void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW, BOOL op
|
||||||
* FD31_FreeOfnW [internal]
|
* FD31_FreeOfnW [internal]
|
||||||
* Undo all allocations done by FD31_MapOfnStructA
|
* Undo all allocations done by FD31_MapOfnStructA
|
||||||
*/
|
*/
|
||||||
void FD31_FreeOfnW(OPENFILENAMEW *ofnW)
|
static void FD31_FreeOfnW(OPENFILENAMEW *ofnW)
|
||||||
{
|
{
|
||||||
HeapFree(GetProcessHeap(), 0, (LPWSTR) ofnW->lpstrFilter);
|
HeapFree(GetProcessHeap(), 0, (LPWSTR) ofnW->lpstrFilter);
|
||||||
HeapFree(GetProcessHeap(), 0, ofnW->lpstrCustomFilter);
|
HeapFree(GetProcessHeap(), 0, ofnW->lpstrCustomFilter);
|
||||||
|
|
|
@ -40,8 +40,6 @@ extern BOOL FD32_GetTemplate(PFD31_DATA lfs);
|
||||||
extern BOOL FD31_Init(void);
|
extern BOOL FD31_Init(void);
|
||||||
extern PFD31_DATA FD31_AllocPrivate(LPARAM lParam, UINT dlgType, BOOL IsUnicode);
|
extern PFD31_DATA FD31_AllocPrivate(LPARAM lParam, UINT dlgType, BOOL IsUnicode);
|
||||||
extern void FD31_DestroyPrivate(PFD31_DATA lfs);
|
extern void FD31_DestroyPrivate(PFD31_DATA lfs);
|
||||||
extern void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW, BOOL open);
|
|
||||||
extern void FD31_FreeOfnW(OPENFILENAMEW *ofnW);
|
|
||||||
extern BOOL FD31_CallWindowProc(const FD31_DATA *lfs, UINT wMsg, WPARAM wParam,
|
extern BOOL FD31_CallWindowProc(const FD31_DATA *lfs, UINT wMsg, WPARAM wParam,
|
||||||
LPARAM lParam);
|
LPARAM lParam);
|
||||||
extern LONG FD31_WMInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
extern LONG FD31_WMInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam);
|
||||||
|
|
Loading…
Reference in New Issue