/reactos/sdk/lib/drivers/wdf/shared/core/ |
H A D | fxlookasidelist.cpp | 165 PFX_POOL_HEADER pHeader; variable 178 pHeader = WDF_PTR_ADD_OFFSET_TYPE(Alloc, 182 pHeader->Base = Alloc; 183 pHeader->FxDriverGlobals = pFxDriverGlobals; 196 pHeader = (PFX_POOL_HEADER) Alloc; 197 pHeader->Base = Alloc; 198 pHeader->FxDriverGlobals = pFxDriverGlobals; 201 return &pHeader->AllocationStart[0]; 212 PFX_POOL_HEADER pHeader; in _Reclaim() local 214 pHeader = FxObject::_CleanupPointer(FxDriverGlobals, (FxObject*) Memory); in _Reclaim() [all …]
|
H A D | fxpagedlookasidelist.cpp | 173 PFX_POOL_HEADER pHeader; variable 186 pHeader = WDF_PTR_ADD_OFFSET_TYPE(Alloc, 190 pHeader->Base = Alloc; 191 pHeader->FxDriverGlobals = pFxDriverGlobals; 204 pHeader = (PFX_POOL_HEADER) Alloc; 205 pHeader->Base = Alloc; 206 pHeader->FxDriverGlobals = pFxDriverGlobals; 209 return &pHeader->AllocationStart[0];
|
H A D | fxdevice.cpp | 1662 PFX_POOL_HEADER pHeader; in AllocateRequestMemory() local 1679 pHeader = WDF_PTR_ADD_OFFSET_TYPE(pTrueBase, in AllocateRequestMemory() 1693 pHeader = (PFX_POOL_HEADER) pTrueBase; in AllocateRequestMemory() 1699 pHeader->Base = pTrueBase; in AllocateRequestMemory() 1700 pHeader->FxDriverGlobals = pGlobals; in AllocateRequestMemory() 1702 ptr = &pHeader->AllocationStart[0]; in AllocateRequestMemory() 1732 PFX_POOL_HEADER pHeader; in FreeRequestMemory() local 1743 pHeader = FxObject::_CleanupPointer(GetDriverGlobals(), Request); in FreeRequestMemory() 1745 FxFreeToNPagedLookasideListNoTracking(&m_RequestLookasideList, pHeader->Base); in FreeRequestMemory() 1748 FxFreeToNPagedLookasideList(&m_RequestLookasideList, pHeader->Base); in FreeRequestMemory()
|
H A D | fxrequest.cpp | 3177 PFX_POOL_HEADER pHeader; in SelfDestruct() local 3201 pHeader = FxObject::_CleanupPointer(GetDriverGlobals(), this); in SelfDestruct() 3202 MxMemory::MxFreePool(pHeader->Base); in SelfDestruct()
|
/reactos/sdk/lib/drivers/wdf/shared/enhancedverif/ |
H A D | verifier.cpp | 447 FxContextHeader* pHeader; in VfWdfObjectGetTypedContext() local 476 pHeader = pObject->GetContextHeader(); in VfWdfObjectGetTypedContext() 478 for ( ; pHeader != NULL; pHeader = pHeader->NextHeader) { in VfWdfObjectGetTypedContext() 480 return &pHeader->Context[0]; in VfWdfObjectGetTypedContext() 526 FxContextHeader *pHeader; in VfAllocateContext() local 560 pHeader = (FxContextHeader*) in VfAllocateContext() 563 if (pHeader != NULL) { in VfAllocateContext() 564 *ContextHeader = pHeader; in VfAllocateContext() 586 FxContextHeader *pHeader; in VfAddContextToHandle() local 593 if (pHeader == NULL) { in VfAddContextToHandle() [all …]
|
/reactos/sdk/lib/drivers/wdf/shared/object/ |
H A D | fxobject.cpp | 332 FxContextHeader* pHeader; in CallCleanupCallbacks() local 347 for (pHeader = GetContextHeader(); in CallCleanupCallbacks() 348 pHeader != NULL; in CallCleanupCallbacks() 349 pHeader = pHeader->NextHeader) { in CallCleanupCallbacks() 351 pHeader->EvtCleanupCallback(h); in CallCleanupCallbacks() 377 FxContextHeader *pHeader; in ClearEvtCallbacks() local 379 for (pHeader = GetContextHeader(); in ClearEvtCallbacks() 380 pHeader != NULL; in ClearEvtCallbacks() 381 pHeader = pHeader->NextHeader) { in ClearEvtCallbacks() 1011 FxContextHeader* pHeader; in Commit() local [all …]
|
H A D | fxobjectstatemachine.cpp | 281 FxContextHeader* pHeader, *pNext; in ProcessDestroy() local 303 for (pHeader = GetContextHeader(); in ProcessDestroy() 304 pHeader != NULL; in ProcessDestroy() 305 pHeader = pHeader->NextHeader) { in ProcessDestroy() 321 pHeader->EvtCleanupCallback(h); in ProcessDestroy() 322 pHeader->EvtCleanupCallback = NULL; in ProcessDestroy() 326 pHeader->EvtDestroyCallback(h); in ProcessDestroy() 327 pHeader->EvtDestroyCallback = NULL; in ProcessDestroy() 332 for (pHeader = GetContextHeader(); pHeader != NULL; pHeader = pNext) { in ProcessDestroy() 334 pNext = pHeader->NextHeader; in ProcessDestroy() [all …]
|
H A D | wdfpool.cpp | 129 PFX_POOL_HEADER pHeader; in FxPoolAllocator() local 235 pHeader = WDF_PTR_ADD_OFFSET_TYPE(pTrueBase, in FxPoolAllocator() 238 pHeader->Base = pTrueBase; in FxPoolAllocator() 239 pHeader->FxDriverGlobals = FxDriverGlobals; in FxPoolAllocator() 244 ptr = &pHeader->AllocationStart[0]; in FxPoolAllocator() 339 pHeader = (PFX_POOL_HEADER) pTrueBase; in FxPoolAllocator() 340 pHeader->Base = pTrueBase; in FxPoolAllocator() 343 ptr = &pHeader->AllocationStart[0]; in FxPoolAllocator() 387 PFX_POOL_HEADER pHeader; in FxPoolFree() local 425 pTrueBase = pHeader->Base; in FxPoolFree() [all …]
|
H A D | handleapi.cpp | 604 FxContextHeader* pHeader; in WDFEXPORT() local 632 pHeader = pObject->GetContextHeader(); in WDFEXPORT() 634 for ( ; pHeader != NULL; pHeader = pHeader->NextHeader) { in WDFEXPORT() 635 if (pHeader->ContextTypeInfo == TypeInfo) { in WDFEXPORT() 636 return &pHeader->Context[0]; in WDFEXPORT() 682 FxContextHeader* pHeader; in WDFEXPORT() local 695 pHeader = CONTAINING_RECORD(ContextPointer, FxContextHeader, Context); in WDFEXPORT() 696 pObject = pHeader->Object; in WDFEXPORT()
|
/reactos/dll/win32/shell32/shellrecyclebin/ |
H A D | recyclebin_v5.cpp | 229 PINFO2_HEADER pHeader = NULL; in DeleteFile() local 298 if (!pHeader) in DeleteFile() 401 if (pHeader) in DeleteFile() 402 UnmapViewOfFile(pHeader); in DeleteFile() 458 PINFO2_HEADER pHeader; in Delete() local 468 if (!pHeader) in Delete() 474 UnmapViewOfFile(pHeader); in Delete() 508 UnmapViewOfFile(pHeader); in Delete() 517 PINFO2_HEADER pHeader; in Restore() local 528 if (!pHeader) in Restore() [all …]
|
/reactos/sdk/lib/drivers/wdf/kmdf/src/core/ |
H A D | tracing.cpp | 238 PWDF_IFR_HEADER pHeader; in FxIFRStart() local 259 pHeader = (PWDF_IFR_HEADER) ExAllocatePoolWithTag(NonPagedPool, in FxIFRStart() 262 if (pHeader == NULL) { in FxIFRStart() 266 RtlZeroMemory(pHeader, size); in FxIFRStart() 273 RtlCopyMemory(&pHeader->Guid, (PVOID) &WdfTraceGuid, sizeof(GUID)); in FxIFRStart() 275 pHeader->Base = (PUCHAR) &pHeader[1]; in FxIFRStart() 276 pHeader->Size = size - sizeof(WDF_IFR_HEADER); in FxIFRStart() 278 pHeader->Offset.u.s.Current = 0; in FxIFRStart() 279 pHeader->Offset.u.s.Previous = 0; in FxIFRStart() 280 …RtlStringCchCopyA(pHeader->DriverName, WDF_IFR_HEADER_NAME_LEN, FxDriverGlobals->Public.DriverName… in FxIFRStart() [all …]
|
/reactos/sdk/lib/drivers/wdf/shared/support/um/ |
H A D | tracingum.cpp | 461 PWDF_IFR_HEADER pHeader; in FxIFRStart() local 533 (PVOID *)&pHeader, in FxIFRStart() 536 if (pHeader == NULL || allocatedBufferLengthCb <= sizeof(WDF_IFR_HEADER)) { in FxIFRStart() 545 RtlCopyMemory(&pHeader->Guid, (PVOID) &WdfTraceGuid, sizeof(GUID)); in FxIFRStart() 547 pHeader->Base = (PUCHAR) &pHeader[1]; in FxIFRStart() 548 pHeader->Size = allocatedBufferLengthCb - sizeof(WDF_IFR_HEADER); in FxIFRStart() 550 pHeader->Offset.u.s.Current = 0; in FxIFRStart() 551 pHeader->Offset.u.s.Previous = 0; in FxIFRStart() 552 pHeader->SequenceNumberPointer = &(DriverObject->IfrSequenceNumber); in FxIFRStart() 554 … StringCchCopyA(pHeader->DriverName, WDF_IFR_HEADER_NAME_LEN, FxDriverGlobals->Public.DriverName); in FxIFRStart() [all …]
|
/reactos/dll/win32/wininet/ |
H A D | urlcache.c | 920 urlcache_header* pHeader; in cache_container_lock_index() local 961 TRACE("Signature: %s, file size: %d bytes\n", pHeader->signature, pHeader->size); in cache_container_lock_index() 968 return pHeader; in cache_container_lock_index() 1539 for (pHashEntry = urlcache_get_hash_table(pHeader, pHeader->hash_table_off); in urlcache_find_hash_entry() 1629 for (pHashEntry = urlcache_get_hash_table(pHeader, pHeader->hash_table_off); in urlcache_hash_entry_create() 1679 for (*ppHashEntry = urlcache_get_hash_table(pHeader, pHeader->hash_table_off); in urlcache_enum_hash_tables() 2027 urlcache_header *pHeader; in SetUrlCacheEntryInfoA() local 2547 urlcache_header *pHeader; in UnlockUrlCacheEntryFileA() local 3301 urlcache_header *pHeader; in DeleteUrlCacheEntryA() local 3597 pHeader, in urlcache_find_next_entry() [all …]
|
/reactos/sdk/lib/drivers/wdf/shared/inc/private/common/ |
H A D | fxpagedlookasidelist.hpp | 69 PFX_POOL_HEADER pHeader; in ReclaimPool() local 74 pHeader = CONTAINING_RECORD(Pool, FX_POOL_HEADER, AllocationStart); in ReclaimPool() 84 FxPoolRemovePagedAllocateTracker((PFX_POOL_TRACKER) pHeader->Base); in ReclaimPool() 88 FxFreeToPagedLookasideList(&m_PoolLookaside, pHeader->Base); in ReclaimPool()
|
H A D | fxobject.hpp | 1278 PFX_POOL_HEADER pHeader; in _CleanupPointer() local 1283 pHeader = CONTAINING_RECORD(pObjectBase, FX_POOL_HEADER, AllocationStart); in _CleanupPointer() 1292 FxPoolRemoveNonPagedAllocateTracker((PFX_POOL_TRACKER) pHeader->Base); in _CleanupPointer() 1295 return pHeader; in _CleanupPointer()
|
/reactos/win32ss/user/user32/windows/ |
H A D | cursoricon.c | 927 const ani_header *pHeader; in CURSORICON_GetCursorDataFromANI() local 953 dump_ani_header(pHeader); in CURSORICON_GetCursorDataFromANI() 957 pCurData->cpcur = pHeader->num_frames; in CURSORICON_GetCursorDataFromANI() 958 pCurData->cicur = pHeader->num_steps; in CURSORICON_GetCursorDataFromANI() 987 if(pHeader->num_frames > 1) in CURSORICON_GetCursorDataFromANI() 991 … pHeader->num_frames * sizeof(CURSORDATA) + pHeader->num_steps * (sizeof(DWORD) + sizeof(INT))); in CURSORICON_GetCursorDataFromANI() 1001 for(i=0; i < pHeader->num_frames; i++) in CURSORICON_GetCursorDataFromANI() 1007 if(pHeader->num_frames > 1) in CURSORICON_GetCursorDataFromANI() 1031 if(!pHeader->width || !pHeader->height) in CURSORICON_GetCursorDataFromANI() 1053 if(pHeader->num_frames > 1) in CURSORICON_GetCursorDataFromANI() [all …]
|
/reactos/dll/win32/shell32/ |
H A D | precomp.h | 138 PROPSHEETHEADERW *pHeader = (PROPSHEETHEADERW *)lParam; in AddPropSheetPageCallback() local 140 if (pHeader->nPages < MAX_PROPERTY_SHEET_PAGE) in AddPropSheetPageCallback() 142 pHeader->phpage[pHeader->nPages++] = hPage; in AddPropSheetPageCallback()
|
/reactos/dll/directx/wine/dmusic/ |
H A D | collection.c | 39 DLSHEADER *pHeader; member 265 This->pHeader = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, chunk.dwSize); in IPersistStreamImpl_Load() 266 IStream_Read(stream, This->pHeader, chunk.dwSize, NULL); in IPersistStreamImpl_Load() 505 TRACE(" - cInstruments: %d\n", This->pHeader->cInstruments); in IPersistStreamImpl_Load()
|
/reactos/drivers/network/dd/netkvm/Common/ |
H A D | sw-offload.c | 91 #define IP_HEADER_LENGTH(pHeader) (((pHeader)->ip_verlen & 0x0F) << 2) argument 92 #define TCP_HEADER_LENGTH(pHeader) ((pHeader->tcp_flags & 0xF0) >> 2) argument
|
/reactos/drivers/network/dd/netkvm/wxp/ |
H A D | ParaNdis5-Oid.c | 109 …DAPTER *pContext, PVOID *ppInfo, PULONG pulSize, PCCHAR reason, NDIS_TASK_OFFLOAD_HEADER *pHeader); 666 NDIS_TASK_OFFLOAD_HEADER *pHeader) in CreateOffloadInfo5Internal() argument 691 *ph = *pHeader; in CreateOffloadInfo5Internal()
|
H A D | ParaNdis5-Impl.c | 519 virtio_net_hdr_basic *pHeader = (virtio_net_hdr_basic *)headerBuffer; in ParaNdis_IndicateReceivedPacket() local 528 csRes = ParaNdis_CheckRxChecksum(pContext, pHeader->flags, dataBuffer, length); in ParaNdis_IndicateReceivedPacket()
|
/reactos/modules/rosapps/applications/sysutils/pedump/ |
H A D | pedump.c | 917 PIMAGE_DOS_HEADER pHeader in GetDosHeader() argument 928 (LPVOID) pHeader, in GetDosHeader() 971 PIMAGE_FILE_HEADER pHeader) in GetPEFileHeader() argument 975 bcopy (PEFHDROFFSET (lpFile), (LPVOID) pHeader, sizeof (IMAGE_FILE_HEADER)); in GetPEFileHeader() 990 PIMAGE_OPTIONAL_HEADER pHeader) in GetPEOptionalHeader() argument 994 bcopy (OPTHDROFFSET (lpFile), (LPVOID) pHeader, sizeof (IMAGE_OPTIONAL_HEADER)); in GetPEOptionalHeader()
|
/reactos/sdk/include/psdk/ |
H A D | wincodecsdk.idl | 237 [out, unique] WICMetadataHeader *pHeader,
|
H A D | wmsdkidl.idl | 1156 [in] INSSBuffer *pHeader);
|
/reactos/dll/win32/oleaut32/ |
H A D | typelib.c | 4490 SLTG_Header *pHeader; in ITypeLib2_Constructor_SLTG() local 4510 pHeader = pLib; in ITypeLib2_Constructor_SLTG() 4513 TRACE_(typelib)("\tmagic=0x%08x, file blocks = %d\n", pHeader->SLTG_magic, in ITypeLib2_Constructor_SLTG() 4514 pHeader->nrOfFileBlks ); in ITypeLib2_Constructor_SLTG() 4515 if (pHeader->SLTG_magic != SLTG_SIGNATURE) { in ITypeLib2_Constructor_SLTG() 4517 pHeader->SLTG_magic); in ITypeLib2_Constructor_SLTG() 4522 pTypeLibImpl->TypeInfoCount = pHeader->nrOfFileBlks - 2; in ITypeLib2_Constructor_SLTG() 4525 pBlkEntry = (SLTG_BlkEntry*)(pHeader + 1); in ITypeLib2_Constructor_SLTG() 4528 pMagic = (SLTG_Magic*)(pBlkEntry + pHeader->nrOfFileBlks - 1); in ITypeLib2_Constructor_SLTG() 4550 for(pBlk = pFirstBlk, order = pHeader->first_blk - 1; in ITypeLib2_Constructor_SLTG() [all …]
|