msw32t
import "github.com/TheManticoreProject/Manticore/windows/protocols/ms-w32t"
Index
- type W32TIME_CONFIGURATION_ADVANCED
- type W32TIME_CONFIGURATION_BASIC
- type W32TIME_CONFIGURATION_DEFAULT
- type W32TIME_CONFIGURATION_INFO
- type W32TIME_CONFIGURATION_PROVIDER
- type W32TIME_ENTRY
- type W32TIME_HARDWARE_PROVIDER_DATA
- type W32TIME_NTPCLIENT_PROVIDER_CONFIG_DATA
- type W32TIME_NTPSERVER_PROVIDER_CONFIG_DATA
- type W32TIME_NTP_PEER_INFO
- type W32TIME_NTP_PROVIDER_DATA
- type W32TIME_PROVIDER_CONFIG
- type W32TIME_PROVIDER_CONFIG_DATA
- type W32TIME_PROVIDER_DATA
- type W32TIME_PROVIDER_INFO
- type W32TIME_STATUS_INFO
type W32TIME\_CONFIGURATION\_ADVANCED
W32TIME_CONFIGURATION_ADVANCED ([MS-W32T]).
type W32TIME_CONFIGURATION_ADVANCED struct {
UlSize ndr.DWORD
UlFrequencyCorrectRate ndr.DWORD
UlPollAdjustFactor ndr.DWORD
UlLargePhaseOffset ndr.DWORD
UlSpikeWatchPeriod ndr.DWORD
UlLocalClockDispersion ndr.DWORD
UlHoldPeriod ndr.DWORD
UlPhaseCorrectRate ndr.DWORD
UlUpdateInterval ndr.DWORD
UlFrequencyCorrectRateFlag ndr.DWORD
UlPollAdjustFactorFlag ndr.DWORD
UlLargePhaseOffsetFlag ndr.DWORD
UlSpikeWatchPeriodFlag ndr.DWORD
UlLocalClockDispersionFlag ndr.DWORD
UlHoldPeriodFlag ndr.DWORD
UlPhaseCorrectRateFlag ndr.DWORD
UlUpdateIntervalFlag ndr.DWORD
}
type W32TIME\_CONFIGURATION\_BASIC
W32TIME_CONFIGURATION_BASIC ([MS-W32T]).
type W32TIME_CONFIGURATION_BASIC struct {
UlSize ndr.DWORD
UlEventLogFlags ndr.DWORD
UlAnnounceFlags ndr.DWORD
UlTimeJumpAuditOffset ndr.DWORD
UlMinPollInterval ndr.DWORD
UlMaxPollInterval ndr.DWORD
UlMaxNegPhaseCorrection ndr.DWORD
UlMaxPosPhaseCorrection ndr.DWORD
UlMaxAllowedPhaseOffset ndr.DWORD
UlEventLogFlagsFlag ndr.DWORD
UlAnnounceFlagsFlag ndr.DWORD
UlTimeJumpAuditOffsetFlag ndr.DWORD
UlMinPollIntervalFlag ndr.DWORD
UlMaxPollIntervalFlag ndr.DWORD
UlMaxNegPhaseCorrectionFlag ndr.DWORD
UlMaxPosPhaseCorrectionFlag ndr.DWORD
UlMaxAllowedPhaseOffsetFlag ndr.DWORD
}
type W32TIME\_CONFIGURATION\_DEFAULT
W32TIME_CONFIGURATION_DEFAULT ([MS-W32T]).
type W32TIME_CONFIGURATION_DEFAULT struct {
UlSize ndr.DWORD
WszFileLogName *ndr.WSTR `ndr:"unique"`
WszFileLogEntries *ndr.WSTR `ndr:"unique"`
UlFileLogSize ndr.DWORD
UlFileLogFlags ndr.DWORD
UlFileLogNameFlag ndr.DWORD
UlFileLogEntriesFlag ndr.DWORD
UlFileLogSizeFlag ndr.DWORD
UlFileLogFlagsFlag ndr.DWORD
}
type W32TIME\_CONFIGURATION\_INFO
W32TIME_CONFIGURATION_INFO ([MS-W32T]).
type W32TIME_CONFIGURATION_INFO struct {
UlSize ndr.DWORD
BasicConfig W32TIME_CONFIGURATION_BASIC
AdvancedConfig W32TIME_CONFIGURATION_ADVANCED
DefaultConfig W32TIME_CONFIGURATION_DEFAULT
CProviderConfig ndr.DWORD
PProviderConfig []*W32TIME_CONFIGURATION_PROVIDER `ndr:"elem=unique,unique,size_is=CProviderConfig"`
CEntries ndr.DWORD
PEntries []W32TIME_ENTRY `ndr:"unique,size_is=CEntries"`
}
type W32TIME\_CONFIGURATION\_PROVIDER
W32TIME_CONFIGURATION_PROVIDER ([MS-W32T]).
type W32TIME_CONFIGURATION_PROVIDER struct {
UlSize ndr.DWORD
UlInputProvider ndr.DWORD
UlEnabled ndr.DWORD
WszDllName *ndr.WSTR `ndr:"unique"`
WszProviderName *ndr.WSTR `ndr:"unique"`
UlDllNameFlag ndr.DWORD
UlProviderNameFlag ndr.DWORD
UlInputProviderFlag ndr.DWORD
UlEnabledFlag ndr.DWORD
PProviderConfig *W32TIME_PROVIDER_CONFIG `ndr:"unique"`
}
type W32TIME\_ENTRY
W32TIME_ENTRY ([MS-W32T]).
type W32TIME_ENTRY struct {
UlSize ndr.DWORD
WszName *ndr.WSTR `ndr:"unique"`
WszValue *ndr.WSTR `ndr:"unique"`
WszHelp *ndr.WSTR `ndr:"unique"`
}
type W32TIME\_HARDWARE\_PROVIDER\_DATA
W32TIME_HARDWARE_PROVIDER_DATA ([MS-W32T]).
type W32TIME_HARDWARE_PROVIDER_DATA struct {
UlSize ndr.DWORD
UlError ndr.DWORD
UlErrorMsgId ndr.DWORD
WszReferenceIdentifier *ndr.WSTR `ndr:"unique"`
}
type W32TIME\_NTPCLIENT\_PROVIDER\_CONFIG\_DATA
W32TIME_NTPCLIENT_PROVIDER_CONFIG_DATA ([MS-W32T]).
type W32TIME_NTPCLIENT_PROVIDER_CONFIG_DATA struct {
UlSize ndr.DWORD
UlAllowNonstandardModeCombinations ndr.DWORD
UlCrossSiteSyncFlags ndr.DWORD
UlResolvePeerBackoffMinutes ndr.DWORD
UlResolvePeerBackoffMaxTimes ndr.DWORD
UlCompatibilityFlags ndr.DWORD
UlEventLogFlags ndr.DWORD
UlLargeSampleSkew ndr.DWORD
UlSpecialPollInterval ndr.DWORD
WszType *ndr.WSTR `ndr:"unique"`
WszNtpServer *ndr.WSTR `ndr:"unique"`
UlAllowNonstandardModeCombinationsFlag ndr.DWORD
UlCrossSiteSyncFlagsFlag ndr.DWORD
UlResolvePeerBackoffMinutesFlag ndr.DWORD
UlResolvePeerBackoffMaxTimesFlag ndr.DWORD
UlCompatibilityFlagsFlag ndr.DWORD
UlEventLogFlagsFlag ndr.DWORD
UlLargeSampleSkewFlag ndr.DWORD
UlSpecialPollIntervalFlag ndr.DWORD
UlTypeFlag ndr.DWORD
UlNtpServerFlag ndr.DWORD
CEntries ndr.DWORD
PEntries []W32TIME_ENTRY `ndr:"unique,size_is=CEntries"`
}
type W32TIME\_NTPSERVER\_PROVIDER\_CONFIG\_DATA
W32TIME_NTPSERVER_PROVIDER_CONFIG_DATA ([MS-W32T]).
type W32TIME_NTPSERVER_PROVIDER_CONFIG_DATA struct {
UlSize ndr.DWORD
UlAllowNonstandardModeCombinations ndr.DWORD
UlAllowNonstandardModeCombinationsFlag ndr.DWORD
UlEventLogFlags ndr.DWORD
UlEventLogFlagsFlag ndr.DWORD
CEntries ndr.DWORD
PEntries []W32TIME_ENTRY `ndr:"unique,size_is=CEntries"`
}
type W32TIME\_NTP\_PEER\_INFO
W32TIME_NTP_PEER_INFO ([MS-W32T]).
type W32TIME_NTP_PEER_INFO struct {
UlSize ndr.DWORD
UlResolveAttempts ndr.DWORD
U64TimeRemaining uint64
U64LastSuccessfulSync uint64
UlLastSyncError ndr.DWORD
UlLastSyncErrorMsgId ndr.DWORD
UlValidDataCounter ndr.DWORD
UlAuthTypeMsgId ndr.DWORD
WszUniqueName *ndr.WSTR `ndr:"unique"`
UlMode uint8
UlStratum uint8
UlReachability uint8
UlPeerPollInterval uint8
UlHostPollInterval uint8
}
type W32TIME\_NTP\_PROVIDER\_DATA
W32TIME_NTP_PROVIDER_DATA ([MS-W32T]).
type W32TIME_NTP_PROVIDER_DATA struct {
UlSize ndr.DWORD
UlError ndr.DWORD
UlErrorMsgId ndr.DWORD
CPeerInfo ndr.DWORD
PPeerInfo []W32TIME_NTP_PEER_INFO `ndr:"unique,size_is=CPeerInfo"`
}
type W32TIME\_PROVIDER\_CONFIG
W32TIME_PROVIDER_CONFIG ([MS-W32T]).
type W32TIME_PROVIDER_CONFIG struct {
UlSize ndr.DWORD
UlProviderType ndr.DWORD
PProviderConfigData *W32TIME_PROVIDER_CONFIG_DATA `ndr:"unique"`
}
type W32TIME\_PROVIDER\_CONFIG\_DATA
W32TIME_PROVIDER_CONFIG_DATA is the non-encapsulated discriminated union ([MS-W32T] 2.2.10) selected by W32TIME_PROVIDER_CONFIG.ulProviderType. The discriminant (switch_type(unsigned long) -> 4-byte DWORD) is transmitted inline ahead of the selected arm ([C706] 14.3.8). Both arms are unique pointers in the IDL (PW32TIME_NTPCLIENT_PROVIDER_CONFIG_DATA / PW32TIME_NTPSERVER_PROVIDER_CONFIG_DATA).
type W32TIME_PROVIDER_CONFIG_DATA struct {
Tag ndr.DWORD `ndr:"switch"`
PNtpClientProviderConfigData *W32TIME_NTPCLIENT_PROVIDER_CONFIG_DATA `ndr:"case=0,unique"`
PNtpServerProviderConfigData *W32TIME_NTPSERVER_PROVIDER_CONFIG_DATA `ndr:"case=1,unique"`
}
type W32TIME\_PROVIDER\_DATA
W32TIME_PROVIDER_DATA is the non-encapsulated discriminated union ([MS-W32T] 2.2.6) selected by W32TIME_PROVIDER_INFO.ulProviderType. The discriminant (switch_type(unsigned long) -> 4-byte DWORD) is transmitted inline ahead of the selected arm ([C706] 14.3.8). Both arms are unique pointers.
type W32TIME_PROVIDER_DATA struct {
Tag ndr.DWORD `ndr:"switch"`
PNtpProviderData *W32TIME_NTP_PROVIDER_DATA `ndr:"case=0,unique"`
PHardwareProviderData *W32TIME_HARDWARE_PROVIDER_DATA `ndr:"case=1,unique"`
}
type W32TIME\_PROVIDER\_INFO
W32TIME_PROVIDER_INFO ([MS-W32T]).
type W32TIME_PROVIDER_INFO struct {
UlProviderType ndr.DWORD
ProviderData W32TIME_PROVIDER_DATA
}
type W32TIME\_STATUS\_INFO
W32TIME_STATUS_INFO ([MS-W32T]).
type W32TIME_STATUS_INFO struct {
UlSize ndr.DWORD
ELeapIndicator ndr.DWORD
NStratum ndr.DWORD
NPollInterval int32
RefidSource ndr.DWORD
QwLastSyncTicks uint64
ToRootDelay int64
TpRootDispersion uint64
NClockPrecision int32
WszSource *ndr.WSTR `ndr:"unique"`
ToSysPhaseOffset int64
UlLcState ndr.DWORD
UlTSFlags ndr.DWORD
UlClockRate ndr.DWORD
UlNetlogonServiceBits ndr.DWORD
ELastSyncResult ndr.DWORD
TpTimeLastGoodSync uint64
CEntries ndr.DWORD
PEntries []W32TIME_ENTRY `ndr:"unique,size_is=CEntries"`
}