| Microsoft DirectX 8.1 (C++) | 
Describes a locked box (volume).
typedef struct _D3DLOCKED_BOX {
    INT                 RowPitch;
    INT                 SlicePitch;
    void*               pBits;
} D3DLOCKED_BOX;
Volumes can be visualized as being organized into slices of width x height 2-D surfaces stacked up to make a width x height x depth volume. For more information, see Volume Texture Resources.
Header: Declared in D3d8types.h.