Home
last modified time | relevance | path

Searched refs:hProcessHeap (Results 1 – 25 of 31) sorted by relevance

12

/reactos/win32ss/printing/base/winspool/
H A Dprinters.c126 HeapFree(hProcessHeap, 0, pJobInfo1); in _StartDocPrinterSpooled()
295 if (pdmw) HeapFree(hProcessHeap, 0, pdmw); in AddPrinterA()
444 HeapFree(hProcessHeap, 0, pHandle); in ClosePrinter()
567 HeapFree(hProcessHeap, 0, pdmwInput); in DeviceCapabilitiesA()
738 HeapFree(hProcessHeap, 0, pdmwInput); in DocumentPropertiesA()
741 HeapFree(hProcessHeap, 0, pdmwOutput); in DocumentPropertiesA()
768 HeapFree(hProcessHeap, 0, pi9); in get_devmodeW()
869 HeapFree(hProcessHeap, 0, pi2); in IntFixUpDevModeNames()
1314 if (pi2) HeapFree(hProcessHeap, 0, pi2); in PrinterProperties()
1868 HeapFree(hProcessHeap, 0, pwszName); in EnumPrintersA()
[all …]
H A Dutils.c51 pszTemp = HeapAlloc(hProcessHeap, 0, (cch + 1) * sizeof(CHAR)); in UnicodeToAnsiInPlace()
61 HeapFree(hProcessHeap, 0, pszTemp); in UnicodeToAnsiInPlace()
98 HeapFree(hProcessHeap, 0, pszTemp); in UnicodeToAnsiZZInPlace()
217 pwszOutput = HeapAlloc(hProcessHeap, 0, cbInput); in AllocSplStr()
245 return HeapAlloc(hProcessHeap, HEAP_ZERO_MEMORY, dwBytes); in DllAllocSplMem()
263 return HeapFree(hProcessHeap, 0, pMem); in DllFreeSplMem()
281 return HeapFree(hProcessHeap, 0, pwszString); in DllFreeSplStr()
H A Dmain.c11 HANDLE hProcessHeap; variable
64 return HeapAlloc(hProcessHeap, HEAP_ZERO_MEMORY, len); in midl_user_allocate()
70 HeapFree(hProcessHeap, 0, ptr); in midl_user_free()
82 hProcessHeap = GetProcessHeap(); in DllMain()
H A Dprinterdata.c352 pwszKeyName = HeapAlloc(hProcessHeap, 0, (cch + 1) * sizeof(WCHAR)); in GetPrinterDataExA()
368 pwszValueName = HeapAlloc(hProcessHeap, 0, (cch + 1) * sizeof(WCHAR)); in GetPrinterDataExA()
427 pUnicodeData = HeapAlloc(hProcessHeap, 0, cbUnicodeData); in GetPrinterDataExA()
484 HeapFree(hProcessHeap, 0, pwszKeyName); in GetPrinterDataExA()
487 HeapFree(hProcessHeap, 0, pwszValueName); in GetPrinterDataExA()
490 HeapFree(hProcessHeap, 0, pUnicodeData); in GetPrinterDataExA()
566 pwszKeyName = HeapAlloc(hProcessHeap, 0, (cch + 1) * sizeof(WCHAR)); in SetPrinterDataExA()
596 pUnicodeData = HeapAlloc(hProcessHeap, 0, cbData * sizeof(WCHAR)); in SetPrinterDataExA()
614 HeapFree(hProcessHeap, 0, pwszKeyName); in SetPrinterDataExA()
617 HeapFree(hProcessHeap, 0, pwszValueName); in SetPrinterDataExA()
[all …]
H A Dprintprocessors.c307 pwszName = HeapAlloc(hProcessHeap, 0, (cch + 1) * sizeof(WCHAR)); in GetPrintProcessorDirectoryA()
323 pwszEnvironment = HeapAlloc(hProcessHeap, 0, (cch + 1) * sizeof(WCHAR)); in GetPrintProcessorDirectoryA()
339 pwszPrintProcessorInfo = HeapAlloc(hProcessHeap, 0, cbBuf); in GetPrintProcessorDirectoryA()
358 HeapFree(hProcessHeap, 0, pwszName); in GetPrintProcessorDirectoryA()
361 HeapFree(hProcessHeap, 0, pwszEnvironment); in GetPrintProcessorDirectoryA()
364 HeapFree(hProcessHeap, 0, pwszPrintProcessorInfo); in GetPrintProcessorDirectoryA()
H A Dprinterdrivers.c276 pdi = HeapAlloc(hProcessHeap, 0, sizeof(WINSPOOL_DRIVER_INFO_8)); in AddPrinterDriverExW()
303 if ( pdi == NULL ) pdi = HeapAlloc(hProcessHeap, 0, sizeof(WINSPOOL_DRIVER_INFO_6)); in AddPrinterDriverExW()
315 if ( pdi == NULL ) pdi = HeapAlloc(hProcessHeap, 0, sizeof(WINSPOOL_DRIVER_INFO_4)); in AddPrinterDriverExW()
327 if ( pdi == NULL ) pdi = HeapAlloc(hProcessHeap, 0, sizeof(WINSPOOL_DRIVER_INFO_3)); in AddPrinterDriverExW()
344 if ( pdi == NULL ) pdi = HeapAlloc(hProcessHeap, 0, sizeof(WINSPOOL_DRIVER_INFO_2)); in AddPrinterDriverExW()
708 pwszEnvironment = HeapAlloc(hProcessHeap, 0, (cch + 1) * sizeof(WCHAR)); in GetPrinterDriverA()
865 HeapFree(hProcessHeap, 0, pwszEnvironment); in GetPrinterDriverA()
H A Dprecomp.h59 extern HANDLE hProcessHeap;
/reactos/win32ss/gdi/gdi32/misc/
H A Dheap.c31 HANDLE hProcessHeap = NULL; variable
38 assert(hProcessHeap); in HEAP_alloc()
39 return RtlAllocateHeap ( hProcessHeap, 0, len ); in HEAP_alloc()
66 assert(hProcessHeap); in HEAP_free()
68 RtlFreeHeap ( hProcessHeap, 0, memory ); in HEAP_free()
/reactos/win32ss/printing/base/spoolss/
H A Dmemory.c69 pwszOutput = HeapAlloc(hProcessHeap, 0, cbInput); in AllocSplStr()
97 return HeapAlloc(hProcessHeap, HEAP_ZERO_MEMORY, dwBytes); in DllAllocSplMem()
115 return HeapFree(hProcessHeap, 0, pMem); in DllFreeSplMem()
133 return HeapFree(hProcessHeap, 0, pwszString); in DllFreeSplStr()
H A Dmain.c11 HANDLE hProcessHeap; variable
191 hProcessHeap = GetProcessHeap(); in DllMain()
H A Dprecomp.h52 extern HANDLE hProcessHeap;
/reactos/modules/rosapps/applications/devutils/vgafontedit/
H A Dfontwnd.c15 Info->Font = (PBITMAP_FONT) HeapAlloc( hProcessHeap, 0, sizeof(BITMAP_FONT) ); in InitFont()
132 HeapFree(hProcessHeap, 0, pszMessage); in FontWndProc()
193 HeapFree(hProcessHeap, 0, Info->Font); in FontWndProc()
196 HeapFree(hProcessHeap, 0, Info->OpenInfo->pszFileName); in FontWndProc()
198 HeapFree(hProcessHeap, 0, Info->OpenInfo); in FontWndProc()
199 HeapFree(hProcessHeap, 0, Info); in FontWndProc()
368 Info = (PFONT_WND_INFO) HeapAlloc( hProcessHeap, HEAP_ZERO_MEMORY, sizeof(FONT_WND_INFO) ); in CreateFontWindow()
419 HeapFree(hProcessHeap, 0, Info); in CreateFontWindow()
H A Dmainwnd.c75 HeapFree(hProcessHeap, 0, pszTooltip); in AddToolbarButton()
209 OpenInfo = HeapAlloc(hProcessHeap, HEAP_ZERO_MEMORY, sizeof(FONT_OPEN_INFO)); in CreateOpenInfo()
217 OpenInfo->pszFileName = HeapAlloc(hProcessHeap, 0, MAX_PATH); in CreateOpenInfo()
221 HeapFree(hProcessHeap, 0, OpenInfo); in CreateOpenInfo()
228 HeapFree(hProcessHeap, 0, OpenInfo->pszFileName); in CreateOpenInfo()
229 HeapFree(hProcessHeap, 0, OpenInfo); in CreateOpenInfo()
259 HeapFree(hProcessHeap, 0, OpenInfo->pszFileName); in DoFileOpen()
260 HeapFree(hProcessHeap, 0, OpenInfo); in DoFileOpen()
575 HeapFree(hProcessHeap, 0, Info); in MainWndProc()
612 *Info = (PMAIN_WND_INFO) HeapAlloc( hProcessHeap, HEAP_ZERO_MEMORY, sizeof(MAIN_WND_INFO) ); in CreateMainWindow()
[all …]
H A Dmain.c13 HANDLE hProcessHeap; variable
29 hProcessHeap = GetProcessHeap(); in wWinMain()
57 HeapFree(hProcessHeap, 0, szAppName); in wWinMain()
H A Dopensave.c49 HeapFree(hProcessHeap, 0, pszFilter); in DoOpenFile()
70 HeapFree(hProcessHeap, 0, pszFilter); in DoSaveFile()
H A Dmisc.c83 HeapFree(hProcessHeap, 0, lpFormat); in VarListLoadAndFormatString()
113 HeapFree(hProcessHeap, 0, pszError); in LocalizedError()
H A Dfontboxeswnd.c70 pCharacterRect = (LPRECT) HeapAlloc( hProcessHeap, 0, sizeof(RECT) ); in SetSelectedCharacter()
79 HeapFree(hProcessHeap, 0, pCharacterRect); in SetSelectedCharacter()
202 EditGlyphInfo = (PEDIT_GLYPH_INFO) HeapAlloc( hProcessHeap, 0, sizeof(EDIT_GLYPH_INFO) ); in EditCurrentGlyph()
H A Dprecomp.h156 extern HANDLE hProcessHeap;
H A Deditglyphdlg.c111 HeapFree(hProcessHeap, 0, Info); in EditGlyphCommand()
/reactos/base/shell/explorer/
H A Dstartup.cpp208 szCmdLine = (WCHAR*)HeapAlloc(hProcessHeap, in ProcessRunKeys()
220 szValue = (WCHAR*)HeapAlloc(hProcessHeap, in ProcessRunKeys()
276 … szCmdLineExp = (WCHAR *)HeapAlloc(hProcessHeap, 0, dwNumOfChars * sizeof(*szCmdLineExp)); in ProcessRunKeys()
298 HeapFree(hProcessHeap, 0, szCmdLineExp); in ProcessRunKeys()
308 HeapFree(hProcessHeap, 0, szValue); in ProcessRunKeys()
310 HeapFree(hProcessHeap, 0, szCmdLine); in ProcessRunKeys()
H A Dexplorer.cpp25 HANDLE hProcessHeap; variable
129 hProcessHeap = GetProcessHeap(); in StartWithDesktop()
H A Dutil.cpp188 lpData = HeapAlloc(hProcessHeap, 0, dwLen); in GetVersionInfoString()
233 HeapFree(hProcessHeap, 0, lpData); in GetVersionInfoString()
H A Dtaskswnd.cpp803 TaskGroup = (PTASK_GROUP) HeapAlloc(hProcessHeap, in AddToTaskGroup()
843 HeapFree(hProcessHeap, in RemoveTaskFromTaskGroup()
936 m_TaskItems = (PTASK_ITEM) HeapAlloc(hProcessHeap, in AllocTaskItem()
953 NewArray = (PTASK_ITEM) HeapReAlloc(hProcessHeap, in AllocTaskItem()
/reactos/dll/cpl/hdwwiz/
H A Dhdwwiz.c36 HANDLE hProcessHeap; variable
378 pstrStatusText = (PWSTR)HeapAlloc(hProcessHeap, 0, sizeof(szStatusText)); in InitProbeListPage()
409 pDeviceStatusText = (PWSTR)HeapAlloc(hProcessHeap, 0, MAX_STR_SIZE); in ProbeListPageDlgProc()
462 HeapFree(hProcessHeap, 0, (LPVOID) Item.lParam); in ProbeListPageDlgProc()
464 HeapFree(hProcessHeap, 0, (LPVOID) pDeviceStatusText); in ProbeListPageDlgProc()
984 hProcessHeap = GetProcessHeap(); in DllMain()
/reactos/win32ss/gdi/gdi32/main/
H A Ddllmain.c50 hProcessHeap = GetProcessHeap(); in GdiProcessSetup()

12