ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Macros | |
#define | MAX_GETPRINTER_SIZE 4096 - MAX_PATH |
Typedefs | |
typedef void(WINAPI * | PPfpSHChangeNotify) (LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID dwItem2) |
Functions | |||
DWORD | UnicodeToAnsiInPlace (PWSTR pwszField) | ||
static int | multi_sz_lenW (const WCHAR *str) | ||
DWORD | UnicodeToAnsiZZInPlace (PWSTR pwszzField) | ||
LONG WINAPI | IntProtectHandle (HANDLE hSpooler, BOOL Close) | ||
BOOL WINAPI | IntUnprotectHandle (HANDLE hSpooler) | ||
AllocSplStr | |||
Allocates memory for a Unicode string and copies the input string into it. Equivalent of wcsdup, but the returned buffer is allocated from the spooler heap and must be freed with DllFreeSplStr.
| |||
PWSTR WINAPI | AllocSplStr (PCWSTR pwszInput) | ||
DllAllocSplMem | |||
Allocate a block of zeroed memory. Windows allocates from a separate spooler heap here while we just use the process heap.
| |||
PVOID WINAPI | DllAllocSplMem (DWORD dwBytes) | ||
DllFreeSplMem | |||
Frees the memory allocated with DllAllocSplMem.
| |||
BOOL WINAPI | DllFreeSplMem (PVOID pMem) | ||
DllFreeSplStr | |||
Frees the string allocated with AllocSplStr.
| |||
BOOL WINAPI | DllFreeSplStr (PWSTR pwszString) | ||
SECURITY_DESCRIPTOR * | get_sd (SECURITY_DESCRIPTOR *sd, DWORD *size) | ||
VOID | UpdateTrayIcon (HANDLE hPrinter, DWORD JobId) | ||
Variables | |
static HMODULE | hShell32 = (HMODULE)-1 |
Definition at line 204 of file utils.c.
SECURITY_DESCRIPTOR * get_sd | ( | SECURITY_DESCRIPTOR * | sd, |
DWORD * | size | ||
) |
Definition at line 285 of file utils.c.
Definition at line 107 of file utils.c.
Referenced by ClosePrinter(), CloseSpoolFileHandle(), CommitSpoolData(), and GetSpoolFileHandle().
Definition at line 171 of file utils.c.
Referenced by CloseSpoolFileHandle(), CommitSpoolData(), and GetSpoolFileHandle().
Definition at line 66 of file utils.c.
Referenced by UnicodeToAnsiZZInPlace().
Definition at line 28 of file utils.c.
Referenced by AddJobA(), EnumFormsA(), EnumJobsA(), EnumPrinterDriversA(), GetFormA(), GetJobA(), and GetPrinterDriverA().
Definition at line 78 of file utils.c.
Referenced by EnumPrinterDriversA(), and GetPrinterDriverA().
Definition at line 344 of file utils.c.
Definition at line 17 of file utils.c.
Referenced by UpdateTrayIcon().