diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
commit | 4e8199b572f2035b7749cba276ece3a26630d23e (patch) | |
tree | f09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Win32/System/Mapi/mod.rs | |
parent | Adding upstream version 1.66.0+dfsg1. (diff) | |
download | rustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip |
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/Mapi/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/System/Mapi/mod.rs | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/Mapi/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/Mapi/mod.rs index 33b387e74..07751ccf1 100644 --- a/vendor/windows-sys/src/Windows/Win32/System/Mapi/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/System/Mapi/mod.rs @@ -1,35 +1,9 @@ -#[link(name = "windows")] +#[cfg_attr(windows, link(name = "windows"))] extern "system" { #[doc = "*Required features: `\"Win32_System_Mapi\"`*"] pub fn MAPIFreeBuffer(pv: *mut ::core::ffi::c_void) -> u32; } #[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPIADDRESS = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpszcaption: ::windows_sys::core::PCSTR, neditfields: u32, lpszlabels: ::windows_sys::core::PCSTR, nrecips: u32, lprecips: *mut MapiRecipDesc, flflags: u32, ulreserved: u32, lpnnewrecips: *mut u32, lppnewrecips: *mut *mut MapiRecipDesc) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPIDELETEMAIL = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpszmessageid: ::windows_sys::core::PCSTR, flflags: u32, ulreserved: u32) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPIDETAILS = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lprecip: *mut MapiRecipDesc, flflags: u32, ulreserved: u32) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPIFINDNEXT = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpszmessagetype: ::windows_sys::core::PCSTR, lpszseedmessageid: ::windows_sys::core::PCSTR, flflags: u32, ulreserved: u32, lpszmessageid: ::windows_sys::core::PCSTR) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPIFREEBUFFER = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPILOGOFF = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, flflags: u32, ulreserved: u32) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPILOGON = ::core::option::Option<unsafe extern "system" fn(uluiparam: usize, lpszprofilename: ::windows_sys::core::PCSTR, lpszpassword: ::windows_sys::core::PCSTR, flflags: u32, ulreserved: u32, lplhsession: *mut usize) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPIREADMAIL = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpszmessageid: ::windows_sys::core::PCSTR, flflags: u32, ulreserved: u32, lppmessage: *mut *mut MapiMessage) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPIRESOLVENAME = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpszname: ::windows_sys::core::PCSTR, flflags: u32, ulreserved: u32, lpprecip: *mut *mut MapiRecipDesc) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPISAVEMAIL = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpmessage: *mut MapiMessage, flflags: u32, ulreserved: u32, lpszmessageid: ::windows_sys::core::PCSTR) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPISENDDOCUMENTS = ::core::option::Option<unsafe extern "system" fn(uluiparam: usize, lpszdelimchar: ::windows_sys::core::PCSTR, lpszfilepaths: ::windows_sys::core::PCSTR, lpszfilenames: ::windows_sys::core::PCSTR, ulreserved: u32) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPISENDMAIL = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpmessage: *mut MapiMessage, flflags: u32, ulreserved: u32) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub type LPMAPISENDMAILW = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpmessage: *const MapiMessageW, flflags: u32, ulreserved: u32) -> u32>; -#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] pub const MAPI_AB_NOMODIFY: u32 = 1024u32; #[doc = "*Required features: `\"Win32_System_Mapi\"`*"] pub const MAPI_BCC: u32 = 3u32; @@ -137,6 +111,8 @@ pub const MAPI_UNREAD: u32 = 1u32; pub const MAPI_UNREAD_ONLY: u32 = 32u32; #[doc = "*Required features: `\"Win32_System_Mapi\"`*"] pub const MAPI_USER_ABORT: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub const SUCCESS_SUCCESS: u32 = 0u32; #[repr(C)] #[doc = "*Required features: `\"Win32_System_Mapi\"`*"] pub struct MapiFileDesc { @@ -261,4 +237,28 @@ impl ::core::clone::Clone for MapiRecipDescW { } } #[doc = "*Required features: `\"Win32_System_Mapi\"`*"] -pub const SUCCESS_SUCCESS: u32 = 0u32; +pub type LPMAPIADDRESS = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpszcaption: ::windows_sys::core::PCSTR, neditfields: u32, lpszlabels: ::windows_sys::core::PCSTR, nrecips: u32, lprecips: *mut MapiRecipDesc, flflags: u32, ulreserved: u32, lpnnewrecips: *mut u32, lppnewrecips: *mut *mut MapiRecipDesc) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPIDELETEMAIL = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpszmessageid: ::windows_sys::core::PCSTR, flflags: u32, ulreserved: u32) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPIDETAILS = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lprecip: *mut MapiRecipDesc, flflags: u32, ulreserved: u32) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPIFINDNEXT = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpszmessagetype: ::windows_sys::core::PCSTR, lpszseedmessageid: ::windows_sys::core::PCSTR, flflags: u32, ulreserved: u32, lpszmessageid: ::windows_sys::core::PCSTR) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPIFREEBUFFER = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPILOGOFF = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, flflags: u32, ulreserved: u32) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPILOGON = ::core::option::Option<unsafe extern "system" fn(uluiparam: usize, lpszprofilename: ::windows_sys::core::PCSTR, lpszpassword: ::windows_sys::core::PCSTR, flflags: u32, ulreserved: u32, lplhsession: *mut usize) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPIREADMAIL = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpszmessageid: ::windows_sys::core::PCSTR, flflags: u32, ulreserved: u32, lppmessage: *mut *mut MapiMessage) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPIRESOLVENAME = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpszname: ::windows_sys::core::PCSTR, flflags: u32, ulreserved: u32, lpprecip: *mut *mut MapiRecipDesc) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPISAVEMAIL = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpmessage: *mut MapiMessage, flflags: u32, ulreserved: u32, lpszmessageid: ::windows_sys::core::PCSTR) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPISENDDOCUMENTS = ::core::option::Option<unsafe extern "system" fn(uluiparam: usize, lpszdelimchar: ::windows_sys::core::PCSTR, lpszfilepaths: ::windows_sys::core::PCSTR, lpszfilenames: ::windows_sys::core::PCSTR, ulreserved: u32) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPISENDMAIL = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpmessage: *mut MapiMessage, flflags: u32, ulreserved: u32) -> u32>; +#[doc = "*Required features: `\"Win32_System_Mapi\"`*"] +pub type LPMAPISENDMAILW = ::core::option::Option<unsafe extern "system" fn(lhsession: usize, uluiparam: usize, lpmessage: *const MapiMessageW, flflags: u32, ulreserved: u32) -> u32>; |