/reactos/modules/rostests/apitests/version/ |
H A D | VerQueryValue.c | 173 &pvData, in Test_VerQueryValueA() 178 uLanguage = ((USHORT*)pvData)[0]; in Test_VerQueryValueA() 179 uCodePage = ((USHORT*)pvData)[1]; in Test_VerQueryValueA() 185 &pvData, in Test_VerQueryValueA() 216 &pvData, in Test_VerQueryValueW() 228 &pvData, in Test_VerQueryValueW() 241 PVOID pvData = NULL; in Test_StaticVersionInfo() local 256 &pvData, in Test_StaticVersionInfo() 266 &pvData, in Test_StaticVersionInfo() 270 ok_eq_wstr((WCHAR*)pvData, L""); in Test_StaticVersionInfo() [all …]
|
/reactos/dll/win32/oleaut32/ |
H A D | safearray.c | 353 if (!psa->pvData) in SAFEARRAY_CopyData() 382 BSTR *src_bstr = psa->pvData; in SAFEARRAY_CopyData() 403 BYTE *src_data = psa->pvData; in SAFEARRAY_CopyData() 442 memcpy(dest->pvData, psa->pvData, ulCellCount * psa->cbElements); in SAFEARRAY_CopyData() 569 if (psa->pvData) in SafeArrayAllocData() 969 VARIANT* lpDest = pvData; in SafeArrayGetElement() 979 BSTR* lpDest = pvData; in SafeArrayGetElement() 1273 if (psa->pvData) in SafeArrayDestroyData() 1284 psa->pvData = NULL; in SafeArrayDestroyData() 1420 if (!(*ppsaOut)->pvData) in SafeArrayCopy() [all …]
|
H A D | recinfo.c | 392 static HRESULT WINAPI IRecordInfoImpl_GetField(IRecordInfo *iface, PVOID pvData, in IRecordInfoImpl_GetField() argument 398 TRACE("(%p)->(%p %s %p)\n", This, pvData, debugstr_w(szFieldName), pvarField); in IRecordInfoImpl_GetField() 400 if(!pvData || !szFieldName || !pvarField) in IRecordInfoImpl_GetField() 410 return copy_to_variant(((PBYTE)pvData)+This->fields[i].offset, pvarField, in IRecordInfoImpl_GetField() 422 if(!pvData || !szFieldName || !pvarField) in IRecordInfoImpl_GetFieldNoCopy() 433 V_BYREF(pvarField) = ((PBYTE)pvData)+This->fields[i].offset; in IRecordInfoImpl_GetFieldNoCopy() 444 TRACE("(%p)->(%08x %p %s %p)\n", This, wFlags, pvData, debugstr_w(szFieldName), in IRecordInfoImpl_PutField() 447 if(!pvData || !szFieldName || !pvarField in IRecordInfoImpl_PutField() 462 return copy_from_variant(pvarField, ((PBYTE)pvData)+This->fields[i].offset, in IRecordInfoImpl_PutField() 467 PVOID pvData, LPCOLESTR szFieldName, VARIANT *pvarField) in IRecordInfoImpl_PutFieldNoCopy() argument [all …]
|
/reactos/dll/win32/shdocvw/ |
H A D | mrulist.cpp | 147 m_pSlots[iSlot].pvData = ::LocalFree(m_pSlots[iSlot].pvData); in ~CMruBase() 197 pItem->pvData = ::LocalFree(pItem->pvData); in _LoadItem() 202 if (!pItem->pvData) in _LoadItem() 214 if (!pItem->pvData) in _GetSlotItem() 236 m_pSlots[iSlot].pvData = ::LocalFree(m_pSlots[iSlot].pvData); in _DeleteItem() 269 CopyMemory(pItem->pvData, pvData, cbData); in _AddItem() 350 CopyMemory(pvData, pItem->pvData, pItem->cbData); in GetData() 389 return m_fnCompare(pvData, pItem->pvData, cbData) == 0; in _IsEqual() 396 return memcmp(pvData, pItem->pvData, cbData) == 0; in _IsEqual() 399 return StrCmpIW((LPCWSTR)pvData, (LPCWSTR)pItem->pvData) == 0; in _IsEqual() [all …]
|
/reactos/dll/win32/shlwapi/ |
H A D | reg.c | 488 dst = pvData; in SHRegQueryUSValueA() 508 LPVOID pvData, in SHRegQueryUSValueW() argument 539 dst = pvData; in SHRegQueryUSValueW() 598 LPVOID pvData, in SHRegGetUSValueW() argument 651 dwType, pvData, cbData, dwFlags); in SHRegSetUSValueA() 653 if (!pvData) in SHRegSetUSValueA() 681 dwType, pvData, cbData, dwFlags); in SHRegSetUSValueW() 683 if (!pvData) in SHRegSetUSValueW() 1032 dwType, pvData, cbData, dwFlags); in SHRegWriteUSValueW() 1440 lstrcpyA(szData, pvData); in SHQueryValueExA() [all …]
|
/reactos/dll/win32/crypt32/ |
H A D | ctl.c | 532 if (ret && pvData) in CTLContext_GetHashProp() 534 CRYPT_DATA_BLOB blob = { *pcbData, pvData }; in CTLContext_GetHashProp() 555 if (!pvData) in CTLContext_GetProperty() 565 memcpy(pvData, blob.pbData, blob.cbData); in CTLContext_GetProperty() 591 DWORD dwPropId, void *pvData, DWORD *pcbData) in CertGetCTLContextProperty() argument 607 if (!pvData) in CertGetCTLContextProperty() 631 DWORD dwFlags, const void *pvData) in CTLContext_SetProperty() argument 639 else if (!pvData) in CTLContext_SetProperty() 666 PCRYPT_DATA_BLOB blob = (PCRYPT_DATA_BLOB)pvData; in CTLContext_SetProperty() 674 pvData, sizeof(FILETIME)); in CTLContext_SetProperty() [all …]
|
H A D | crl.c | 412 if (ret && pvData) in CRLContext_GetHashProp() 414 CRYPT_DATA_BLOB blob = { *pcbData, pvData }; in CRLContext_GetHashProp() 435 if (!pvData) in CRLContext_GetProperty() 445 memcpy(pvData, blob.pbData, blob.cbData); in CRLContext_GetProperty() 473 DWORD dwPropId, void *pvData, DWORD *pcbData) in CertGetCRLContextProperty() argument 489 if (!pvData) in CertGetCRLContextProperty() 512 DWORD dwFlags, const void *pvData) in CRLContext_SetProperty() argument 520 else if (!pvData) in CRLContext_SetProperty() 547 PCRYPT_DATA_BLOB blob = (PCRYPT_DATA_BLOB)pvData; in CRLContext_SetProperty() 555 pvData, sizeof(FILETIME)); in CRLContext_SetProperty() [all …]
|
H A D | msg.c | 299 if (!pvData) in CRYPT_CopyParam() 446 pvData, pcbData); in CHashEncodeMsg_GetParam() 2734 TRACE("(%p, %d, %p)\n", pvData, pvData ? *pcbData : 0, in); in CRYPT_CopySignerInfo() 2757 if (!pvData) in CRYPT_CopySignerInfo() 2806 TRACE("(%p, %d, %p)\n", pvData, pvData ? *pcbData : 0, in); in CRYPT_CopyCMSSignerInfo() 2826 if (!pvData) in CRYPT_CopyCMSSignerInfo() 2873 TRACE("(%p, %d, %p)\n", pvData, pvData ? *pcbData : 0, in); in CRYPT_CopySignerCertInfo() 2885 if (!pvData) in CRYPT_CopySignerCertInfo() 2924 TRACE("(%p, %d, %p)\n", pvData, pvData ? *pcbData : 0, in); in CRYPT_CopyRecipientInfo() 2928 if (!pvData) in CRYPT_CopyRecipientInfo() [all …]
|
H A D | cert.c | 48 void *pvData, DWORD *pcbData); 401 if (ret && pvData) in CertContext_GetHashProp() 415 if (!pvData) in CertContext_CopyParam() 432 void *pvData, DWORD *pcbData) in CertContext_GetProperty() argument 586 if (ret && pvData) in CertGetCertificateContextProperty() 711 if (pvData) in CertContext_SetProperty() 726 if (pvData) in CertContext_SetProperty() 737 if (pvData) in CertContext_SetProperty() 758 if (pvData) in CertContext_SetProperty() 779 if (pvData) in CertContext_SetProperty() [all …]
|
H A D | crypt32_private.h | 85 void *pvData, DWORD *pcbData) DECLSPEC_HIDDEN; 103 void *pvData, DWORD *pcbData) DECLSPEC_HIDDEN; 122 BOOL CRYPT_AsnEncodeCMSSignedInfo(CRYPT_SIGNED_INFO *, void *pvData, 241 DWORD dwPropID, void *pvData, DWORD *pcbData); 243 DWORD dwPropID, DWORD dwFlags, const void *pvData);
|
H A D | store.c | 1173 void *pvData, DWORD *pcbData) in CertGetStoreProperty() argument 1178 TRACE("(%p, %d, %p, %p)\n", hCertStore, dwPropId, pvData, pcbData); in CertGetStoreProperty() 1183 if (!pvData) in CertGetStoreProperty() 1200 *(DWORD *)pvData = state; in CertGetStoreProperty() 1213 if (!pvData) in CertGetStoreProperty() 1223 memcpy(pvData, blob.pbData, blob.cbData); in CertGetStoreProperty() 1237 DWORD dwFlags, const void *pvData) in CertSetStoreProperty() argument 1242 TRACE("(%p, %d, %08x, %p)\n", hCertStore, dwPropId, dwFlags, pvData); in CertSetStoreProperty() 1252 if (pvData) in CertSetStoreProperty() 1254 const CRYPT_DATA_BLOB *blob = pvData; in CertSetStoreProperty()
|
/reactos/base/applications/network/netsh/ |
H A D | precomp.h | 142 LPCVOID pvData, 166 LPCVOID pvData, 177 LPCVOID pvData, 188 LPCVOID pvData,
|
H A D | context.c | 240 LPCVOID pvData, in UpCommand() argument 258 LPCVOID pvData, in ExitCommand() argument 274 LPCVOID pvData, in RemCommand() argument
|
/reactos/win32ss/user/ntuser/misc/ |
H A D | registry.c | 51 OUT PVOID pvData, in RegQueryValue() argument 102 RtlCopyMemory(pvData, pInfo->Data, cbDataSize); in RegQueryValue() 194 _Out_writes_(cbDataSize) _When_(ulType == REG_SZ, _Post_z_) PVOID pvData, 283 RtlCopyMemory(pvData, pInfo->Data, cbDataSize); 302 _In_reads_bytes_(cjDataSize) const VOID *pvData, in RegWriteUserSetting() 370 Status = ZwSetValueKey(hkey, &usValueName, 0, ulType, (PVOID)pvData, cbDataSize); in RegWriteUserSetting()
|
/reactos/dll/win32/shell32/wine/ |
H A D | shellreg.c | 113 LPVOID pvData, in SHRegQueryValueExW() argument 117 hkey, debugstr_w(pszValue), pdwReserved, pdwType, pvData, pcbData); in SHRegQueryValueExW() 118 return SHQueryValueExW(hkey, pszValue, pdwReserved, pdwType, pvData, pcbData); in SHRegQueryValueExW()
|
/reactos/base/setup/lib/utils/ |
H A D | osdetect.c | 256 PVOID pvData = NULL; in CheckForValidPEAndVendor() local 297 Status = NtVerQueryValue(VersionBuffer, L"\\VarFileInfo\\Translation", &pvData, &BufLen); in CheckForValidPEAndVendor() 303 wCodePage = LOWORD(*(ULONG*)pvData); in CheckForValidPEAndVendor() 304 wLangID = HIWORD(*(ULONG*)pvData); in CheckForValidPEAndVendor() 310 Status = NtVerQueryValue(VersionBuffer, FileInfo, &pvData, &BufLen); in CheckForValidPEAndVendor() 313 if (NT_SUCCESS(Status) && !pvData) in CheckForValidPEAndVendor() 319 DPRINT("Found version vendor: \"%S\" for file '%S'\n", pvData, PathNameToFile); in CheckForValidPEAndVendor() 322 pvData, BufLen * sizeof(WCHAR)); in CheckForValidPEAndVendor()
|
/reactos/base/applications/msconfig/ |
H A D | srvpage.c | 95 LPVOID pvData; in GetServices() local 278 … if (VerQueryValue(lpData, _T("\\VarFileInfo\\Translation"), &pvData, (PUINT) &BufLen)) in GetServices() 280 wCodePage = LOWORD(*(DWORD*) pvData); in GetServices() 281 wLangID = HIWORD(*(DWORD*) pvData); in GetServices()
|
/reactos/base/applications/msconfig_new/ |
H A D | utils.c | 296 LPVOID pvData = NULL; in GetExecutableVendor() local 313 if (VerQueryValueW(lpData, L"\\VarFileInfo\\Translation", &pvData, &BufLen)) in GetExecutableVendor() 315 wCodePage = LOWORD(*(DWORD*)pvData); in GetExecutableVendor() 316 wLangID = HIWORD(*(DWORD*)pvData); in GetExecutableVendor()
|
/reactos/win32ss/user/ntuser/ |
H A D | ntuser.h | 44 _Out_writes_bytes_(cjDataSize) _When_(ulType == REG_SZ, _Post_z_) PVOID pvData, 54 _In_reads_bytes_(cjDataSize) const VOID *pvData,
|
H A D | sysparams.c | 492 SpiGet(PVOID pvParam, PVOID pvData, ULONG cbSize, FLONG fl) in SpiGet() argument 495 return SpiMemCopy(pvParam, pvData, cbSize, fl & SPIF_PROTECT); in SpiGet() 500 SpiSet(PVOID pvData, PVOID pvParam, ULONG cbSize, FLONG fl) in SpiSet() argument 503 return SpiMemCopy(pvData, pvParam, cbSize, fl & SPIF_PROTECT); in SpiSet() 508 SpiGetEx(PVOID pvParam, PVOID pvData, ULONG cbSize, FLONG fl) in SpiGetEx() argument 517 return SpiGet(pvParam, pvData, cbSize, fl); in SpiGetEx() 558 *(INT*)pvData = iValue; in SpiSetDWord() 568 SpiSetInt(PVOID pvData, INT iValue, PCWSTR pwszKey, PCWSTR pwszValue, FLONG fl) in SpiSetInt() argument 571 *(INT*)pvData = iValue; in SpiSetInt() 581 SpiSetMetric(PVOID pvData, INT iValue, PCWSTR pwszValue, FLONG fl) in SpiSetMetric() argument [all …]
|
/reactos/dll/directx/wine/d3dxof/ |
H A D | d3dxof.c | 297 static HRESULT WINAPI IDirectXFileImpl_RegisterTemplates(IDirectXFile* iface, LPVOID pvData, DWORD … in IDirectXFileImpl_RegisterTemplates() argument 306 buf.buffer = pvData; in IDirectXFileImpl_RegisterTemplates() 310 TRACE("(%p/%p)->(%p,%d)\n", This, iface, pvData, cbSize); in IDirectXFileImpl_RegisterTemplates() 312 if (!pvData) in IDirectXFileImpl_RegisterTemplates() 325 WriteFile(file, pvData, cbSize, &bytes_written, NULL); in IDirectXFileImpl_RegisterTemplates() 473 static HRESULT WINAPI IDirectXFileBinaryImpl_Read(IDirectXFileBinary* iface, LPVOID pvData, DWORD c… in IDirectXFileBinaryImpl_Read() argument 477 FIXME("(%p/%p)->(%p, %d, %p) stub!\n", This, iface, pvData, cbSize, pcbRead); in IDirectXFileBinaryImpl_Read() 745 …XFileData* iface, LPCSTR szName, const GUID* pguid, LPCSTR szMimeType, LPVOID pvData, DWORD cbSize) in IDirectXFileDataImpl_AddBinaryObject() argument 749 …FIXME("(%p/%p)->(%s,%p,%s,%p,%d) stub!\n", This, iface, szName, pguid, szMimeType, pvData, cbSize); in IDirectXFileDataImpl_AddBinaryObject() 1176 …ID rguidTemplate, LPCSTR szName, const GUID* pguid, DWORD cbSize, LPVOID pvData, LPDIRECTXFILEDATA… in IDirectXFileSaveObjectImpl_CreateDataObject() argument [all …]
|
/reactos/modules/rostests/winetests/oleaut32/ |
H A D | safearray.c | 1405 int* data = sa->pvData; in test_SafeArrayCopyData() 1413 ok(!memcmp(sa->pvData, sacopy->pvData, size * sizeof(int)), "compared different\n"); in test_SafeArrayCopyData() 1450 ok(!memcmp(sa->pvData, sacopy->pvData, size * sizeof(int)), "compared different\n"); in test_SafeArrayCopyData() 1816 memcpy(sa->pvData, szHello, strlen(szHello)+1); in test_SafeArrayChangeTypeEx() 1838 memcpy(sa->pvData, szHello, strlen(szHello)+1); in test_SafeArrayChangeTypeEx() 1952 temp_pvData = sa->pvData; in test_SafeArrayDestroyData() 1957 sa->pvData, temp_pvData, sa->fFeatures); in test_SafeArrayDestroyData() 1966 ok(sa->pvData == NULL, "SADData !FADF_STATIC: pvData=%p, expected NULL.\n", sa->pvData); in test_SafeArrayDestroyData() 2016 ok(sa->pvData != NULL, "got %p\n", sa->pvData); in test_SafeArrayDestroyData() 2022 ok(sa->pvData == NULL || broken(sa->pvData != NULL), "got %p\n", sa->pvData); in test_SafeArrayDestroyData() [all …]
|
/reactos/dll/win32/advapi32/reg/ |
H A D | reg.c | 1936 PVOID pvData, in RegGetValueW() argument 1945 pvData, pcbData, cbData); in RegGetValueW() 1947 if (pvData && !pcbData) in RegGetValueW() 1978 if (ret == ERROR_MORE_DATA || !pvData) in RegGetValueW() 1986 CopyMemory(pvBuf, pvData, cbData); in RegGetValueW() 2006 else if (pvData) in RegGetValueW() 2019 ZeroMemory(pvData, *pcbData); in RegGetValueW() 2042 PVOID pvData, in RegGetValueA() argument 2053 if (pvData && !pcbData) in RegGetValueA() 2110 else if (pvData) in RegGetValueA() [all …]
|
/reactos/sdk/include/psdk/ |
H A D | netsh.h | 48 _In_ LPCVOID pvData); 70 _In_ LPCVOID pvData,
|
/reactos/modules/rostests/apitests/shdocvw/ |
H A D | MRUList.cpp | 68 static INT MRUList_Check(LPCWSTR pszSubKey, LPCWSTR pszValueName, LPCVOID pvData, DWORD cbData) in MRUList_Check() argument 90 if (!pvData) in MRUList_Check() 93 return memcmp(abData, pvData, cbData) == 0; in MRUList_Check()
|