From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 8 Jan 2024 01:21:28 +0400 Subject: Initial vendor packages Signed-off-by: Valentin Popov --- .../src/Windows/Win32/System/EventLog/mod.rs | 664 +++++++++++++++++++++ 1 file changed, 664 insertions(+) create mode 100644 vendor/windows-sys-0.45.0/src/Windows/Win32/System/EventLog/mod.rs (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/System/EventLog/mod.rs') diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/System/EventLog/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/System/EventLog/mod.rs new file mode 100644 index 0000000..5909d87 --- /dev/null +++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/System/EventLog/mod.rs @@ -0,0 +1,664 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn BackupEventLogA ( heventlog : EventLogHandle , lpbackupfilename : :: windows_sys::core::PCSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn BackupEventLogW ( heventlog : EventLogHandle , lpbackupfilename : :: windows_sys::core::PCWSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn ClearEventLogA ( heventlog : EventLogHandle , lpbackupfilename : :: windows_sys::core::PCSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn ClearEventLogW ( heventlog : EventLogHandle , lpbackupfilename : :: windows_sys::core::PCWSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn CloseEventLog ( heventlog : EventLogHandle ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn DeregisterEventSource ( heventlog : EventSourceHandle ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtArchiveExportedLog ( session : EVT_HANDLE , logfilepath : :: windows_sys::core::PCWSTR , locale : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtCancel ( object : EVT_HANDLE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtClearLog ( session : EVT_HANDLE , channelpath : :: windows_sys::core::PCWSTR , targetfilepath : :: windows_sys::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtClose ( object : EVT_HANDLE ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtCreateBookmark ( bookmarkxml : :: windows_sys::core::PCWSTR ) -> EVT_HANDLE ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtCreateRenderContext ( valuepathscount : u32 , valuepaths : *const :: windows_sys::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtExportLog ( session : EVT_HANDLE , path : :: windows_sys::core::PCWSTR , query : :: windows_sys::core::PCWSTR , targetfilepath : :: windows_sys::core::PCWSTR , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtFormatMessage ( publishermetadata : EVT_HANDLE , event : EVT_HANDLE , messageid : u32 , valuecount : u32 , values : *const EVT_VARIANT , flags : u32 , buffersize : u32 , buffer : :: windows_sys::core::PWSTR , bufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtGetChannelConfigProperty ( channelconfig : EVT_HANDLE , propertyid : EVT_CHANNEL_CONFIG_PROPERTY_ID , flags : u32 , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtGetEventInfo ( event : EVT_HANDLE , propertyid : EVT_EVENT_PROPERTY_ID , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtGetEventMetadataProperty ( eventmetadata : EVT_HANDLE , propertyid : EVT_EVENT_METADATA_PROPERTY_ID , flags : u32 , eventmetadatapropertybuffersize : u32 , eventmetadatapropertybuffer : *mut EVT_VARIANT , eventmetadatapropertybufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtGetExtendedStatus ( buffersize : u32 , buffer : :: windows_sys::core::PWSTR , bufferused : *mut u32 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtGetLogInfo ( log : EVT_HANDLE , propertyid : EVT_LOG_PROPERTY_ID , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtGetObjectArrayProperty ( objectarray : isize , propertyid : u32 , arrayindex : u32 , flags : u32 , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtGetObjectArraySize ( objectarray : isize , objectarraysize : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtGetPublisherMetadataProperty ( publishermetadata : EVT_HANDLE , propertyid : EVT_PUBLISHER_METADATA_PROPERTY_ID , flags : u32 , publishermetadatapropertybuffersize : u32 , publishermetadatapropertybuffer : *mut EVT_VARIANT , publishermetadatapropertybufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtGetQueryInfo ( queryorsubscription : EVT_HANDLE , propertyid : EVT_QUERY_PROPERTY_ID , propertyvaluebuffersize : u32 , propertyvaluebuffer : *mut EVT_VARIANT , propertyvaluebufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtNext ( resultset : EVT_HANDLE , eventssize : u32 , events : *mut isize , timeout : u32 , flags : u32 , returned : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtNextChannelPath ( channelenum : EVT_HANDLE , channelpathbuffersize : u32 , channelpathbuffer : :: windows_sys::core::PWSTR , channelpathbufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtNextEventMetadata ( eventmetadataenum : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtNextPublisherId ( publisherenum : EVT_HANDLE , publisheridbuffersize : u32 , publisheridbuffer : :: windows_sys::core::PWSTR , publisheridbufferused : *mut u32 ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtOpenChannelConfig ( session : EVT_HANDLE , channelpath : :: windows_sys::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtOpenChannelEnum ( session : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtOpenEventMetadataEnum ( publishermetadata : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtOpenLog ( session : EVT_HANDLE , path : :: windows_sys::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtOpenPublisherEnum ( session : EVT_HANDLE , flags : u32 ) -> EVT_HANDLE ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtOpenPublisherMetadata ( session : EVT_HANDLE , publisherid : :: windows_sys::core::PCWSTR , logfilepath : :: windows_sys::core::PCWSTR , locale : u32 , flags : u32 ) -> EVT_HANDLE ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtOpenSession ( loginclass : EVT_LOGIN_CLASS , login : *const ::core::ffi::c_void , timeout : u32 , flags : u32 ) -> EVT_HANDLE ); +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn EvtQuery ( session : EVT_HANDLE , path : :: windows_sys::core::PCWSTR , query : :: windows_sys::core::PCWSTR , flags : u32 ) -> EVT_HANDLE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtRender ( context : EVT_HANDLE , fragment : EVT_HANDLE , flags : u32 , buffersize : u32 , buffer : *mut ::core::ffi::c_void , bufferused : *mut u32 , propertycount : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtSaveChannelConfig ( channelconfig : EVT_HANDLE , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtSeek ( resultset : EVT_HANDLE , position : i64 , bookmark : EVT_HANDLE , timeout : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtSetChannelConfigProperty ( channelconfig : EVT_HANDLE , propertyid : EVT_CHANNEL_CONFIG_PROPERTY_ID , flags : u32 , propertyvalue : *const EVT_VARIANT ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtSubscribe ( session : EVT_HANDLE , signalevent : super::super::Foundation:: HANDLE , channelpath : :: windows_sys::core::PCWSTR , query : :: windows_sys::core::PCWSTR , bookmark : EVT_HANDLE , context : *const ::core::ffi::c_void , callback : EVT_SUBSCRIBE_CALLBACK , flags : u32 ) -> EVT_HANDLE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wevtapi.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn EvtUpdateBookmark ( bookmark : EVT_HANDLE , event : EVT_HANDLE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn GetEventLogInformation ( heventlog : EventLogHandle , dwinfolevel : u32 , lpbuffer : *mut ::core::ffi::c_void , cbbufsize : u32 , pcbbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn GetNumberOfEventLogRecords ( heventlog : EventLogHandle , numberofrecords : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn GetOldestEventLogRecord ( heventlog : EventLogHandle , oldestrecord : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn NotifyChangeEventLog ( heventlog : EventLogHandle , hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn OpenBackupEventLogA ( lpuncservername : :: windows_sys::core::PCSTR , lpfilename : :: windows_sys::core::PCSTR ) -> EventLogHandle ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn OpenBackupEventLogW ( lpuncservername : :: windows_sys::core::PCWSTR , lpfilename : :: windows_sys::core::PCWSTR ) -> EventLogHandle ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn OpenEventLogA ( lpuncservername : :: windows_sys::core::PCSTR , lpsourcename : :: windows_sys::core::PCSTR ) -> EventLogHandle ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn OpenEventLogW ( lpuncservername : :: windows_sys::core::PCWSTR , lpsourcename : :: windows_sys::core::PCWSTR ) -> EventLogHandle ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn ReadEventLogA ( heventlog : EventLogHandle , dwreadflags : READ_EVENT_LOG_READ_FLAGS , dwrecordoffset : u32 , lpbuffer : *mut ::core::ffi::c_void , nnumberofbytestoread : u32 , pnbytesread : *mut u32 , pnminnumberofbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn ReadEventLogW ( heventlog : EventLogHandle , dwreadflags : READ_EVENT_LOG_READ_FLAGS , dwrecordoffset : u32 , lpbuffer : *mut ::core::ffi::c_void , nnumberofbytestoread : u32 , pnbytesread : *mut u32 , pnminnumberofbytesneeded : *mut u32 ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn RegisterEventSourceA ( lpuncservername : :: windows_sys::core::PCSTR , lpsourcename : :: windows_sys::core::PCSTR ) -> EventSourceHandle ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`*"] fn RegisterEventSourceW ( lpuncservername : :: windows_sys::core::PCWSTR , lpsourcename : :: windows_sys::core::PCWSTR ) -> EventSourceHandle ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn ReportEventA ( heventlog : EventSourceHandle , wtype : REPORT_EVENT_TYPE , wcategory : u16 , dweventid : u32 , lpusersid : super::super::Foundation:: PSID , wnumstrings : u16 , dwdatasize : u32 , lpstrings : *const :: windows_sys::core::PCSTR , lprawdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] fn ReportEventW ( heventlog : EventSourceHandle , wtype : REPORT_EVENT_TYPE , wcategory : u16 , dweventid : u32 , lpusersid : super::super::Foundation:: PSID , wnumstrings : u16 , dwdatasize : u32 , lpstrings : *const :: windows_sys::core::PCWSTR , lprawdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVT_ALL_ACCESS: u32 = 7u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVT_CLEAR_ACCESS: u32 = 4u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVT_READ_ACCESS: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVT_VARIANT_TYPE_ARRAY: u32 = 128u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVT_VARIANT_TYPE_MASK: u32 = 127u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVT_WRITE_ACCESS: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_CHANNEL_CLOCK_TYPE = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelClockTypeSystemTime: EVT_CHANNEL_CLOCK_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelClockTypeQPC: EVT_CHANNEL_CLOCK_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_CHANNEL_CONFIG_PROPERTY_ID = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelConfigEnabled: EVT_CHANNEL_CONFIG_PROPERTY_ID = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelConfigIsolation: EVT_CHANNEL_CONFIG_PROPERTY_ID = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelConfigType: EVT_CHANNEL_CONFIG_PROPERTY_ID = 2i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelConfigOwningPublisher: EVT_CHANNEL_CONFIG_PROPERTY_ID = 3i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelConfigClassicEventlog: EVT_CHANNEL_CONFIG_PROPERTY_ID = 4i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelConfigAccess: EVT_CHANNEL_CONFIG_PROPERTY_ID = 5i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelLoggingConfigRetention: EVT_CHANNEL_CONFIG_PROPERTY_ID = 6i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelLoggingConfigAutoBackup: EVT_CHANNEL_CONFIG_PROPERTY_ID = 7i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelLoggingConfigMaxSize: EVT_CHANNEL_CONFIG_PROPERTY_ID = 8i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelLoggingConfigLogFilePath: EVT_CHANNEL_CONFIG_PROPERTY_ID = 9i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublishingConfigLevel: EVT_CHANNEL_CONFIG_PROPERTY_ID = 10i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublishingConfigKeywords: EVT_CHANNEL_CONFIG_PROPERTY_ID = 11i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublishingConfigControlGuid: EVT_CHANNEL_CONFIG_PROPERTY_ID = 12i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublishingConfigBufferSize: EVT_CHANNEL_CONFIG_PROPERTY_ID = 13i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublishingConfigMinBuffers: EVT_CHANNEL_CONFIG_PROPERTY_ID = 14i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublishingConfigMaxBuffers: EVT_CHANNEL_CONFIG_PROPERTY_ID = 15i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublishingConfigLatency: EVT_CHANNEL_CONFIG_PROPERTY_ID = 16i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublishingConfigClockType: EVT_CHANNEL_CONFIG_PROPERTY_ID = 17i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublishingConfigSidType: EVT_CHANNEL_CONFIG_PROPERTY_ID = 18i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublisherList: EVT_CHANNEL_CONFIG_PROPERTY_ID = 19i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelPublishingConfigFileMax: EVT_CHANNEL_CONFIG_PROPERTY_ID = 20i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelConfigPropertyIdEND: EVT_CHANNEL_CONFIG_PROPERTY_ID = 21i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_CHANNEL_ISOLATION_TYPE = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelIsolationTypeApplication: EVT_CHANNEL_ISOLATION_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelIsolationTypeSystem: EVT_CHANNEL_ISOLATION_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelIsolationTypeCustom: EVT_CHANNEL_ISOLATION_TYPE = 2i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_CHANNEL_REFERENCE_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelReferenceImported: EVT_CHANNEL_REFERENCE_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_CHANNEL_SID_TYPE = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelSidTypeNone: EVT_CHANNEL_SID_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelSidTypePublishing: EVT_CHANNEL_SID_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_CHANNEL_TYPE = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelTypeAdmin: EVT_CHANNEL_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelTypeOperational: EVT_CHANNEL_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelTypeAnalytic: EVT_CHANNEL_TYPE = 2i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtChannelTypeDebug: EVT_CHANNEL_TYPE = 3i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_EVENT_METADATA_PROPERTY_ID = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EventMetadataEventID: EVT_EVENT_METADATA_PROPERTY_ID = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EventMetadataEventVersion: EVT_EVENT_METADATA_PROPERTY_ID = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EventMetadataEventChannel: EVT_EVENT_METADATA_PROPERTY_ID = 2i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EventMetadataEventLevel: EVT_EVENT_METADATA_PROPERTY_ID = 3i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EventMetadataEventOpcode: EVT_EVENT_METADATA_PROPERTY_ID = 4i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EventMetadataEventTask: EVT_EVENT_METADATA_PROPERTY_ID = 5i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EventMetadataEventKeyword: EVT_EVENT_METADATA_PROPERTY_ID = 6i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EventMetadataEventMessageID: EVT_EVENT_METADATA_PROPERTY_ID = 7i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EventMetadataEventTemplate: EVT_EVENT_METADATA_PROPERTY_ID = 8i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtEventMetadataPropertyIdEND: EVT_EVENT_METADATA_PROPERTY_ID = 9i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_EVENT_PROPERTY_ID = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtEventQueryIDs: EVT_EVENT_PROPERTY_ID = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtEventPath: EVT_EVENT_PROPERTY_ID = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtEventPropertyIdEND: EVT_EVENT_PROPERTY_ID = 2i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_EXPORTLOG_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtExportLogChannelPath: EVT_EXPORTLOG_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtExportLogFilePath: EVT_EXPORTLOG_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtExportLogTolerateQueryErrors: EVT_EXPORTLOG_FLAGS = 4096u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtExportLogOverwrite: EVT_EXPORTLOG_FLAGS = 8192u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_FORMAT_MESSAGE_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtFormatMessageEvent: EVT_FORMAT_MESSAGE_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtFormatMessageLevel: EVT_FORMAT_MESSAGE_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtFormatMessageTask: EVT_FORMAT_MESSAGE_FLAGS = 3u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtFormatMessageOpcode: EVT_FORMAT_MESSAGE_FLAGS = 4u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtFormatMessageKeyword: EVT_FORMAT_MESSAGE_FLAGS = 5u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtFormatMessageChannel: EVT_FORMAT_MESSAGE_FLAGS = 6u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtFormatMessageProvider: EVT_FORMAT_MESSAGE_FLAGS = 7u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtFormatMessageId: EVT_FORMAT_MESSAGE_FLAGS = 8u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtFormatMessageXml: EVT_FORMAT_MESSAGE_FLAGS = 9u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_LOGIN_CLASS = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRpcLogin: EVT_LOGIN_CLASS = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_LOG_PROPERTY_ID = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtLogCreationTime: EVT_LOG_PROPERTY_ID = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtLogLastAccessTime: EVT_LOG_PROPERTY_ID = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtLogLastWriteTime: EVT_LOG_PROPERTY_ID = 2i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtLogFileSize: EVT_LOG_PROPERTY_ID = 3i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtLogAttributes: EVT_LOG_PROPERTY_ID = 4i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtLogNumberOfLogRecords: EVT_LOG_PROPERTY_ID = 5i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtLogOldestRecordNumber: EVT_LOG_PROPERTY_ID = 6i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtLogFull: EVT_LOG_PROPERTY_ID = 7i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_OPEN_LOG_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtOpenChannelPath: EVT_OPEN_LOG_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtOpenFilePath: EVT_OPEN_LOG_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_PUBLISHER_METADATA_PROPERTY_ID = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataPublisherGuid: EVT_PUBLISHER_METADATA_PROPERTY_ID = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataResourceFilePath: EVT_PUBLISHER_METADATA_PROPERTY_ID = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataParameterFilePath: EVT_PUBLISHER_METADATA_PROPERTY_ID = 2i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataMessageFilePath: EVT_PUBLISHER_METADATA_PROPERTY_ID = 3i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataHelpLink: EVT_PUBLISHER_METADATA_PROPERTY_ID = 4i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataPublisherMessageID: EVT_PUBLISHER_METADATA_PROPERTY_ID = 5i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataChannelReferences: EVT_PUBLISHER_METADATA_PROPERTY_ID = 6i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataChannelReferencePath: EVT_PUBLISHER_METADATA_PROPERTY_ID = 7i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataChannelReferenceIndex: EVT_PUBLISHER_METADATA_PROPERTY_ID = 8i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataChannelReferenceID: EVT_PUBLISHER_METADATA_PROPERTY_ID = 9i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataChannelReferenceFlags: EVT_PUBLISHER_METADATA_PROPERTY_ID = 10i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataChannelReferenceMessageID: EVT_PUBLISHER_METADATA_PROPERTY_ID = 11i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataLevels: EVT_PUBLISHER_METADATA_PROPERTY_ID = 12i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataLevelName: EVT_PUBLISHER_METADATA_PROPERTY_ID = 13i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataLevelValue: EVT_PUBLISHER_METADATA_PROPERTY_ID = 14i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataLevelMessageID: EVT_PUBLISHER_METADATA_PROPERTY_ID = 15i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataTasks: EVT_PUBLISHER_METADATA_PROPERTY_ID = 16i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataTaskName: EVT_PUBLISHER_METADATA_PROPERTY_ID = 17i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataTaskEventGuid: EVT_PUBLISHER_METADATA_PROPERTY_ID = 18i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataTaskValue: EVT_PUBLISHER_METADATA_PROPERTY_ID = 19i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataTaskMessageID: EVT_PUBLISHER_METADATA_PROPERTY_ID = 20i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataOpcodes: EVT_PUBLISHER_METADATA_PROPERTY_ID = 21i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataOpcodeName: EVT_PUBLISHER_METADATA_PROPERTY_ID = 22i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataOpcodeValue: EVT_PUBLISHER_METADATA_PROPERTY_ID = 23i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataOpcodeMessageID: EVT_PUBLISHER_METADATA_PROPERTY_ID = 24i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataKeywords: EVT_PUBLISHER_METADATA_PROPERTY_ID = 25i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataKeywordName: EVT_PUBLISHER_METADATA_PROPERTY_ID = 26i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataKeywordValue: EVT_PUBLISHER_METADATA_PROPERTY_ID = 27i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataKeywordMessageID: EVT_PUBLISHER_METADATA_PROPERTY_ID = 28i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtPublisherMetadataPropertyIdEND: EVT_PUBLISHER_METADATA_PROPERTY_ID = 29i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_QUERY_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtQueryChannelPath: EVT_QUERY_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtQueryFilePath: EVT_QUERY_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtQueryForwardDirection: EVT_QUERY_FLAGS = 256u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtQueryReverseDirection: EVT_QUERY_FLAGS = 512u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtQueryTolerateQueryErrors: EVT_QUERY_FLAGS = 4096u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_QUERY_PROPERTY_ID = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtQueryNames: EVT_QUERY_PROPERTY_ID = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtQueryStatuses: EVT_QUERY_PROPERTY_ID = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtQueryPropertyIdEND: EVT_QUERY_PROPERTY_ID = 2i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_RENDER_CONTEXT_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRenderContextValues: EVT_RENDER_CONTEXT_FLAGS = 0u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRenderContextSystem: EVT_RENDER_CONTEXT_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRenderContextUser: EVT_RENDER_CONTEXT_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_RENDER_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRenderEventValues: EVT_RENDER_FLAGS = 0u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRenderEventXml: EVT_RENDER_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRenderBookmark: EVT_RENDER_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_RPC_LOGIN_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRpcLoginAuthDefault: EVT_RPC_LOGIN_FLAGS = 0u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRpcLoginAuthNegotiate: EVT_RPC_LOGIN_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRpcLoginAuthKerberos: EVT_RPC_LOGIN_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtRpcLoginAuthNTLM: EVT_RPC_LOGIN_FLAGS = 3u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_SEEK_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSeekRelativeToFirst: EVT_SEEK_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSeekRelativeToLast: EVT_SEEK_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSeekRelativeToCurrent: EVT_SEEK_FLAGS = 3u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSeekRelativeToBookmark: EVT_SEEK_FLAGS = 4u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSeekOriginMask: EVT_SEEK_FLAGS = 7u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSeekStrict: EVT_SEEK_FLAGS = 65536u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_SUBSCRIBE_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSubscribeToFutureEvents: EVT_SUBSCRIBE_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSubscribeStartAtOldestRecord: EVT_SUBSCRIBE_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSubscribeStartAfterBookmark: EVT_SUBSCRIBE_FLAGS = 3u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSubscribeOriginMask: EVT_SUBSCRIBE_FLAGS = 3u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSubscribeTolerateQueryErrors: EVT_SUBSCRIBE_FLAGS = 4096u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSubscribeStrict: EVT_SUBSCRIBE_FLAGS = 65536u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_SUBSCRIBE_NOTIFY_ACTION = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSubscribeActionError: EVT_SUBSCRIBE_NOTIFY_ACTION = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSubscribeActionDeliver: EVT_SUBSCRIBE_NOTIFY_ACTION = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_SYSTEM_PROPERTY_ID = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemProviderName: EVT_SYSTEM_PROPERTY_ID = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemProviderGuid: EVT_SYSTEM_PROPERTY_ID = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemEventID: EVT_SYSTEM_PROPERTY_ID = 2i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemQualifiers: EVT_SYSTEM_PROPERTY_ID = 3i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemLevel: EVT_SYSTEM_PROPERTY_ID = 4i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemTask: EVT_SYSTEM_PROPERTY_ID = 5i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemOpcode: EVT_SYSTEM_PROPERTY_ID = 6i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemKeywords: EVT_SYSTEM_PROPERTY_ID = 7i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemTimeCreated: EVT_SYSTEM_PROPERTY_ID = 8i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemEventRecordId: EVT_SYSTEM_PROPERTY_ID = 9i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemActivityID: EVT_SYSTEM_PROPERTY_ID = 10i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemRelatedActivityID: EVT_SYSTEM_PROPERTY_ID = 11i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemProcessID: EVT_SYSTEM_PROPERTY_ID = 12i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemThreadID: EVT_SYSTEM_PROPERTY_ID = 13i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemChannel: EVT_SYSTEM_PROPERTY_ID = 14i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemComputer: EVT_SYSTEM_PROPERTY_ID = 15i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemUserID: EVT_SYSTEM_PROPERTY_ID = 16i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemVersion: EVT_SYSTEM_PROPERTY_ID = 17i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtSystemPropertyIdEND: EVT_SYSTEM_PROPERTY_ID = 18i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_VARIANT_TYPE = i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeNull: EVT_VARIANT_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeString: EVT_VARIANT_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeAnsiString: EVT_VARIANT_TYPE = 2i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeSByte: EVT_VARIANT_TYPE = 3i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeByte: EVT_VARIANT_TYPE = 4i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeInt16: EVT_VARIANT_TYPE = 5i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeUInt16: EVT_VARIANT_TYPE = 6i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeInt32: EVT_VARIANT_TYPE = 7i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeUInt32: EVT_VARIANT_TYPE = 8i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeInt64: EVT_VARIANT_TYPE = 9i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeUInt64: EVT_VARIANT_TYPE = 10i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeSingle: EVT_VARIANT_TYPE = 11i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeDouble: EVT_VARIANT_TYPE = 12i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeBoolean: EVT_VARIANT_TYPE = 13i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeBinary: EVT_VARIANT_TYPE = 14i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeGuid: EVT_VARIANT_TYPE = 15i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeSizeT: EVT_VARIANT_TYPE = 16i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeFileTime: EVT_VARIANT_TYPE = 17i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeSysTime: EVT_VARIANT_TYPE = 18i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeSid: EVT_VARIANT_TYPE = 19i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeHexInt32: EVT_VARIANT_TYPE = 20i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeHexInt64: EVT_VARIANT_TYPE = 21i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeEvtHandle: EVT_VARIANT_TYPE = 32i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EvtVarTypeEvtXml: EVT_VARIANT_TYPE = 35i32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type READ_EVENT_LOG_READ_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVENTLOG_SEEK_READ: READ_EVENT_LOG_READ_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVENTLOG_SEQUENTIAL_READ: READ_EVENT_LOG_READ_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type REPORT_EVENT_TYPE = u16; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVENTLOG_SUCCESS: REPORT_EVENT_TYPE = 0u16; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVENTLOG_AUDIT_FAILURE: REPORT_EVENT_TYPE = 16u16; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVENTLOG_AUDIT_SUCCESS: REPORT_EVENT_TYPE = 8u16; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVENTLOG_ERROR_TYPE: REPORT_EVENT_TYPE = 1u16; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVENTLOG_INFORMATION_TYPE: REPORT_EVENT_TYPE = 4u16; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub const EVENTLOG_WARNING_TYPE: REPORT_EVENT_TYPE = 2u16; +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub struct EVENTLOGRECORD { + pub Length: u32, + pub Reserved: u32, + pub RecordNumber: u32, + pub TimeGenerated: u32, + pub TimeWritten: u32, + pub EventID: u32, + pub EventType: REPORT_EVENT_TYPE, + pub NumStrings: u16, + pub EventCategory: u16, + pub ReservedFlags: u16, + pub ClosingRecordNumber: u32, + pub StringOffset: u32, + pub UserSidLength: u32, + pub UserSidOffset: u32, + pub DataLength: u32, + pub DataOffset: u32, +} +impl ::core::marker::Copy for EVENTLOGRECORD {} +impl ::core::clone::Clone for EVENTLOGRECORD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub struct EVENTLOG_FULL_INFORMATION { + pub dwFull: u32, +} +impl ::core::marker::Copy for EVENTLOG_FULL_INFORMATION {} +impl ::core::clone::Clone for EVENTLOG_FULL_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub struct EVENTSFORLOGFILE { + pub ulSize: u32, + pub szLogicalLogFile: [u16; 256], + pub ulNumRecords: u32, + pub pEventLogRecords: [EVENTLOGRECORD; 1], +} +impl ::core::marker::Copy for EVENTSFORLOGFILE {} +impl ::core::clone::Clone for EVENTSFORLOGFILE { + fn clone(&self) -> Self { + *self + } +} +pub type EVT_HANDLE = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub struct EVT_RPC_LOGIN { + pub Server: ::windows_sys::core::PWSTR, + pub User: ::windows_sys::core::PWSTR, + pub Domain: ::windows_sys::core::PWSTR, + pub Password: ::windows_sys::core::PWSTR, + pub Flags: u32, +} +impl ::core::marker::Copy for EVT_RPC_LOGIN {} +impl ::core::clone::Clone for EVT_RPC_LOGIN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct EVT_VARIANT { + pub Anonymous: EVT_VARIANT_0, + pub Count: u32, + pub Type: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for EVT_VARIANT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for EVT_VARIANT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_EventLog\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub union EVT_VARIANT_0 { + pub BooleanVal: super::super::Foundation::BOOL, + pub SByteVal: i8, + pub Int16Val: i16, + pub Int32Val: i32, + pub Int64Val: i64, + pub ByteVal: u8, + pub UInt16Val: u16, + pub UInt32Val: u32, + pub UInt64Val: u64, + pub SingleVal: f32, + pub DoubleVal: f64, + pub FileTimeVal: u64, + pub SysTimeVal: *mut super::super::Foundation::SYSTEMTIME, + pub GuidVal: *mut ::windows_sys::core::GUID, + pub StringVal: ::windows_sys::core::PCWSTR, + pub AnsiStringVal: ::windows_sys::core::PCSTR, + pub BinaryVal: *mut u8, + pub SidVal: super::super::Foundation::PSID, + pub SizeTVal: usize, + pub BooleanArr: *mut super::super::Foundation::BOOL, + pub SByteArr: *mut i8, + pub Int16Arr: *mut i16, + pub Int32Arr: *mut i32, + pub Int64Arr: *mut i64, + pub ByteArr: *mut u8, + pub UInt16Arr: *mut u16, + pub UInt32Arr: *mut u32, + pub UInt64Arr: *mut u64, + pub SingleArr: *mut f32, + pub DoubleArr: *mut f64, + pub FileTimeArr: *mut super::super::Foundation::FILETIME, + pub SysTimeArr: *mut super::super::Foundation::SYSTEMTIME, + pub GuidArr: *mut ::windows_sys::core::GUID, + pub StringArr: *mut ::windows_sys::core::PWSTR, + pub AnsiStringArr: *mut ::windows_sys::core::PSTR, + pub SidArr: *mut super::super::Foundation::PSID, + pub SizeTArr: *mut usize, + pub EvtHandleVal: EVT_HANDLE, + pub XmlVal: ::windows_sys::core::PCWSTR, + pub XmlValArr: *mut ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for EVT_VARIANT_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for EVT_VARIANT_0 { + fn clone(&self) -> Self { + *self + } +} +pub type EventLogHandle = isize; +pub type EventSourceHandle = isize; +#[doc = "*Required features: `\"Win32_System_EventLog\"`*"] +pub type EVT_SUBSCRIBE_CALLBACK = ::core::option::Option u32>; -- cgit v1.2.3