79 Star 313 Fork 53

不在乎y/govcl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
structs.go 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
不在乎y 提交于 2020-02-24 23:28 . Add a unified comment header.
// +build windows
//----------------------------------------
//
// Copyright © ying32. All Rights Reserved.
//
// Licensed under Apache License 2.0
//
//----------------------------------------
package win
type TRGBQuad struct {
RgbBlue uint8
RgbGreen uint8
RgbRed uint8
RgbReserved uint8
}
type TBitmapInfoHeader struct {
BiSize uint32
BiWidth uint32
BiHeight uint32
BiPlanes uint16
BiBitCount uint16
BiCompression uint32
BiSizeImage uint32
BiXPelsPerMeter uint32
BiYPelsPerMeter uint32
BiClrUsed uint32
BiClrImportant uint32
}
type TBitmapInfo struct {
BmiHeader TBitmapInfoHeader
BmiColors [1]TRGBQuad
}
type TBlendFunction struct {
BlendOp uint8
BlendFlags uint8
SourceConstantAlpha uint8
AlphaFormat uint8
}
type TSystemInfo struct {
//0: (
//dwOemId: DWORD);
//1: (
ProcessorArchitecture uint16
Reserved uint16
PageSize uint32
MinimumApplicationAddress uintptr
MaximumApplicationAddress uintptr
ActiveProcessorMask uintptr
NumberOfProcessors uint32
ProcessorType uint32
AllocationGranularity uint32
ProcessorLevel uint16
ProcessorRevision uint16
}
type TSecurityAttributes struct {
nLength uint32
lpSecurityDescriptor uintptr
bInheritHandle bool // BOOL
}
type TSHItemID struct {
Cb uint16 // Size of the ID (including cb itself)
AbID [1]byte // The item ID (variable length)
}
type TItemIDList struct {
Mkid TSHItemID
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/ying32/govcl.git
git@gitee.com:ying32/govcl.git
ying32
govcl
govcl
v1.2.9

搜索帮助