BCD_ELEMENT_BOOLEAN - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTBCD_H

/**
 * Boolean payload written by bcdsrv.dll: Value is normalized to 0 or 1 and
 * Pad is zero, for a 2-byte BcdSetElementData buffer. The COM getter reads only
 * the first byte; do not confuse this serialized payload with BOOL or the
 * one-byte COM boolean argument. Honor the returned DataSize when reading.
 */
typedef struct _BCD_ELEMENT_BOOLEAN
{
    BOOLEAN Value;
    BOOLEAN Pad; // Zero when writing the 2-byte payload.
} BCD_ELEMENT_BOOLEAN, *PBCD_ELEMENT_BOOLEAN;

#endif

View code on GitHub

NtDoc

No description available.