Home
last modified time | relevance | path

Searched refs:dwBufSize (Results 1 – 15 of 15) sorted by relevance

/reactos/modules/rostests/apitests/win32nt/ntgdi/
H A DNtGdiGetFontResourceInfoInternalW.c13 DWORD dwBufSize; in START_TEST() local
22 dwBufSize = sizeof(logfont); in START_TEST()
23 memset(&logfont, 0x0, dwBufSize); in START_TEST()
29 dwBufSize, in START_TEST()
30 &dwBufSize, in START_TEST()
/reactos/win32ss/printing/base/winspool/
H A Dprinterdata.c158 DWORD ret, dwIndex, dwBufSize; in EnumPrinterDataExA() local
219 dwBufSize = 0; in EnumPrinterDataExA()
224 if (dwBufSize < ppev->cbValueName) in EnumPrinterDataExA()
225 dwBufSize = ppev->cbValueName; in EnumPrinterDataExA()
227 if ( dwBufSize < ppev->cbData && in EnumPrinterDataExA()
229 dwBufSize = ppev->cbData; in EnumPrinterDataExA()
232 FIXME ("Largest Unicode name or value is %i bytes\n", dwBufSize); in EnumPrinterDataExA()
234 pBuffer = HeapAlloc (hHeap, 0, dwBufSize); in EnumPrinterDataExA()
237 ERR ("Failed to allocate %i bytes from process heap\n", dwBufSize); in EnumPrinterDataExA()
247 ppev->cbValueName / sizeof (WCHAR), pBuffer, dwBufSize, NULL, in EnumPrinterDataExA()
[all …]
/reactos/modules/rostests/apitests/apphelp/
H A Dlayerapi.c112 DWORD dwBufSize = sizeof(buffer); in expect_Sdb_imp() local
119 …winetest_ok(pSdbGetPermLayerKeys(pathW, buffer, &dwBufSize, type) == result, "Expected pSdbGetPerm… in expect_Sdb_imp()
121 …winetest_ok(dwBufSize == 0 || dwBufSize == sizeof(buffer), "Expected dwBufSize to be 0 or %u, was … in expect_Sdb_imp()
123 winetest_ok(dwBufSize == lenResult || in expect_Sdb_imp()
125 …n(g_WinVersion < WINVER_VISTA && type == (GPLK_MACHINE|GPLK_USER) && (lenResult + 2) == dwBufSize), in expect_Sdb_imp()
126 "Expected dwBufSize to be %u, was %u\n", lenResult, dwBufSize); in expect_Sdb_imp()
142 dwBufSize = sizeof(buffer); in expect_Sdb_imp()
143 …winetest_ok(pSdbGetPermLayerKeys(pathNT.Buffer, buffer, &dwBufSize, type) == FALSE, "Expected pSdb… in expect_Sdb_imp()
244 DWORD dwBufSize = sizeof(buffer); in test_SdbGetPermLayerKeys() local
282 …ok(pSdbGetPermLayerKeys(pathW, buffer, &dwBufSize, 0) == FALSE, "Expected pSdbGetPermLayerKeys to … in test_SdbGetPermLayerKeys()
[all …]
/reactos/dll/cpl/sysdm/
H A Dstartrec.c72 DWORD dwBufSize; in GetSystemDrive() local
78 dwBufSize = GetEnvironmentVariableW(L"SystemDrive", *szSystemDrive, MAX_PATH); in GetSystemDrive()
79 if (dwBufSize > MAX_PATH) in GetSystemDrive()
84 szTmp = HeapReAlloc(GetProcessHeap(), 0, *szSystemDrive, dwBufSize * sizeof(WCHAR)); in GetSystemDrive()
90 dwBufSize2 = GetEnvironmentVariableW(L"SystemDrive", *szSystemDrive, dwBufSize); in GetSystemDrive()
91 if (dwBufSize2 > dwBufSize || dwBufSize2 == 0) in GetSystemDrive()
94 else if (dwBufSize == 0) in GetSystemDrive()
102 return dwBufSize; in GetSystemDrive()
463 DWORD dwBufSize; in LoadOSList() local
467 dwBufSize = GetSystemDrive(&szSystemDrive); in LoadOSList()
[all …]
/reactos/base/applications/msconfig_new/
H A Dutils.c251 DWORD dwType = 0, dwBufSize = 0; in IsWindowsOS() local
253 ret = RegQueryValueExW(hKey, L"ProductName", NULL, &dwType, NULL, &dwBufSize); in IsWindowsOS()
256 LPTSTR lpszProductName = (LPTSTR)MemAlloc(0, dwBufSize); in IsWindowsOS()
257 … RegQueryValueExW(hKey, L"ProductName", NULL, &dwType, (LPBYTE)lpszProductName, &dwBufSize); in IsWindowsOS()
H A Dregutils.c129 dwBufSize = sizeof(dwRegData /* DWORD */); in RegGetDWORDValue() local
131 lRet = RegQueryValueExW(hEntryKey, lpValue, NULL, &dwType, (LPBYTE)&dwRegData, &dwBufSize); in RegGetDWORDValue()
135 if ( (dwType == REG_DWORD) && (dwBufSize == sizeof(DWORD)) ) in RegGetDWORDValue()
H A Dsrvpage.cpp138 DWORD dwType = 0, dwBufSize = 0; in QUERY_REGISTRY_KEYS_ROUTINE() local
142 …eEx(hOpenedSubKey, /* ValueName == */ SubKeyName, NULL, &dwType, NULL, &dwBufSize) == ERROR_SUCCES… in QUERY_REGISTRY_KEYS_ROUTINE()
143 (dwType == REG_DWORD) && (dwBufSize == sizeof(DWORD)) ) in QUERY_REGISTRY_KEYS_ROUTINE()
/reactos/dll/win32/advapi32/service/
H A Dsctrl.c1041 DWORD dwBufSize; in StartServiceCtrlDispatcherA() local
1084 dwBufSize = sizeof(SCM_CONTROL_PACKET) + in StartServiceCtrlDispatcherA()
1089 dwBufSize); in StartServiceCtrlDispatcherA()
1100 ScServiceDispatcher(hPipe, ControlPacket, dwBufSize); in StartServiceCtrlDispatcherA()
1140 DWORD dwBufSize; in StartServiceCtrlDispatcherW() local
1183 dwBufSize = sizeof(SCM_CONTROL_PACKET) + in StartServiceCtrlDispatcherW()
1188 dwBufSize); in StartServiceCtrlDispatcherW()
1199 ScServiceDispatcher(hPipe, ControlPacket, dwBufSize); in StartServiceCtrlDispatcherW()
/reactos/base/shell/cmd/
H A Dassoc.c145 DWORD dwBufSize = dwExtLen; in PrintAllAssociations() local
146 lRet = RegEnumKeyEx(hKeyClasses, dwKeyCtr, pszExtName, &dwBufSize, in PrintAllAssociations()
/reactos/drivers/filesystems/udfs/Include/
H A Duser_lib.cpp342 DWORD dwBufSize in GetRegString() argument
347 DWORD dwDataSize = dwBufSize; in GetRegString()
350 if(!dwBufSize) in GetRegString()
H A Duser_lib.h96 DWORD dwBufSize
/reactos/sdk/include/dxsdk/
H A Dvidcap.idl28 …HRESULT get_NodeName([in] DWORD dwNodeId, [out] WCHAR *pwchNodeName, [in] DWORD dwBufSize, [out] D…
/reactos/sdk/include/reactos/idl/
H A Dsvcctl.idl471 [out, size_is(dwBufSize)] LPBYTE lpBuffer,
472 [in, range(0, 1024*256)] DWORD dwBufSize,
608 [out, size_is(dwBufSize)] LPBYTE lpBuffer,
609 [in, range(0, 1024*256)] DWORD dwBufSize,
/reactos/dll/directx/wine/dplayx/
H A Dlobbysp.h262 DWORD dwBufSize; member
282 DWORD dwBufSize; member
/reactos/base/system/services/
H A Drpcserver.c2862 DWORD dwBufSize, in REnumServicesStatusW() argument
2872 dwBufSize, in REnumServicesStatusW()
3919 DWORD dwBufSize, in REnumServicesStatusA() argument
3939 if ((dwBufSize > 0) && (lpBuffer)) in REnumServicesStatusA()
3941 lpStatusPtrW = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, dwBufSize); in REnumServicesStatusA()
3953 dwBufSize, in REnumServicesStatusA()