| 1 |
::windows_targets::link!("msdrm.dll" "system" fn DRMAcquireAdvisories(hlicensestorage : u32, wszlicense : ::windows_sys::core::PCWSTR, wszurl : ::windows_sys::core::PCWSTR, pvcontext : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); |
| 2 |
::windows_targets::link!("msdrm.dll" "system" fn DRMAcquireIssuanceLicenseTemplate(hclient : u32, uflags : u32, pvreserved : *mut ::core::ffi::c_void, ctemplates : u32, pwsztemplateids : *const ::windows_sys::core::PCWSTR, wszurl : ::windows_sys::core::PCWSTR, pvcontext : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); |
| 3 |
::windows_targets::link!("msdrm.dll" "system" fn DRMAcquireLicense(hsession : u32, uflags : u32, wszgroupidentitycredential : ::windows_sys::core::PCWSTR, wszrequestedrights : ::windows_sys::core::PCWSTR, wszcustomdata : ::windows_sys::core::PCWSTR, wszurl : ::windows_sys::core::PCWSTR, pvcontext : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); |
| 4 |
#[cfg(feature = "Win32_Foundation")] |
| 5 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMActivate(hclient : u32, uflags : u32, ulangid : u32, pactservinfo : *mut DRM_ACTSERV_INFO, pvcontext : *mut ::core::ffi::c_void, hparentwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); |
| 6 |
::windows_targets::link!("msdrm.dll" "system" fn DRMAddLicense(hlicensestorage : u32, uflags : u32, wszlicense : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 7 |
::windows_targets::link!("msdrm.dll" "system" fn DRMAddRightWithUser(hissuancelicense : u32, hright : u32, huser : u32) -> ::windows_sys::core::HRESULT); |
| 8 |
::windows_targets::link!("msdrm.dll" "system" fn DRMAttest(henablingprincipal : u32, wszdata : ::windows_sys::core::PCWSTR, etype : DRMATTESTTYPE, pcattestedblob : *mut u32, wszattestedblob : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 9 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCheckSecurity(henv : u32, clevel : u32) -> ::windows_sys::core::HRESULT); |
| 10 |
::windows_targets::link!("msdrm.dll" "system" fn DRMClearAllRights(hissuancelicense : u32) -> ::windows_sys::core::HRESULT); |
| 11 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCloseEnvironmentHandle(henv : u32) -> ::windows_sys::core::HRESULT); |
| 12 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCloseHandle(handle : u32) -> ::windows_sys::core::HRESULT); |
| 13 |
::windows_targets::link!("msdrm.dll" "system" fn DRMClosePubHandle(hpub : u32) -> ::windows_sys::core::HRESULT); |
| 14 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCloseQueryHandle(hquery : u32) -> ::windows_sys::core::HRESULT); |
| 15 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCloseSession(hsession : u32) -> ::windows_sys::core::HRESULT); |
| 16 |
::windows_targets::link!("msdrm.dll" "system" fn DRMConstructCertificateChain(ccertificates : u32, rgwszcertificates : *const ::windows_sys::core::PCWSTR, pcchain : *mut u32, wszchain : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 17 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateBoundLicense(henv : u32, pparams : *mut DRMBOUNDLICENSEPARAMS, wszlicensechain : ::windows_sys::core::PCWSTR, phboundlicense : *mut u32, pherrorlog : *mut u32) -> ::windows_sys::core::HRESULT); |
| 18 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateClientSession(pfncallback : DRMCALLBACK, ucallbackversion : u32, wszgroupidprovidertype : ::windows_sys::core::PCWSTR, wszgroupid : ::windows_sys::core::PCWSTR, phclient : *mut u32) -> ::windows_sys::core::HRESULT); |
| 19 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateEnablingBitsDecryptor(hboundlicense : u32, wszright : ::windows_sys::core::PCWSTR, hauxlib : u32, wszauxplug : ::windows_sys::core::PCWSTR, phdecryptor : *mut u32) -> ::windows_sys::core::HRESULT); |
| 20 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateEnablingBitsEncryptor(hboundlicense : u32, wszright : ::windows_sys::core::PCWSTR, hauxlib : u32, wszauxplug : ::windows_sys::core::PCWSTR, phencryptor : *mut u32) -> ::windows_sys::core::HRESULT); |
| 21 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateEnablingPrincipal(henv : u32, hlibrary : u32, wszobject : ::windows_sys::core::PCWSTR, pidprincipal : *mut DRMID, wszcredentials : ::windows_sys::core::PCWSTR, phenablingprincipal : *mut u32) -> ::windows_sys::core::HRESULT); |
| 22 |
#[cfg(feature = "Win32_Foundation")] |
| 23 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMCreateIssuanceLicense(psttimefrom : *mut super::super::Foundation:: SYSTEMTIME, psttimeuntil : *mut super::super::Foundation:: SYSTEMTIME, wszreferralinfoname : ::windows_sys::core::PCWSTR, wszreferralinfourl : ::windows_sys::core::PCWSTR, howner : u32, wszissuancelicense : ::windows_sys::core::PCWSTR, hboundlicense : u32, phissuancelicense : *mut u32) -> ::windows_sys::core::HRESULT); |
| 24 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateLicenseStorageSession(henv : u32, hdefaultlibrary : u32, hclient : u32, uflags : u32, wszissuancelicense : ::windows_sys::core::PCWSTR, phlicensestorage : *mut u32) -> ::windows_sys::core::HRESULT); |
| 25 |
#[cfg(feature = "Win32_Foundation")] |
| 26 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMCreateRight(wszrightname : ::windows_sys::core::PCWSTR, pstfrom : *mut super::super::Foundation:: SYSTEMTIME, pstuntil : *mut super::super::Foundation:: SYSTEMTIME, cextendedinfo : u32, pwszextendedinfoname : *const ::windows_sys::core::PCWSTR, pwszextendedinfovalue : *const ::windows_sys::core::PCWSTR, phright : *mut u32) -> ::windows_sys::core::HRESULT); |
| 27 |
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateUser(wszusername : ::windows_sys::core::PCWSTR, wszuserid : ::windows_sys::core::PCWSTR, wszuseridtype : ::windows_sys::core::PCWSTR, phuser : *mut u32) -> ::windows_sys::core::HRESULT); |
| 28 |
::windows_targets::link!("msdrm.dll" "system" fn DRMDecode(wszalgid : ::windows_sys::core::PCWSTR, wszencodedstring : ::windows_sys::core::PCWSTR, pudecodeddatalen : *mut u32, pbdecodeddata : *mut u8) -> ::windows_sys::core::HRESULT); |
| 29 |
::windows_targets::link!("msdrm.dll" "system" fn DRMDeconstructCertificateChain(wszchain : ::windows_sys::core::PCWSTR, iwhich : u32, pccert : *mut u32, wszcert : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 30 |
::windows_targets::link!("msdrm.dll" "system" fn DRMDecrypt(hcryptoprovider : u32, iposition : u32, cnuminbytes : u32, pbindata : *mut u8, pcnumoutbytes : *mut u32, pboutdata : *mut u8) -> ::windows_sys::core::HRESULT); |
| 31 |
::windows_targets::link!("msdrm.dll" "system" fn DRMDeleteLicense(hsession : u32, wszlicenseid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 32 |
::windows_targets::link!("msdrm.dll" "system" fn DRMDuplicateEnvironmentHandle(htocopy : u32, phcopy : *mut u32) -> ::windows_sys::core::HRESULT); |
| 33 |
::windows_targets::link!("msdrm.dll" "system" fn DRMDuplicateHandle(htocopy : u32, phcopy : *mut u32) -> ::windows_sys::core::HRESULT); |
| 34 |
::windows_targets::link!("msdrm.dll" "system" fn DRMDuplicatePubHandle(hpubin : u32, phpubout : *mut u32) -> ::windows_sys::core::HRESULT); |
| 35 |
::windows_targets::link!("msdrm.dll" "system" fn DRMDuplicateSession(hsessionin : u32, phsessionout : *mut u32) -> ::windows_sys::core::HRESULT); |
| 36 |
::windows_targets::link!("msdrm.dll" "system" fn DRMEncode(wszalgid : ::windows_sys::core::PCWSTR, udatalen : u32, pbdecodeddata : *mut u8, puencodedstringlen : *mut u32, wszencodedstring : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 37 |
::windows_targets::link!("msdrm.dll" "system" fn DRMEncrypt(hcryptoprovider : u32, iposition : u32, cnuminbytes : u32, pbindata : *mut u8, pcnumoutbytes : *mut u32, pboutdata : *mut u8) -> ::windows_sys::core::HRESULT); |
| 38 |
#[cfg(feature = "Win32_Foundation")] |
| 39 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMEnumerateLicense(hsession : u32, uflags : u32, uindex : u32, pfsharedflag : *mut super::super::Foundation:: BOOL, pucertificatedatalen : *mut u32, wszcertificatedata : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 40 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetApplicationSpecificData(hissuancelicense : u32, uindex : u32, punamelength : *mut u32, wszname : ::windows_sys::core::PWSTR, puvaluelength : *mut u32, wszvalue : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 41 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetBoundLicenseAttribute(hqueryroot : u32, wszattribute : ::windows_sys::core::PCWSTR, iwhich : u32, peencoding : *mut DRMENCODINGTYPE, pcbuffer : *mut u32, pbbuffer : *mut u8) -> ::windows_sys::core::HRESULT); |
| 42 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetBoundLicenseAttributeCount(hqueryroot : u32, wszattribute : ::windows_sys::core::PCWSTR, pcattributes : *mut u32) -> ::windows_sys::core::HRESULT); |
| 43 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetBoundLicenseObject(hqueryroot : u32, wszsubobjecttype : ::windows_sys::core::PCWSTR, iwhich : u32, phsubobject : *mut u32) -> ::windows_sys::core::HRESULT); |
| 44 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetBoundLicenseObjectCount(hqueryroot : u32, wszsubobjecttype : ::windows_sys::core::PCWSTR, pcsubobjects : *mut u32) -> ::windows_sys::core::HRESULT); |
| 45 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetCertificateChainCount(wszchain : ::windows_sys::core::PCWSTR, pccertcount : *mut u32) -> ::windows_sys::core::HRESULT); |
| 46 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetClientVersion(pdrmclientversioninfo : *mut DRM_CLIENT_VERSION_INFO) -> ::windows_sys::core::HRESULT); |
| 47 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetEnvironmentInfo(handle : u32, wszattribute : ::windows_sys::core::PCWSTR, peencoding : *mut DRMENCODINGTYPE, pcbuffer : *mut u32, pbbuffer : *mut u8) -> ::windows_sys::core::HRESULT); |
| 48 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetInfo(handle : u32, wszattribute : ::windows_sys::core::PCWSTR, peencoding : *const DRMENCODINGTYPE, pcbuffer : *mut u32, pbbuffer : *mut u8) -> ::windows_sys::core::HRESULT); |
| 49 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetIntervalTime(hissuancelicense : u32, pcdays : *mut u32) -> ::windows_sys::core::HRESULT); |
| 50 |
#[cfg(feature = "Win32_Foundation")] |
| 51 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetIssuanceLicenseInfo(hissuancelicense : u32, psttimefrom : *mut super::super::Foundation:: SYSTEMTIME, psttimeuntil : *mut super::super::Foundation:: SYSTEMTIME, uflags : u32, pudistributionpointnamelength : *mut u32, wszdistributionpointname : ::windows_sys::core::PWSTR, pudistributionpointurllength : *mut u32, wszdistributionpointurl : ::windows_sys::core::PWSTR, phowner : *mut u32, pfofficial : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); |
| 52 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetIssuanceLicenseTemplate(hissuancelicense : u32, puissuancelicensetemplatelength : *mut u32, wszissuancelicensetemplate : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 53 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetMetaData(hissuancelicense : u32, pucontentidlength : *mut u32, wszcontentid : ::windows_sys::core::PWSTR, pucontentidtypelength : *mut u32, wszcontentidtype : ::windows_sys::core::PWSTR, puskuidlength : *mut u32, wszskuid : ::windows_sys::core::PWSTR, puskuidtypelength : *mut u32, wszskuidtype : ::windows_sys::core::PWSTR, pucontenttypelength : *mut u32, wszcontenttype : ::windows_sys::core::PWSTR, pucontentnamelength : *mut u32, wszcontentname : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 54 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetNameAndDescription(hissuancelicense : u32, uindex : u32, pulcid : *mut u32, punamelength : *mut u32, wszname : ::windows_sys::core::PWSTR, pudescriptionlength : *mut u32, wszdescription : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 55 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetOwnerLicense(hissuancelicense : u32, puownerlicenselength : *mut u32, wszownerlicense : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 56 |
#[cfg(feature = "Win32_Foundation")] |
| 57 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetProcAddress(hlibrary : u32, wszprocname : ::windows_sys::core::PCWSTR, ppfnprocaddress : *mut super::super::Foundation:: FARPROC) -> ::windows_sys::core::HRESULT); |
| 58 |
#[cfg(feature = "Win32_Foundation")] |
| 59 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetRevocationPoint(hissuancelicense : u32, puidlength : *mut u32, wszid : ::windows_sys::core::PWSTR, puidtypelength : *mut u32, wszidtype : ::windows_sys::core::PWSTR, puurllength : *mut u32, wszrl : ::windows_sys::core::PWSTR, pstfrequency : *mut super::super::Foundation:: SYSTEMTIME, punamelength : *mut u32, wszname : ::windows_sys::core::PWSTR, pupublickeylength : *mut u32, wszpublickey : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 60 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetRightExtendedInfo(hright : u32, uindex : u32, puextendedinfonamelength : *mut u32, wszextendedinfoname : ::windows_sys::core::PWSTR, puextendedinfovaluelength : *mut u32, wszextendedinfovalue : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 61 |
#[cfg(feature = "Win32_Foundation")] |
| 62 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetRightInfo(hright : u32, purightnamelength : *mut u32, wszrightname : ::windows_sys::core::PWSTR, pstfrom : *mut super::super::Foundation:: SYSTEMTIME, pstuntil : *mut super::super::Foundation:: SYSTEMTIME) -> ::windows_sys::core::HRESULT); |
| 63 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetSecurityProvider(uflags : u32, putypelen : *mut u32, wsztype : ::windows_sys::core::PWSTR, pupathlen : *mut u32, wszpath : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 64 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetServiceLocation(hclient : u32, uservicetype : u32, uservicelocation : u32, wszissuancelicense : ::windows_sys::core::PCWSTR, puserviceurllength : *mut u32, wszserviceurl : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 65 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetSignedIssuanceLicense(henv : u32, hissuancelicense : u32, uflags : u32, pbsymkey : *mut u8, cbsymkey : u32, wszsymkeytype : ::windows_sys::core::PCWSTR, wszclientlicensorcertificate : ::windows_sys::core::PCWSTR, pfncallback : DRMCALLBACK, wszurl : ::windows_sys::core::PCWSTR, pvcontext : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); |
| 66 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetSignedIssuanceLicenseEx(henv : u32, hissuancelicense : u32, uflags : u32, pbsymkey : *const u8, cbsymkey : u32, wszsymkeytype : ::windows_sys::core::PCWSTR, pvreserved : *const ::core::ffi::c_void, henablingprincipal : u32, hboundlicenseclc : u32, pfncallback : DRMCALLBACK, pvcontext : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); |
| 67 |
#[cfg(feature = "Win32_Foundation")] |
| 68 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetTime(henv : u32, etimeridtype : DRMTIMETYPE, potimeobject : *mut super::super::Foundation:: SYSTEMTIME) -> ::windows_sys::core::HRESULT); |
| 69 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUnboundLicenseAttribute(hqueryroot : u32, wszattributetype : ::windows_sys::core::PCWSTR, iwhich : u32, peencoding : *mut DRMENCODINGTYPE, pcbuffer : *mut u32, pbbuffer : *mut u8) -> ::windows_sys::core::HRESULT); |
| 70 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUnboundLicenseAttributeCount(hqueryroot : u32, wszattributetype : ::windows_sys::core::PCWSTR, pcattributes : *mut u32) -> ::windows_sys::core::HRESULT); |
| 71 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUnboundLicenseObject(hqueryroot : u32, wszsubobjecttype : ::windows_sys::core::PCWSTR, iindex : u32, phsubquery : *mut u32) -> ::windows_sys::core::HRESULT); |
| 72 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUnboundLicenseObjectCount(hqueryroot : u32, wszsubobjecttype : ::windows_sys::core::PCWSTR, pcsubobjects : *mut u32) -> ::windows_sys::core::HRESULT); |
| 73 |
#[cfg(feature = "Win32_Foundation")] |
| 74 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetUsagePolicy(hissuancelicense : u32, uindex : u32, peusagepolicytype : *mut DRM_USAGEPOLICY_TYPE, pfexclusion : *mut super::super::Foundation:: BOOL, punamelength : *mut u32, wszname : ::windows_sys::core::PWSTR, puminversionlength : *mut u32, wszminversion : ::windows_sys::core::PWSTR, pumaxversionlength : *mut u32, wszmaxversion : ::windows_sys::core::PWSTR, pupublickeylength : *mut u32, wszpublickey : ::windows_sys::core::PWSTR, pudigestalgorithmlength : *mut u32, wszdigestalgorithm : ::windows_sys::core::PWSTR, pcbdigest : *mut u32, pbdigest : *mut u8) -> ::windows_sys::core::HRESULT); |
| 75 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUserInfo(huser : u32, puusernamelength : *mut u32, wszusername : ::windows_sys::core::PWSTR, puuseridlength : *mut u32, wszuserid : ::windows_sys::core::PWSTR, puuseridtypelength : *mut u32, wszuseridtype : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 76 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUserRights(hissuancelicense : u32, huser : u32, uindex : u32, phright : *mut u32) -> ::windows_sys::core::HRESULT); |
| 77 |
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUsers(hissuancelicense : u32, uindex : u32, phuser : *mut u32) -> ::windows_sys::core::HRESULT); |
| 78 |
::windows_targets::link!("msdrm.dll" "system" fn DRMInitEnvironment(esecurityprovidertype : DRMSECURITYPROVIDERTYPE, especification : DRMSPECTYPE, wszsecurityprovider : ::windows_sys::core::PCWSTR, wszmanifestcredentials : ::windows_sys::core::PCWSTR, wszmachinecredentials : ::windows_sys::core::PCWSTR, phenv : *mut u32, phdefaultlibrary : *mut u32) -> ::windows_sys::core::HRESULT); |
| 79 |
::windows_targets::link!("msdrm.dll" "system" fn DRMIsActivated(hclient : u32, uflags : u32, pactservinfo : *mut DRM_ACTSERV_INFO) -> ::windows_sys::core::HRESULT); |
| 80 |
#[cfg(feature = "Win32_Foundation")] |
| 81 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMIsWindowProtected(hwnd : super::super::Foundation:: HWND, pfprotected : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); |
| 82 |
::windows_targets::link!("msdrm.dll" "system" fn DRMLoadLibrary(henv : u32, especification : DRMSPECTYPE, wszlibraryprovider : ::windows_sys::core::PCWSTR, wszcredentials : ::windows_sys::core::PCWSTR, phlibrary : *mut u32) -> ::windows_sys::core::HRESULT); |
| 83 |
::windows_targets::link!("msdrm.dll" "system" fn DRMParseUnboundLicense(wszcertificate : ::windows_sys::core::PCWSTR, phqueryroot : *mut u32) -> ::windows_sys::core::HRESULT); |
| 84 |
#[cfg(feature = "Win32_Foundation")] |
| 85 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMRegisterContent(fregister : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); |
| 86 |
#[cfg(feature = "Win32_Foundation")] |
| 87 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMRegisterProtectedWindow(henv : u32, hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT); |
| 88 |
::windows_targets::link!("msdrm.dll" "system" fn DRMRegisterRevocationList(henv : u32, wszrevocationlist : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 89 |
::windows_targets::link!("msdrm.dll" "system" fn DRMRepair() -> ::windows_sys::core::HRESULT); |
| 90 |
#[cfg(feature = "Win32_Foundation")] |
| 91 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMSetApplicationSpecificData(hissuancelicense : u32, fdelete : super::super::Foundation:: BOOL, wszname : ::windows_sys::core::PCWSTR, wszvalue : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 92 |
::windows_targets::link!("msdrm.dll" "system" fn DRMSetGlobalOptions(eglobaloptions : DRMGLOBALOPTIONS, pvdata : *mut ::core::ffi::c_void, dwlen : u32) -> ::windows_sys::core::HRESULT); |
| 93 |
::windows_targets::link!("msdrm.dll" "system" fn DRMSetIntervalTime(hissuancelicense : u32, cdays : u32) -> ::windows_sys::core::HRESULT); |
| 94 |
::windows_targets::link!("msdrm.dll" "system" fn DRMSetMetaData(hissuancelicense : u32, wszcontentid : ::windows_sys::core::PCWSTR, wszcontentidtype : ::windows_sys::core::PCWSTR, wszskuid : ::windows_sys::core::PCWSTR, wszskuidtype : ::windows_sys::core::PCWSTR, wszcontenttype : ::windows_sys::core::PCWSTR, wszcontentname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 95 |
#[cfg(feature = "Win32_Foundation")] |
| 96 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMSetNameAndDescription(hissuancelicense : u32, fdelete : super::super::Foundation:: BOOL, lcid : u32, wszname : ::windows_sys::core::PCWSTR, wszdescription : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 97 |
#[cfg(feature = "Win32_Foundation")] |
| 98 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMSetRevocationPoint(hissuancelicense : u32, fdelete : super::super::Foundation:: BOOL, wszid : ::windows_sys::core::PCWSTR, wszidtype : ::windows_sys::core::PCWSTR, wszurl : ::windows_sys::core::PCWSTR, pstfrequency : *mut super::super::Foundation:: SYSTEMTIME, wszname : ::windows_sys::core::PCWSTR, wszpublickey : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 99 |
#[cfg(feature = "Win32_Foundation")] |
| 100 |
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMSetUsagePolicy(hissuancelicense : u32, eusagepolicytype : DRM_USAGEPOLICY_TYPE, fdelete : super::super::Foundation:: BOOL, fexclusion : super::super::Foundation:: BOOL, wszname : ::windows_sys::core::PCWSTR, wszminversion : ::windows_sys::core::PCWSTR, wszmaxversion : ::windows_sys::core::PCWSTR, wszpublickey : ::windows_sys::core::PCWSTR, wszdigestalgorithm : ::windows_sys::core::PCWSTR, pbdigest : *mut u8, cbdigest : u32) -> ::windows_sys::core::HRESULT); |
| 101 |
::windows_targets::link!("msdrm.dll" "system" fn DRMVerify(wszdata : ::windows_sys::core::PCWSTR, pcattesteddata : *mut u32, wszattesteddata : ::windows_sys::core::PWSTR, petype : *mut DRMATTESTTYPE, pcprincipal : *mut u32, wszprincipal : ::windows_sys::core::PWSTR, pcmanifest : *mut u32, wszmanifest : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 102 |
pub const DRMACTSERVINFOVERSION: u32 = 0u32; |
| 103 |
pub const DRMATTESTTYPE_FULLENVIRONMENT: DRMATTESTTYPE = 0i32; |
| 104 |
pub const DRMATTESTTYPE_HASHONLY: DRMATTESTTYPE = 1i32; |
| 105 |
pub const DRMBINDINGFLAGS_IGNORE_VALIDITY_INTERVALS: u32 = 1u32; |
| 106 |
pub const DRMBOUNDLICENSEPARAMSVERSION: u32 = 1u32; |
| 107 |
pub const DRMCALLBACKVERSION: u32 = 1u32; |
| 108 |
pub const DRMCLIENTSTRUCTVERSION: u32 = 1u32; |
| 109 |
pub const DRMENCODINGTYPE_BASE64: DRMENCODINGTYPE = 0i32; |
| 110 |
pub const DRMENCODINGTYPE_LONG: DRMENCODINGTYPE = 2i32; |
| 111 |
pub const DRMENCODINGTYPE_RAW: DRMENCODINGTYPE = 5i32; |
| 112 |
pub const DRMENCODINGTYPE_STRING: DRMENCODINGTYPE = 1i32; |
| 113 |
pub const DRMENCODINGTYPE_TIME: DRMENCODINGTYPE = 3i32; |
| 114 |
pub const DRMENCODINGTYPE_UINT: DRMENCODINGTYPE = 4i32; |
| 115 |
pub const DRMENVHANDLE_INVALID: u32 = 0u32; |
| 116 |
pub const DRMGLOBALOPTIONS_USE_SERVERSECURITYPROCESSOR: DRMGLOBALOPTIONS = 1i32; |
| 117 |
pub const DRMGLOBALOPTIONS_USE_WINHTTP: DRMGLOBALOPTIONS = 0i32; |
| 118 |
pub const DRMHANDLE_INVALID: u32 = 0u32; |
| 119 |
pub const DRMHSESSION_INVALID: u32 = 0u32; |
| 120 |
pub const DRMIDVERSION: u32 = 0u32; |
| 121 |
pub const DRMLICENSEACQDATAVERSION: u32 = 0u32; |
| 122 |
pub const DRMPUBHANDLE_INVALID: u32 = 0u32; |
| 123 |
pub const DRMQUERYHANDLE_INVALID: u32 = 0u32; |
| 124 |
pub const DRMSECURITYPROVIDERTYPE_SOFTWARESECREP: DRMSECURITYPROVIDERTYPE = 0i32; |
| 125 |
pub const DRMSPECTYPE_FILENAME: DRMSPECTYPE = 1i32; |
| 126 |
pub const DRMSPECTYPE_UNKNOWN: DRMSPECTYPE = 0i32; |
| 127 |
pub const DRMTIMETYPE_SYSTEMLOCAL: DRMTIMETYPE = 1i32; |
| 128 |
pub const DRMTIMETYPE_SYSTEMUTC: DRMTIMETYPE = 0i32; |
| 129 |
pub const DRM_ACTIVATE_CANCEL: u32 = 8u32; |
| 130 |
pub const DRM_ACTIVATE_DELAYED: u32 = 64u32; |
| 131 |
pub const DRM_ACTIVATE_GROUPIDENTITY: u32 = 2u32; |
| 132 |
pub const DRM_ACTIVATE_MACHINE: u32 = 1u32; |
| 133 |
pub const DRM_ACTIVATE_SHARED_GROUPIDENTITY: u32 = 32u32; |
| 134 |
pub const DRM_ACTIVATE_SILENT: u32 = 16u32; |
| 135 |
pub const DRM_ACTIVATE_TEMPORARY: u32 = 4u32; |
| 136 |
pub const DRM_ADD_LICENSE_NOPERSIST: u32 = 0u32; |
| 137 |
pub const DRM_ADD_LICENSE_PERSIST: u32 = 1u32; |
| 138 |
pub const DRM_AILT_CANCEL: u32 = 4u32; |
| 139 |
pub const DRM_AILT_NONSILENT: u32 = 1u32; |
| 140 |
pub const DRM_AILT_OBTAIN_ALL: u32 = 2u32; |
| 141 |
pub const DRM_AL_CANCEL: u32 = 4u32; |
| 142 |
pub const DRM_AL_FETCHNOADVISORY: u32 = 8u32; |
| 143 |
pub const DRM_AL_NONSILENT: u32 = 1u32; |
| 144 |
pub const DRM_AL_NOPERSIST: u32 = 2u32; |
| 145 |
pub const DRM_AL_NOUI: u32 = 16u32; |
| 146 |
pub const DRM_AUTO_GENERATE_KEY: u32 = 16u32; |
| 147 |
pub const DRM_DEFAULTGROUPIDTYPE_PASSPORT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PassportAuthProvider"); |
| 148 |
pub const DRM_DEFAULTGROUPIDTYPE_WINDOWSAUTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WindowsAuthProvider"); |
| 149 |
pub const DRM_DISTRIBUTION_POINT_LICENSE_ACQUISITION: DRM_DISTRIBUTION_POINT_INFO = 0i32; |
| 150 |
pub const DRM_DISTRIBUTION_POINT_PUBLISHING: DRM_DISTRIBUTION_POINT_INFO = 1i32; |
| 151 |
pub const DRM_DISTRIBUTION_POINT_REFERRAL_INFO: DRM_DISTRIBUTION_POINT_INFO = 2i32; |
| 152 |
pub const DRM_EL_CLIENTLICENSOR: u32 = 128u32; |
| 153 |
pub const DRM_EL_CLIENTLICENSOR_LID: u32 = 256u32; |
| 154 |
pub const DRM_EL_EUL: u32 = 32u32; |
| 155 |
pub const DRM_EL_EUL_LID: u32 = 64u32; |
| 156 |
pub const DRM_EL_EXPIRED: u32 = 4096u32; |
| 157 |
pub const DRM_EL_GROUPIDENTITY: u32 = 2u32; |
| 158 |
pub const DRM_EL_GROUPIDENTITY_LID: u32 = 8u32; |
| 159 |
pub const DRM_EL_GROUPIDENTITY_NAME: u32 = 4u32; |
| 160 |
pub const DRM_EL_ISSUANCELICENSE_TEMPLATE: u32 = 16384u32; |
| 161 |
pub const DRM_EL_ISSUANCELICENSE_TEMPLATE_LID: u32 = 32768u32; |
| 162 |
pub const DRM_EL_ISSUERNAME: u32 = 8192u32; |
| 163 |
pub const DRM_EL_MACHINE: u32 = 1u32; |
| 164 |
pub const DRM_EL_REVOCATIONLIST: u32 = 1024u32; |
| 165 |
pub const DRM_EL_REVOCATIONLIST_LID: u32 = 2048u32; |
| 166 |
pub const DRM_EL_SPECIFIED_CLIENTLICENSOR: u32 = 512u32; |
| 167 |
pub const DRM_EL_SPECIFIED_GROUPIDENTITY: u32 = 16u32; |
| 168 |
pub const DRM_LOCKBOXTYPE_BLACKBOX: u32 = 2u32; |
| 169 |
pub const DRM_LOCKBOXTYPE_DEFAULT: u32 = 2u32; |
| 170 |
pub const DRM_LOCKBOXTYPE_NONE: u32 = 0u32; |
| 171 |
pub const DRM_LOCKBOXTYPE_WHITEBOX: u32 = 1u32; |
| 172 |
pub const DRM_MSG_ACQUIRE_ADVISORY: DRM_STATUS_MSG = 3i32; |
| 173 |
pub const DRM_MSG_ACQUIRE_CLIENTLICENSOR: DRM_STATUS_MSG = 5i32; |
| 174 |
pub const DRM_MSG_ACQUIRE_ISSUANCE_LICENSE_TEMPLATE: DRM_STATUS_MSG = 6i32; |
| 175 |
pub const DRM_MSG_ACQUIRE_LICENSE: DRM_STATUS_MSG = 2i32; |
| 176 |
pub const DRM_MSG_ACTIVATE_GROUPIDENTITY: DRM_STATUS_MSG = 1i32; |
| 177 |
pub const DRM_MSG_ACTIVATE_MACHINE: DRM_STATUS_MSG = 0i32; |
| 178 |
pub const DRM_MSG_SIGN_ISSUANCE_LICENSE: DRM_STATUS_MSG = 4i32; |
| 179 |
pub const DRM_OWNER_LICENSE_NOPERSIST: u32 = 32u32; |
| 180 |
pub const DRM_REUSE_KEY: u32 = 64u32; |
| 181 |
pub const DRM_SERVER_ISSUANCELICENSE: u32 = 8u32; |
| 182 |
pub const DRM_SERVICE_LOCATION_ENTERPRISE: u32 = 2u32; |
| 183 |
pub const DRM_SERVICE_LOCATION_INTERNET: u32 = 1u32; |
| 184 |
pub const DRM_SERVICE_TYPE_ACTIVATION: u32 = 1u32; |
| 185 |
pub const DRM_SERVICE_TYPE_CERTIFICATION: u32 = 2u32; |
| 186 |
pub const DRM_SERVICE_TYPE_CLIENTLICENSOR: u32 = 8u32; |
| 187 |
pub const DRM_SERVICE_TYPE_PUBLISHING: u32 = 4u32; |
| 188 |
pub const DRM_SERVICE_TYPE_SILENT: u32 = 16u32; |
| 189 |
pub const DRM_SIGN_CANCEL: u32 = 4u32; |
| 190 |
pub const DRM_SIGN_OFFLINE: u32 = 2u32; |
| 191 |
pub const DRM_SIGN_ONLINE: u32 = 1u32; |
| 192 |
pub const DRM_USAGEPOLICY_TYPE_BYDIGEST: DRM_USAGEPOLICY_TYPE = 2i32; |
| 193 |
pub const DRM_USAGEPOLICY_TYPE_BYNAME: DRM_USAGEPOLICY_TYPE = 0i32; |
| 194 |
pub const DRM_USAGEPOLICY_TYPE_BYPUBLICKEY: DRM_USAGEPOLICY_TYPE = 1i32; |
| 195 |
pub const DRM_USAGEPOLICY_TYPE_OSEXCLUSION: DRM_USAGEPOLICY_TYPE = 3i32; |
| 196 |
pub const MSDRM_CLIENT_ZONE: u32 = 52992u32; |
| 197 |
pub const MSDRM_POLICY_ZONE: u32 = 37632u32; |
| 198 |
pub type DRMATTESTTYPE = i32; |
| 199 |
pub type DRMENCODINGTYPE = i32; |
| 200 |
pub type DRMGLOBALOPTIONS = i32; |
| 201 |
pub type DRMSECURITYPROVIDERTYPE = i32; |
| 202 |
pub type DRMSPECTYPE = i32; |
| 203 |
pub type DRMTIMETYPE = i32; |
| 204 |
pub type DRM_DISTRIBUTION_POINT_INFO = i32; |
| 205 |
pub type DRM_STATUS_MSG = i32; |
| 206 |
pub type DRM_USAGEPOLICY_TYPE = i32; |
| 207 |
#[repr(C)] |
| 208 |
pub struct DRMBOUNDLICENSEPARAMS { |
| 209 |
pub uVersion: u32, |
| 210 |
pub hEnablingPrincipal: u32, |
| 211 |
pub hSecureStore: u32, |
| 212 |
pub wszRightsRequested: ::windows_sys::core::PWSTR, |
| 213 |
pub wszRightsGroup: ::windows_sys::core::PWSTR, |
| 214 |
pub idResource: DRMID, |
| 215 |
pub cAuthenticatorCount: u32, |
| 216 |
pub rghAuthenticators: *mut u32, |
| 217 |
pub wszDefaultEnablingPrincipalCredentials: ::windows_sys::core::PWSTR, |
| 218 |
pub dwFlags: u32, |
| 219 |
} |
| 220 |
impl ::core::marker::Copy for DRMBOUNDLICENSEPARAMS {} |
| 221 |
impl ::core::clone::Clone for DRMBOUNDLICENSEPARAMS { |
| 222 |
fn clone(&self) -> Self { |
| 223 |
*self |
| 224 |
} |
| 225 |
} |
| 226 |
#[repr(C)] |
| 227 |
pub struct DRMID { |
| 228 |
pub uVersion: u32, |
| 229 |
pub wszIDType: ::windows_sys::core::PWSTR, |
| 230 |
pub wszID: ::windows_sys::core::PWSTR, |
| 231 |
} |
| 232 |
impl ::core::marker::Copy for DRMID {} |
| 233 |
impl ::core::clone::Clone for DRMID { |
| 234 |
fn clone(&self) -> Self { |
| 235 |
*self |
| 236 |
} |
| 237 |
} |
| 238 |
#[repr(C)] |
| 239 |
pub struct DRM_ACTSERV_INFO { |
| 240 |
pub uVersion: u32, |
| 241 |
pub wszPubKey: ::windows_sys::core::PWSTR, |
| 242 |
pub wszURL: ::windows_sys::core::PWSTR, |
| 243 |
} |
| 244 |
impl ::core::marker::Copy for DRM_ACTSERV_INFO {} |
| 245 |
impl ::core::clone::Clone for DRM_ACTSERV_INFO { |
| 246 |
fn clone(&self) -> Self { |
| 247 |
*self |
| 248 |
} |
| 249 |
} |
| 250 |
#[repr(C)] |
| 251 |
pub struct DRM_CLIENT_VERSION_INFO { |
| 252 |
pub uStructVersion: u32, |
| 253 |
pub dwVersion: [u32; 4], |
| 254 |
pub wszHierarchy: [u16; 256], |
| 255 |
pub wszProductId: [u16; 256], |
| 256 |
pub wszProductDescription: [u16; 256], |
| 257 |
} |
| 258 |
impl ::core::marker::Copy for DRM_CLIENT_VERSION_INFO {} |
| 259 |
impl ::core::clone::Clone for DRM_CLIENT_VERSION_INFO { |
| 260 |
fn clone(&self) -> Self { |
| 261 |
*self |
| 262 |
} |
| 263 |
} |
| 264 |
#[repr(C)] |
| 265 |
pub struct DRM_LICENSE_ACQ_DATA { |
| 266 |
pub uVersion: u32, |
| 267 |
pub wszURL: ::windows_sys::core::PWSTR, |
| 268 |
pub wszLocalFilename: ::windows_sys::core::PWSTR, |
| 269 |
pub pbPostData: *mut u8, |
| 270 |
pub dwPostDataSize: u32, |
| 271 |
pub wszFriendlyName: ::windows_sys::core::PWSTR, |
| 272 |
} |
| 273 |
impl ::core::marker::Copy for DRM_LICENSE_ACQ_DATA {} |
| 274 |
impl ::core::clone::Clone for DRM_LICENSE_ACQ_DATA { |
| 275 |
fn clone(&self) -> Self { |
| 276 |
*self |
| 277 |
} |
| 278 |
} |
| 279 |
pub type DRMCALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: DRM_STATUS_MSG, param1: ::windows_sys::core::HRESULT, param2: *mut ::core::ffi::c_void, param3: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; |