12 #define RGB_MAX_PER_ITERATION 64 13 #define TAG_PALETTE_COLORS 'claP' 82 if (!PaletteColors)
return;
PVOID VideoAllocateOffScreenBuffer(VOID)
VOID VideoSetAllColorsToBlack(ULONG ColorCount)
#define MachVideoGetPaletteColor(Col, R, G, B)
#define MachVideoSetPaletteColor(Col, R, G, B)
#define MachVideoGetBufferSize()
VOID VideoFadeOut(ULONG ColorCount)
#define MachVideoCopyOffScreenBufferToVRAM(Buf)
FORCEINLINE PVOID FrLdrTempAlloc(_In_ SIZE_T Size, _In_ ULONG Tag)
#define TAG_PALETTE_COLORS
_In_ WDFCOLLECTION _In_ ULONG Index
PVOID MmAllocateMemoryWithType(SIZE_T MemorySize, TYPE_OF_MEMORY MemoryType)
VOID MmFreeMemory(PVOID MemoryPointer)
#define RGB_MAX_PER_ITERATION
VOID VideoCopyOffScreenBufferToVRAM(VOID)
VOID VideoFadeIn(PPALETTE_ENTRY Palette, ULONG ColorCount)
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
static PVOID VideoOffScreenBuffer
VOID VideoSavePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount)
VOID VideoRestorePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount)
FORCEINLINE VOID FrLdrTempFree(PVOID Allocation, ULONG Tag)