Virtualbox WDDM之DxgkDdiCreateAllocation
来源:互联网 发布:红蜘蛛教学软件怎么退 编辑:程序博客网 时间:2024/05/19 02:29
/*The DxgkDdiOpenAllocation function binds non-device-specific allocations that the DxgkDdiCreateAllocation function created to allocations that are specific to the specified graphics context device.hDeviceSpecificAllocation[out] A handle to the device-specific allocation that corresponds to the non device-specific allocation that hAllocation specifies. The display miniport driver must set hDeviceSpecificAllocation to a handle value that it can use to refer to its private tracking structure for the allocation.typedef struct VBOXWDDM_OPENALLOCATION{ D3DKMT_HANDLE hAllocation;} VBOXWDDM_OPENALLOCATION, *PVBOXWDDM_OPENALLOCATION;typedef struct _DXGK_OPENALLOCATIONINFO { D3DKMT_HANDLE hAllocation; ...};*/NTSTATUSAPIENTRYDxgkDdiOpenAllocation( CONST HANDLE hDevice, CONST DXGKARG_OPENALLOCATION *pOpenAllocation){ /* DxgkDdiOpenAllocation should be made pageable. */ PAGED_CODE(); NTSTATUS Status = STATUS_SUCCESS; for (UINT i = 0; i < pOpenAllocation->NumAllocations; ++i) { DXGK_OPENALLOCATIONINFO* pInfo = &pOpenAllocation->pOpenAllocation[i]; PVBOXWDDM_OPENALLOCATION pOa = (PVBOXWDDM_OPENALLOCATION)vboxWddmMemAllocZero(sizeof (VBOXWDDM_OPENALLOCATION)); pOa->hAllocation = pInfo->hAllocation; pInfo->hDeviceSpecificAllocation = pOa; } return Status;}
0 0
- Virtualbox WDDM之DxgkDdiCreateAllocation
- Virtualbox WDDM之DxgkDdiCreateAllocation
- Virtualbox WDDM之DriverEntry
- Virtualbox WDDM之DxgkDdiStartDevice
- Virtualbox WDDM之DxgkDdiQueryChildRelations
- Virtualbox WDDM之DxgkDdiQueryChildStatus
- Virtualbox WDDM之DxgkDdiQueryDeviceDescriptor
- Virtualbox WDDM之DxgkDdiRecommendFunctionalVidPn
- Virtualbox WDDM之DxgkDdiIsSupportedVidPn
- Virtualbox WDDM之DxgkDdiEnumVidPnCofuncModality
- Virtualbox WDDM之DxgkDdiQueryAdapterInfo
- Virtualbox WDDM之DxgkDdiGetStandardAllocationDriverData
- Virtualbox WDDM之DxgkDdiInterruptRoutine
- Virtualbox WDDM之DxgkDdiDpcRoutine
- Virtualbox WDDM之DxgkDdiPresent
- Virtualbox WDDM之DxgkDdiPatch
- Virtualbox WDDM之DxgkDdiSubmitCommand
- Virtualbox WDDM之DxgkDdiSetVidPnSourceAddress
- 排序算法之折半插入排序
- Android中应用md5加密技术
- 检测、识别类算法性能指标简介
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springfr
- Java一步一脚印—单列两种方式
- Virtualbox WDDM之DxgkDdiCreateAllocation
- 开发框架XUtils
- 软件工程之用户界面设计
- SQL数据库优化步骤大全
- linux ubuntu 安装禅道 zentao
- PCA
- Xcode中切换ARC/MRC,开启僵尸对象监控
- 《富爸爸,穷爸爸》摘录-阮一峰
- DP-HDU-1078-FatMouse and Cheese