DD_MAPMEMORYDATA

typedef struct _DD_MAPMEMORYDATA{

    PDD_DIRECTDRAW_GLOBAL        lpDD;

    BOOL                         bMap;

    HANDLE                       hProcess;

    FLATPTR                      fpProcess;

    HRESULT                      ddRVal;

} DD_MAPMEMORYDATA;

The DD_MAPMEMORYDATA structure is passed to the DirectDraw hardware interface’s MapMemory object callback.

Members

lpDD

Pointer to the DD_DIRECTDRAW_GLOBAL structure that describes the driver.

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

Pointer to the address in the process’s address space in which the memory mapping/unmapping occurs.

ddRVal

Location in which the driver returns a DirectDraw status return code. The status codes are defined in ddraw.h.