TPMS_ACT_DATA_Marshal(TPMS_ACT_DATA *source, BYTE **buffer, INT32 *size)
{
    UINT16 written = 0;

    written += TPM_HANDLE_Marshal(&source->handle, buffer, size);
    written += UINT32_Marshal(&source->timeout, buffer, size);
    written += TPMA_ACT_Marshal(&source->attributes, buffer, size);
    return written;
}
TPMS_ACT_DATA_Marshal(TPMS_ACT_DATA *source, BYTE **buffer, INT32 *size)
{
    UINT16 written = 0;

    written += TPM_HANDLE_Marshal(&source->handle, buffer, size);
    written += UINT32_Marshal(&source->timeout, buffer, size);
    written += TPMA_ACT_Marshal(&source->attributes, buffer, size);
    return written;
}