Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
The DD_MAPMEMORYDATA structure contains the information necessary to map or unmap a frame buffer into user-mode memory.
Syntax
typedef struct _DD_MAPMEMORYDATA {
PDD_DIRECTDRAW_GLOBAL lpDD;
BOOL bMap;
HANDLE hProcess;
FLATPTR fpProcess;
HRESULT ddRVal;
} *PDD_MAPMEMORYDATA, DD_MAPMEMORYDATA;
Members
lpDD
Points to a DD_DIRECTDRAW_GLOBAL structure that describes the driver's device.
bMap
Specifies the memory operation that the driver should perform. A value of TRUE indicates that the driver should map memory; FALSE means that the driver should unmap memory.
hProcess
Handle to the process whose address space is affected.
fpProcess
Specifies the location in which the driver should return the base address of the process's memory-mapped space when bMap is TRUE. When bMap is FALSE, fpProcess contains the base address of the memory to be unmapped by the driver.
ddRVal
Specifies the location in which the driver writes the return value of the DdMapMemory callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.
Requirements
| Requirement | Value |
|---|---|
| Header | ddrawint.h (include Winddi.h) |