|
LibreOffice Module odk (master) 1
|
#include <assert.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <process.h>#include <windows.h>#include <cppuhelper/findsofficepath.h>#include <sal/types.h>Go to the source code of this file.
Macros | |
| #define | WIN32_LEAN_AND_MEAN |
| #define | MY_SIZE(s) (sizeof (s) / sizeof *(s)) |
| #define | MY_LENGTH(s) (MY_SIZE(s) - 1) |
Functions | |
| static wchar_t * | getPath (void) |
| static wchar_t * | createCommandLine (wchar_t const *lpCmdLine) |
| static FILE * | getErrorFile (int create) |
| static void | writeError (const char *errstr) |
| static void | closeErrorFile (void) |
| int WINAPI | wWinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) |
| #define MY_LENGTH | ( | s | ) | (MY_SIZE(s) - 1) |
Definition at line 35 of file win/unoapploader.c.
| #define MY_SIZE | ( | s | ) | (sizeof (s) / sizeof *(s)) |
Definition at line 34 of file win/unoapploader.c.
| #define WIN32_LEAN_AND_MEAN |
Definition at line 27 of file win/unoapploader.c.
|
static |
Definition at line 403 of file win/unoapploader.c.
References FILE, getErrorFile(), and NULL.
Referenced by wWinMain().
|
static |
Definition at line 291 of file win/unoapploader.c.
References _MAX_PATH, base, MY_SIZE, NULL, and SPACE.
Referenced by wWinMain().
|
static |
Definition at line 344 of file win/unoapploader.c.
References _MAX_PATH, base, create(), EXTENSION, FILE, MY_SIZE, and NULL.
Referenced by closeErrorFile(), and writeError().
|
static |
Definition at line 268 of file win/unoapploader.c.
References cppuhelper_detail_findSofficePath(), NULL, and writeError().
Referenced by wWinMain().
|
static |
Definition at line 390 of file win/unoapploader.c.
References FILE, getErrorFile(), and NULL.
Referenced by getPath(), and wWinMain().
| int WINAPI wWinMain | ( | HINSTANCE | hInstance, |
| HINSTANCE | hPrevInstance, | ||
| LPWSTR | lpCmdLine, | ||
| int | nCmdShow | ||
| ) |
Definition at line 63 of file win/unoapploader.c.
References closeErrorFile(), createCommandLine(), err, FALSE, getPath(), m, MAX_PATH, MY_LENGTH, n, NULL, PATHSEPARATOR, size, TRUE, value, and writeError().