在JEDI Windows APIJwaNtSecApi.pas
中,C SECURITY_LOGON_TYPE被翻译成 Delphi 如下:enum
SECURITY_LOGON_TYPE = (
seltFiller0,
seltFiller1,
Interactive,
Network,
Batch,
Service,
Proxy,
Unlock,
NetworkCleartext,
NewCredentials,
RemoteInteractive,
CachedInteractive,
CachedRemoteInteractive,
CachedUnlock
);
PSECURITY_LOGON_TYPE = ^SECURITY_LOGON_TYPE;
转换从非零值开始的 C 枚举时,手动填充值是否真的必要?
手动填充值是否只是旧 Delphi 编译器的一种解决方法?