Home
last modified time | relevance | path

Searched refs:nSize (Results 1 – 25 of 89) sorted by relevance

1234

/reactos/win32ss/gdi/gdi32/objects/
H A Denhmfile.c45 UINT nSize; in GdiConvertEnhMetaFile() local
47 nSize = GetEnhMetaFileBits( hemf, 0, NULL ); in GdiConvertEnhMetaFile()
48 if (nSize == 0) in GdiConvertEnhMetaFile()
52 Buffer = (BYTE *)LocalAlloc(LPTR, nSize); in GdiConvertEnhMetaFile()
56 nSize = GetEnhMetaFileBits( hemf, nSize, Buffer ); in GdiConvertEnhMetaFile()
57 if (nSize == 0) in GdiConvertEnhMetaFile()
78 UINT nSize; in GdiCreateLocalEnhMetaFile() local
82 if (nSize == 0) in GdiCreateLocalEnhMetaFile()
86 Buffer = (BYTE *)LocalAlloc(LPTR, nSize); in GdiCreateLocalEnhMetaFile()
91 nSize = NtGdiGetServerMetaFileBits( hmo, nSize, Buffer, &iType, &mm, &xExt, &yExt); in GdiCreateLocalEnhMetaFile()
[all …]
H A Dmetafile.c103 UINT nSize, cSize; in GdiCreateLocalMetaFilePict() local
118 Buffer = (BYTE *)LocalAlloc(LPTR, nSize); in GdiCreateLocalMetaFilePict()
124 if (nSize == 0) in GdiCreateLocalMetaFilePict()
157 if (nSize == cSize) in GdiCreateLocalMetaFilePict()
173 hMF = SetMetaFileBitsEx(nSize, Buffer); in GdiCreateLocalMetaFilePict()
204 UINT nSize; in GdiConvertMetaFilePict() local
218 nSize = GetMetaFileBitsEx(hMF, 0, NULL); in GdiConvertMetaFilePict()
219 if (nSize == 0) in GdiConvertMetaFilePict()
223 Buffer = (BYTE *)LocalAlloc(LPTR, nSize); in GdiConvertMetaFilePict()
228 nSize = GetMetaFileBitsEx(hMF, nSize, Buffer); in GdiConvertMetaFilePict()
[all …]
/reactos/sdk/lib/crt/stdlib/
H A Dmalloc.c42 size_t nSize = ROUND_SIZE(_size); in malloc() local
44 if (nSize<_size) in malloc()
47 return HeapAlloc(GetProcessHeap(), 0, nSize); in malloc()
63 size_t nSize = _nmemb * _size; in calloc() local
64 size_t cSize = ROUND_SIZE(nSize); in calloc()
77 size_t nSize; in realloc() local
88 nSize = ROUND_SIZE(_size); in realloc()
91 if (nSize<_size) in realloc()
102 size_t nSize; in _expand() local
104 nSize = ROUND_SIZE(_size); in _expand()
[all …]
/reactos/dll/win32/kernel32/client/
H A Dcompname.c45 LPDWORD nSize) in GetComputerNameFromRegistry() argument
56 if (lpBuffer != NULL && *nSize > 0) in GetComputerNameFromRegistry()
116 lpBuffer[*nSize] = 0; in GetComputerNameFromRegistry()
218 LPDWORD nSize) in GetComputerNameExW() argument
227 if ((nSize == NULL) || in GetComputerNameExW()
378 LPDWORD nSize) in GetComputerNameExA() argument
385 if ((nSize == NULL) || in GetComputerNameExA()
392 if (*nSize > 0) in GetComputerNameExA()
708 if (!Hostname || !nSize) in DnsHostnameToComputerNameA()
716 if (*nSize < len) in DnsHostnameToComputerNameA()
[all …]
H A Denviron.c30 IN DWORD nSize) in GetEnvironmentVariableA() argument
48 if (nSize <= UniSize) in GetEnvironmentVariableA()
51 if (nSize) in GetEnvironmentVariableA()
54 UniSize = (USHORT)(nSize - 1); in GetEnvironmentVariableA()
119 if (nSize <= UniSize) UniSize = (USHORT)nSize; in GetEnvironmentVariableA()
165 IN DWORD nSize) in GetEnvironmentVariableW() argument
173 if (nSize) in GetEnvironmentVariableW()
401 IN DWORD nSize) in ExpandEnvironmentStringsA() argument
412 if (nSize <= UniSize) UniSize = (USHORT)nSize; in ExpandEnvironmentStringsA()
483 if (nSize <= UniSize) UniSize = (USHORT)nSize; in ExpandEnvironmentStringsA()
[all …]
H A Dsysinfo.c424 _In_ DWORD nSize,
434 _In_ DWORD nSize,
442 _In_reads_bytes_opt_(nSize) PVOID pValue,
443 _In_ DWORD nSize,
451 _In_reads_bytes_opt_(nSize) PVOID pValue,
452 _In_ DWORD nSize,
462 _In_ DWORD nSize) in GetFirmwareEnvironmentVariableW() argument
474 _In_ DWORD nSize) in GetFirmwareEnvironmentVariableA() argument
484 _In_reads_bytes_opt_(nSize) PVOID pValue, in SetFirmwareEnvironmentVariableW()
485 _In_ DWORD nSize) in SetFirmwareEnvironmentVariableW() argument
[all …]
H A Datom.c486 int nSize) in GlobalGetAtomNameA() argument
488 return InternalGetAtomName(FALSE, FALSE, nAtom, lpBuffer, (DWORD)nSize); in GlobalGetAtomNameA()
498 int nSize) in GlobalGetAtomNameW() argument
504 (DWORD)nSize); in GlobalGetAtomNameW()
512 InitAtomTable(DWORD nSize) in InitAtomTable() argument
515 if (nSize < 4 || nSize > 511) nSize = 37; in InitAtomTable()
518 return NT_SUCCESS(RtlCreateAtomTable(nSize, &BaseLocalAtomTable)); in InitAtomTable()
579 int nSize) in GetAtomNameA() argument
581 return InternalGetAtomName(TRUE, FALSE, nAtom, lpBuffer, (DWORD)nSize); in GetAtomNameA()
591 int nSize) in GetAtomNameW() argument
[all …]
/reactos/dll/win32/psapi/
H A Dpsapi.c647 if (Len > nSize) in GetDeviceDriverBaseNameA()
649 Len = nSize; in GetDeviceDriverBaseNameA()
686 if (Len > nSize) in GetDeviceDriverFileNameA()
688 Len = nSize; in GetDeviceDriverFileNameA()
838 if (nSize == 0) in GetMappedFileNameW()
856 if (OutSize + 1 > nSize) in GetMappedFileNameW()
858 Len = nSize - 1; in GetMappedFileNameW()
859 OutSize = nSize; in GetMappedFileNameW()
950 if (nSize) in GetModuleBaseNameW()
1042 if (nSize) in GetModuleFileNameExW()
[all …]
/reactos/dll/win32/comctl32/
H A Ddsa.c71 HDSA WINAPI DSA_Create (INT nSize, INT nGrow) in DSA_Create() argument
75 TRACE("(size=%d grow=%d)\n", nSize, nGrow); in DSA_Create()
83 hdsa->nItemSize = nSize; in DSA_Create()
197 INT nSize, nNewItems; in DSA_SetItem() local
253 INT nNewItems, nSize; in DSA_InsertItem() local
268 nSize = hdsa->nItemSize * nNewItems; in DSA_InsertItem()
287 lpDest, lpTemp, nSize); in DSA_InsertItem()
288 memmove (lpDest, lpTemp, nSize); in DSA_InsertItem()
318 INT nSize; in DSA_DeleteItem() local
333 lpDest, lpSrc, nSize); in DSA_DeleteItem()
[all …]
H A Ddpa.c472 INT nNewItems, nSize; in DPA_Clone() local
501 nSize = nNewItems * sizeof(LPVOID); in DPA_Clone()
502 hdpaTemp->ptrs = HeapAlloc (hdpaTemp->hHeap, HEAP_ZERO_MEMORY, nSize); in DPA_Clone()
641 INT nSize = nNewItems * sizeof(LPVOID); in DPA_SetPtr() local
646 lpTemp = HeapAlloc (hdpa->hHeap, HEAP_ZERO_MEMORY, nSize); in DPA_SetPtr()
680 INT nSize; in DPA_DeletePtr() local
693 nSize = (hdpa->nItemCount - i - 1) * sizeof(LPVOID); in DPA_DeletePtr()
695 lpDest, lpSrc, nSize); in DPA_DeletePtr()
696 memmove (lpDest, lpSrc, nSize); in DPA_DeletePtr()
704 nSize = nNewItems * sizeof(LPVOID); in DPA_DeletePtr()
[all …]
/reactos/win32ss/printing/providers/localspl/
H A Dprinterdata.c68 *pcbNeeded = nSize; in _LocalGetPrinterHandleData()
92 *pcbNeeded = nSize; in _LocalGetPrintServerHandleData()
101 if (nSize < *pcbNeeded) in _LocalGetPrintServerHandleData()
124 *pcbNeeded = nSize; in _LocalGetPrintServerHandleData()
134 if (nSize < *pcbNeeded) in _LocalGetPrintServerHandleData()
146 if (nSize < *pcbNeeded) in _LocalGetPrintServerHandleData()
158 if (nSize < *pcbNeeded) in _LocalGetPrintServerHandleData()
172 if (nSize < *pcbNeeded) in _LocalGetPrintServerHandleData()
187 if (nSize < *pcbNeeded) in _LocalGetPrintServerHandleData()
202 if (nSize < *pcbNeeded) in _LocalGetPrintServerHandleData()
[all …]
/reactos/dll/win32/kernel32/kernel32_vista/
H A Dfirmware.c21 _Out_writes_bytes_to_opt_(nSize, return) PVOID pBuffer, in GetFirmwareEnvironmentVariableExW() argument
22 _In_ DWORD nSize, in GetFirmwareEnvironmentVariableExW() argument
46 Length = nSize; in GetFirmwareEnvironmentVariableExW()
68 _In_ DWORD nSize, in GetFirmwareEnvironmentVariableExA() argument
102 nSize, in GetFirmwareEnvironmentVariableExA()
116 _In_reads_bytes_opt_(nSize) PVOID pValue, in SetFirmwareEnvironmentVariableExW()
117 _In_ DWORD nSize, in SetFirmwareEnvironmentVariableExW() argument
143 nSize, in SetFirmwareEnvironmentVariableExW()
159 _In_reads_bytes_opt_(nSize) PVOID pValue, in SetFirmwareEnvironmentVariableExA()
160 _In_ DWORD nSize, in SetFirmwareEnvironmentVariableExA() argument
[all …]
/reactos/sdk/lib/epsapi/enum/
H A Ddrivers.c63 SIZE_T nSize = 0; in PsaCaptureSystemModules() local
76 &nSize, in PsaCaptureSystemModules()
77 sizeof(nSize), in PsaCaptureSystemModules()
90 nSize = sizeof(RTL_PROCESS_MODULES) + in PsaCaptureSystemModules()
91 (nSize * sizeof(RTL_PROCESS_MODULES)); in PsaCaptureSystemModules()
104 pTmp = PsaiMalloc(nSize); in PsaCaptureSystemModules()
118 nSize, in PsaCaptureSystemModules()
122 nSize *= 2; in PsaCaptureSystemModules()
/reactos/dll/win32/secur32/
H A Dsspi.c904 ULONG sizeW = *nSize; in GetComputerObjectNameA()
917 *nSize = len; in GetComputerObjectNameA()
920 *nSize = sizeW; in GetComputerObjectNameA()
1001 *nSize = len; in GetComputerObjectNameW()
1049 ULONG sizeW = *nSize; in GetUserNameExA()
1061 if (len <= *nSize) in GetUserNameExA()
1064 *nSize = len - 1; in GetUserNameExA()
1068 *nSize = len; in GetUserNameExA()
1074 *nSize = sizeW; in GetUserNameExA()
1136 PULONG nSize) in TranslateNameA() argument
[all …]
/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/
H A Ddc.c57 emr.emr.nSize = sizeof(emr); in EMFDRV_RestoreDC()
76 emr.emr.nSize = sizeof(emr); in EMFDRV_SetTextAlign()
85 emr.emr.nSize = sizeof(emr); in EMFDRV_SetTextJustification()
95 emr.emr.nSize = sizeof(emr); in EMFDRV_SetBkMode()
108 emr.emr.nSize = sizeof(emr); in EMFDRV_SetBkColor()
122 emr.emr.nSize = sizeof(emr); in EMFDRV_SetTextColor()
131 emr.emr.nSize = sizeof(emr); in EMFDRV_SetROP2()
140 emr.emr.nSize = sizeof(emr); in EMFDRV_SetPolyFillMode()
149 emr.emr.nSize = sizeof(emr); in EMFDRV_SetStretchBltMode()
159 emr.emr.nSize = sizeof(emr); in EMFDRV_SetArcDirection()
[all …]
H A Dgraphics.c117 INT nSize; in emfdrv_stroke_and_fill_path() local
123 if (nSize != -1) in emfdrv_stroke_and_fill_path()
566 emr->emr.nSize = size;
663 emr->emr.nSize = size;
725 emr->emr.nSize = size;
781 emr->emr.nSize = size;
814 emr->emr.nSize = size;
850 emr->emr.nSize = size;
891 DWORD nSize; local
932 pemr->emr.nSize = nSize;
[all …]
H A Dobjects.c87 emr.emr.nSize = sizeof(emr); in EMFDRV_DeleteObject()
125 emr.emr.nSize = sizeof(emr); in EMFDRV_CreateBrushIndirect()
235 emr.emr.nSize = sizeof(emr); in EMFDRV_SelectBrush()
253 emr.emr.nSize = (sizeof(emr) + 3) / 4 * 4; in EMFDRV_CreateFontIndirect()
316 emr.emr.nSize = sizeof(emr); in EMFDRV_SelectFont()
358 emr.emr.nSize = sizeof(emr); in EMFDRV_CreatePenIndirect()
400 emr.emr.nSize = sizeof(emr); in EMFDRV_SelectPen()
459 emr.emr.nSize = sizeof(emr); in EMFDRV_SelectPalette()
485 emr.emr.nSize = sizeof(emr); in EMFDRV_SetDCBrushColor()
512 emr.emr.nSize = sizeof(emr); in EMFDRV_SetDCPenColor()
[all …]
H A Dinit.c202 emr->iType, emr->nSize, physDev->hFile ? "(to disk)" : ""); in EMFDRV_WriteRecord()
204 assert( !(emr->nSize & 3) ); in EMFDRV_WriteRecord()
206 physDev->emh->nBytes += emr->nSize; in EMFDRV_WriteRecord()
210 if (!WriteFile(physDev->hFile, emr, emr->nSize, &bytes_written, NULL)) in EMFDRV_WriteRecord()
216 nEmfSize += (nEmfSize / 2) + emr->nSize; in EMFDRV_WriteRecord()
221 memcpy((CHAR *)physDev->emh + physDev->emh->nBytes - emr->nSize, emr, in EMFDRV_WriteRecord()
222 emr->nSize); in EMFDRV_WriteRecord()
365 physDev->emh->nSize = size; in CreateEnhMetaFileW()
382 physDev->emh->nBytes = physDev->emh->nSize; in CreateEnhMetaFileW()
464 emr.emr.nSize = sizeof(emr); in CloseEnhMetaFile()
[all …]
/reactos/win32ss/gdi/gdi32/wine/
H A Demfdc.c80 memcpy( (char *)emf->emh + emf->emh->nBytes - emr->nSize, emr, emr->nSize ); in emfdc_record()
638 INT nSize; in emfdrv_stroke_and_fill_path() local
644 if (nSize != -1) in emfdrv_stroke_and_fill_path()
860 emr->emr.nSize = size; in emfdc_polylinegon()
928 emr->emr.nSize = size; in emfdc_poly_polylinegon()
980 emr->emr.nSize = size; in EMFDC_PolyDraw()
1027 emr->emr.nSize = size; in EMFDC_FillRgn()
1058 emr->emr.nSize = size; in EMFDC_FrameRgn()
1087 emr->emr.nSize = size; in emfdc_paint_invert_region()
1152 emr->emr.nSize = size; in EMFDC_ExtTextOut()
[all …]
/reactos/win32ss/printing/base/winspool/
H A Dprinterdata.c326 GetPrinterDataA(HANDLE hPrinter, LPSTR pValueName, LPDWORD pType, LPBYTE pData, DWORD nSize, LPDWOR… in GetPrinterDataA() argument
328 …TRACE("GetPrinterDataA(%p, %s, %p, %p, %lu, %p)\n", hPrinter, pValueName, pType, pData, nSize, pcb… in GetPrinterDataA()
329 …return GetPrinterDataExA(hPrinter, "PrinterDriverData", pValueName, pType, pData, nSize, pcbNeeded… in GetPrinterDataA()
345 …A(%p, %s, %s, %p, %p, %lu, %p)\n", hPrinter, pKeyName, pValueName, pType, pData, nSize, pcbNeeded); in GetPrinterDataExA()
385 …dwReturnValue = GetPrinterDataExW(hPrinter, pwszKeyName, pwszValueName, pType, pData, nSize, pcbNe… in GetPrinterDataExA()
420 if (nSize < *pcbNeeded) in GetPrinterDataExA()
519 if (!pData && !nSize) in GetPrinterDataExW()
525 …de = _RpcGetPrinterDataEx(pHandle->hPrinter, pKeyName, pValueName, pType, pData, nSize, pcbNeeded); in GetPrinterDataExW()
537 GetPrinterDataW(HANDLE hPrinter, LPWSTR pValueName, LPDWORD pType, LPBYTE pData, DWORD nSize, LPDWO… in GetPrinterDataW() argument
539 …TRACE("GetPrinterDataW(%p, %S, %p, %p, %lu, %p)\n", hPrinter, pValueName, pType, pData, nSize, pcb… in GetPrinterDataW()
[all …]
/reactos/dll/win32/kernel32/client/console/
H A Dvista.c98 IN DWORD nSize) in GetConsoleOriginalTitleW() argument
100 DPRINT1("GetConsoleOriginalTitleW(0x%p, 0x%x) UNIMPLEMENTED!\n", lpConsoleTitle, nSize); in GetConsoleOriginalTitleW()
113 IN DWORD nSize) in GetConsoleOriginalTitleA() argument
115 DPRINT1("GetConsoleOriginalTitleA(0x%p, 0x%x) UNIMPLEMENTED!\n", lpConsoleTitle, nSize); in GetConsoleOriginalTitleA()
/reactos/win32ss/printing/base/spoolsv/
H A Dprinterdata.c53 …INTER_HANDLE hPrinter, WCHAR* pValueName, DWORD* pType, BYTE* pData, DWORD nSize, DWORD* pcbNeeded) in _RpcGetPrinterData() argument
55 …return _RpcGetPrinterDataEx(hPrinter, L"PrinterDriverData", pValueName, pType, pData, nSize, pcbNe… in _RpcGetPrinterData()
59 …WCHAR* pKeyName, const WCHAR* pValueName, DWORD* pType, BYTE* pData, DWORD nSize, DWORD* pcbNeeded) in _RpcGetPrinterDataEx() argument
70 dwErrorCode = GetPrinterDataExW(hPrinter, pKeyName, pValueName, pType, pData, nSize, pcbNeeded); in _RpcGetPrinterDataEx()
/reactos/base/shell/progman/
H A Ddialog.c408 INT nSize; member
465 … GetDlgItemTextW(hDlg, PM_DESCRIPTION, pGroupAttributes->lpszTitle, pGroupAttributes->nSize); in DIALOG_GROUP_DlgProc()
469 … GetDlgItemTextW(hDlg, PM_FILE, pGroupAttributes->lpszGrpFile, pGroupAttributes->nSize); in DIALOG_GROUP_DlgProc()
484 BOOL DIALOG_GroupAttributes(GROUPFORMAT format, LPWSTR lpszTitle, LPWSTR lpszGrpFile, INT nSize) in DIALOG_GroupAttributes() argument
490 GroupAttributes.nSize = nSize; in DIALOG_GroupAttributes()
561 INT nSize;
680 DIALOG_Symbol(HWND hWnd, HICON *lphIcon, LPWSTR lpszIconFile, INT *lpnIconIndex, INT nSize) in DIALOG_Symbol() argument
685 StringCchCopyNW(IconContext.szName, ARRAYSIZE(IconContext.szName), lpszIconFile, nSize); in DIALOG_Symbol()
690 StringCchCopyNW(lpszIconFile, nSize, IconContext.szName, ARRAYSIZE(IconContext.szName)); in DIALOG_Symbol()
708 INT nSize; member
[all …]
/reactos/win32ss/user/user32/misc/
H A Dusrapihk.c78 DWORD nSize; in CopyMsgMask() local
83 nSize = Src->Size; in CopyMsgMask()
84 if ( Size < nSize) nSize = Size; in CopyMsgMask()
85 Dest->Size = nSize; in CopyMsgMask()
86 RtlCopyMemory(Dest->MsgBitArray, Src->MsgBitArray, nSize); in CopyMsgMask()
/reactos/win32ss/printing/base/spoolss/
H A Dprinterdata.c101 … LPCWSTR pKeyName, LPCWSTR pValueName, LPDWORD pType, LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded) in GetPrinterDataExW() argument
115 …ovider.fpGetPrinterDataEx(pHandle->hPrinter, pKeyName, pValueName, pType, pData, nSize, pcbNeeded); in GetPrinterDataExW()
119 GetPrinterDataW(HANDLE hPrinter, LPWSTR pValueName, LPDWORD pType, LPBYTE pData, DWORD nSize, LPDWO… in GetPrinterDataW() argument
124 …return GetPrinterDataExW(hPrinter, L"PrinterDriverData", pValueName, pType, pData, nSize, pcbNeede… in GetPrinterDataW()

1234