blob: 4588cfb91d117a301ae14a58f41a3f8c70201e84 [file] [log] [blame]
#[doc = "*Required features: `\"Win32_System_DeveloperLicensing\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn AcquireDeveloperLicense<P0>(hwndparent: P0) -> ::windows::core::Result<super::super::Foundation::FILETIME>
where
P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
{
::windows_targets::link ! ( "wsclient.dll""system" fn AcquireDeveloperLicense ( hwndparent : super::super::Foundation:: HWND , pexpiration : *mut super::super::Foundation:: FILETIME ) -> ::windows::core::HRESULT );
let mut result__ = ::windows::core::zeroed::<super::super::Foundation::FILETIME>();
AcquireDeveloperLicense(hwndparent.into_param().abi(), &mut result__).from_abi(result__)
}
#[doc = "*Required features: `\"Win32_System_DeveloperLicensing\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn CheckDeveloperLicense() -> ::windows::core::Result<super::super::Foundation::FILETIME> {
::windows_targets::link ! ( "wsclient.dll""system" fn CheckDeveloperLicense ( pexpiration : *mut super::super::Foundation:: FILETIME ) -> ::windows::core::HRESULT );
let mut result__ = ::windows::core::zeroed::<super::super::Foundation::FILETIME>();
CheckDeveloperLicense(&mut result__).from_abi(result__)
}
#[doc = "*Required features: `\"Win32_System_DeveloperLicensing\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RemoveDeveloperLicense<P0>(hwndparent: P0) -> ::windows::core::Result<()>
where
P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
{
::windows_targets::link ! ( "wsclient.dll""system" fn RemoveDeveloperLicense ( hwndparent : super::super::Foundation:: HWND ) -> ::windows::core::HRESULT );
RemoveDeveloperLicense(hwndparent.into_param().abi()).ok()
}
#[cfg(feature = "implement")]
::core::include!("impl.rs");