Share via


MAPHEADER (Windows CE 5.0)

Send Feedback

This structures stores header information on a shared memory buffer.

typedef struct __MAPHEADER {DWORDdwBufSize;LPBYTEpWrite;LPBYTEpRead;BOOLfSetEvent;BYTEbReserved;DWORDdwLostBytes;} MAPHEADER, *PMAPHEADER;

Members

  • dwBufSize
    Size of the data buffer. This does not include the size of the header.

  • pWrite
    Pointer to the next location to be written in the buffer.

  • pRead
    Pointer to the next location to read from.

  • fSetEvent
    Flag indicating whether the fill event can be set.

    The writer sets this value to FALSE; the reader sets this value to TRUE.

  • bReserved
    Padding for DWORD alignment.

  • dwLostBytes
    Total number of lost bytes.

    This value is set by the writer and only read by the reader.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Celog.h.

See Also

CeLog Buffering Scheme

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.