D3DMLOCKED_RECT (Windows CE 5.0)
This structure describes a locked rectangular region. This structure is used in calls to IDirect3DMobileTexture::LockRect and IDirect3DMobileSurface::LockRect.
typedef struct _D3DMLOCKED_RECT { INT Pitch; void* pBits;} D3DMLOCKED_RECT;
Members
Pitch
Pitch of surface, in bytes.The pitch for DXTn formats, see D3DMFORMAT, refers to a row of blocks. For example, if you have a width of 16, then you will have a pitch of 4 blocks (4*8 for DXT1, 4*16 for DXT2-5.)
pBits
Pointer to the locked bits. If a RECTL was provided to the LockRect call, pBits will be appropriately offset from the start of the surface.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: D3dmtypes.h.
See Also
Send Feedback on this topic to the authors