1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)] 2 pub const CLSID_WMPMediaPluginRegistrar: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1433004021, 16971, 19347, [137, 202, 121, 209, 121, 36, 104, 154]); 3 pub const CLSID_WMPSkinManager: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2997353810, 12319, 17224, [185, 58, 99, 140, 109, 228, 146, 41]); 4 pub const CLSID_XFeedsManager: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4268429763, 50990, 16481, [134, 198, 157, 22, 49, 33, 242, 41]); 5 pub const DISPID_DELTA: u32 = 50u32; 6 pub const DISPID_FEEDENCLOSURE_AsyncDownload: u32 = 24579u32; 7 pub const DISPID_FEEDENCLOSURE_CancelAsyncDownload: u32 = 24580u32; 8 pub const DISPID_FEEDENCLOSURE_DownloadMimeType: u32 = 24586u32; 9 pub const DISPID_FEEDENCLOSURE_DownloadStatus: u32 = 24581u32; 10 pub const DISPID_FEEDENCLOSURE_DownloadUrl: u32 = 24585u32; 11 pub const DISPID_FEEDENCLOSURE_LastDownloadError: u32 = 24582u32; 12 pub const DISPID_FEEDENCLOSURE_Length: u32 = 24578u32; 13 pub const DISPID_FEEDENCLOSURE_LocalPath: u32 = 24583u32; 14 pub const DISPID_FEEDENCLOSURE_Parent: u32 = 24584u32; 15 pub const DISPID_FEEDENCLOSURE_RemoveFile: u32 = 24587u32; 16 pub const DISPID_FEEDENCLOSURE_SetFile: u32 = 24588u32; 17 pub const DISPID_FEEDENCLOSURE_Type: u32 = 24577u32; 18 pub const DISPID_FEEDENCLOSURE_Url: u32 = 24576u32; 19 pub const DISPID_FEEDEVENTS_Error: u32 = 32768u32; 20 pub const DISPID_FEEDEVENTS_FeedDeleted: u32 = 32769u32; 21 pub const DISPID_FEEDEVENTS_FeedDownloadCompleted: u32 = 32774u32; 22 pub const DISPID_FEEDEVENTS_FeedDownloading: u32 = 32773u32; 23 pub const DISPID_FEEDEVENTS_FeedItemCountChanged: u32 = 32775u32; 24 pub const DISPID_FEEDEVENTS_FeedMoved: u32 = 32772u32; 25 pub const DISPID_FEEDEVENTS_FeedRenamed: u32 = 32770u32; 26 pub const DISPID_FEEDEVENTS_FeedUrlChanged: u32 = 32771u32; 27 pub const DISPID_FEEDFOLDEREVENTS_Error: u32 = 28672u32; 28 pub const DISPID_FEEDFOLDEREVENTS_FeedAdded: u32 = 28679u32; 29 pub const DISPID_FEEDFOLDEREVENTS_FeedDeleted: u32 = 28680u32; 30 pub const DISPID_FEEDFOLDEREVENTS_FeedDownloadCompleted: u32 = 28686u32; 31 pub const DISPID_FEEDFOLDEREVENTS_FeedDownloading: u32 = 28685u32; 32 pub const DISPID_FEEDFOLDEREVENTS_FeedItemCountChanged: u32 = 28687u32; 33 pub const DISPID_FEEDFOLDEREVENTS_FeedMovedFrom: u32 = 28683u32; 34 pub const DISPID_FEEDFOLDEREVENTS_FeedMovedTo: u32 = 28684u32; 35 pub const DISPID_FEEDFOLDEREVENTS_FeedRenamed: u32 = 28681u32; 36 pub const DISPID_FEEDFOLDEREVENTS_FeedUrlChanged: u32 = 28682u32; 37 pub const DISPID_FEEDFOLDEREVENTS_FolderAdded: u32 = 28673u32; 38 pub const DISPID_FEEDFOLDEREVENTS_FolderDeleted: u32 = 28674u32; 39 pub const DISPID_FEEDFOLDEREVENTS_FolderItemCountChanged: u32 = 28678u32; 40 pub const DISPID_FEEDFOLDEREVENTS_FolderMovedFrom: u32 = 28676u32; 41 pub const DISPID_FEEDFOLDEREVENTS_FolderMovedTo: u32 = 28677u32; 42 pub const DISPID_FEEDFOLDEREVENTS_FolderRenamed: u32 = 28675u32; 43 pub const DISPID_FEEDFOLDER_CreateFeed: u32 = 12290u32; 44 pub const DISPID_FEEDFOLDER_CreateSubfolder: u32 = 12291u32; 45 pub const DISPID_FEEDFOLDER_Delete: u32 = 12296u32; 46 pub const DISPID_FEEDFOLDER_ExistsFeed: u32 = 12292u32; 47 pub const DISPID_FEEDFOLDER_ExistsSubfolder: u32 = 12294u32; 48 pub const DISPID_FEEDFOLDER_Feeds: u32 = 12288u32; 49 pub const DISPID_FEEDFOLDER_GetFeed: u32 = 12293u32; 50 pub const DISPID_FEEDFOLDER_GetSubfolder: u32 = 12295u32; 51 pub const DISPID_FEEDFOLDER_GetWatcher: u32 = 12305u32; 52 pub const DISPID_FEEDFOLDER_IsRoot: u32 = 12302u32; 53 pub const DISPID_FEEDFOLDER_Move: u32 = 12300u32; 54 pub const DISPID_FEEDFOLDER_Name: u32 = 12297u32; 55 pub const DISPID_FEEDFOLDER_Parent: u32 = 12301u32; 56 pub const DISPID_FEEDFOLDER_Path: u32 = 12299u32; 57 pub const DISPID_FEEDFOLDER_Rename: u32 = 12298u32; 58 pub const DISPID_FEEDFOLDER_Subfolders: u32 = 12289u32; 59 pub const DISPID_FEEDFOLDER_TotalItemCount: u32 = 12304u32; 60 pub const DISPID_FEEDFOLDER_TotalUnreadItemCount: u32 = 12303u32; 61 pub const DISPID_FEEDITEM_Author: u32 = 20487u32; 62 pub const DISPID_FEEDITEM_Comments: u32 = 20486u32; 63 pub const DISPID_FEEDITEM_Delete: u32 = 20492u32; 64 pub const DISPID_FEEDITEM_Description: u32 = 20484u32; 65 pub const DISPID_FEEDITEM_DownloadUrl: u32 = 20493u32; 66 pub const DISPID_FEEDITEM_EffectiveId: u32 = 20496u32; 67 pub const DISPID_FEEDITEM_Enclosure: u32 = 20488u32; 68 pub const DISPID_FEEDITEM_Guid: u32 = 20483u32; 69 pub const DISPID_FEEDITEM_IsRead: u32 = 20489u32; 70 pub const DISPID_FEEDITEM_LastDownloadTime: u32 = 20494u32; 71 pub const DISPID_FEEDITEM_Link: u32 = 20482u32; 72 pub const DISPID_FEEDITEM_LocalId: u32 = 20490u32; 73 pub const DISPID_FEEDITEM_Modified: u32 = 20495u32; 74 pub const DISPID_FEEDITEM_Parent: u32 = 20491u32; 75 pub const DISPID_FEEDITEM_PubDate: u32 = 20485u32; 76 pub const DISPID_FEEDITEM_Title: u32 = 20481u32; 77 pub const DISPID_FEEDITEM_Xml: u32 = 20480u32; 78 pub const DISPID_FEEDSENUM_Count: u32 = 8192u32; 79 pub const DISPID_FEEDSENUM_Item: u32 = 8193u32; 80 pub const DISPID_FEEDS_AsyncSyncAll: u32 = 4108u32; 81 pub const DISPID_FEEDS_BackgroundSync: u32 = 4105u32; 82 pub const DISPID_FEEDS_BackgroundSyncStatus: u32 = 4106u32; 83 pub const DISPID_FEEDS_DefaultInterval: u32 = 4107u32; 84 pub const DISPID_FEEDS_DeleteFeed: u32 = 4102u32; 85 pub const DISPID_FEEDS_DeleteFolder: u32 = 4103u32; 86 pub const DISPID_FEEDS_ExistsFeed: u32 = 4098u32; 87 pub const DISPID_FEEDS_ExistsFolder: u32 = 4100u32; 88 pub const DISPID_FEEDS_GetFeed: u32 = 4099u32; 89 pub const DISPID_FEEDS_GetFeedByUrl: u32 = 4104u32; 90 pub const DISPID_FEEDS_GetFolder: u32 = 4101u32; 91 pub const DISPID_FEEDS_IsSubscribed: u32 = 4097u32; 92 pub const DISPID_FEEDS_ItemCountLimit: u32 = 4110u32; 93 pub const DISPID_FEEDS_Normalize: u32 = 4109u32; 94 pub const DISPID_FEEDS_RootFolder: u32 = 4096u32; 95 pub const DISPID_FEED_AsyncDownload: u32 = 16395u32; 96 pub const DISPID_FEED_CancelAsyncDownload: u32 = 16396u32; 97 pub const DISPID_FEED_ClearCredentials: u32 = 16428u32; 98 pub const DISPID_FEED_Copyright: u32 = 16411u32; 99 pub const DISPID_FEED_Delete: u32 = 16393u32; 100 pub const DISPID_FEED_Description: u32 = 16404u32; 101 pub const DISPID_FEED_Download: u32 = 16394u32; 102 pub const DISPID_FEED_DownloadEnclosuresAutomatically: u32 = 16412u32; 103 pub const DISPID_FEED_DownloadStatus: u32 = 16413u32; 104 pub const DISPID_FEED_DownloadUrl: u32 = 16416u32; 105 pub const DISPID_FEED_GetItem: u32 = 16402u32; 106 pub const DISPID_FEED_GetItemByEffectiveId: u32 = 16423u32; 107 pub const DISPID_FEED_GetWatcher: u32 = 16419u32; 108 pub const DISPID_FEED_Image: u32 = 16406u32; 109 pub const DISPID_FEED_Interval: u32 = 16397u32; 110 pub const DISPID_FEED_IsList: u32 = 16417u32; 111 pub const DISPID_FEED_ItemCount: u32 = 16421u32; 112 pub const DISPID_FEED_Items: u32 = 16401u32; 113 pub const DISPID_FEED_Language: u32 = 16410u32; 114 pub const DISPID_FEED_LastBuildDate: u32 = 16407u32; 115 pub const DISPID_FEED_LastDownloadError: u32 = 16414u32; 116 pub const DISPID_FEED_LastDownloadTime: u32 = 16399u32; 117 pub const DISPID_FEED_LastItemDownloadTime: u32 = 16424u32; 118 pub const DISPID_FEED_LastWriteTime: u32 = 16392u32; 119 pub const DISPID_FEED_Link: u32 = 16405u32; 120 pub const DISPID_FEED_LocalEnclosurePath: u32 = 16400u32; 121 pub const DISPID_FEED_LocalId: u32 = 16388u32; 122 pub const DISPID_FEED_MarkAllItemsRead: u32 = 16418u32; 123 pub const DISPID_FEED_MaxItemCount: u32 = 16422u32; 124 pub const DISPID_FEED_Merge: u32 = 16415u32; 125 pub const DISPID_FEED_Move: u32 = 16390u32; 126 pub const DISPID_FEED_Name: u32 = 16385u32; 127 pub const DISPID_FEED_Parent: u32 = 16391u32; 128 pub const DISPID_FEED_Password: u32 = 16426u32; 129 pub const DISPID_FEED_Path: u32 = 16389u32; 130 pub const DISPID_FEED_PubDate: u32 = 16408u32; 131 pub const DISPID_FEED_Rename: u32 = 16386u32; 132 pub const DISPID_FEED_SetCredentials: u32 = 16427u32; 133 pub const DISPID_FEED_SyncSetting: u32 = 16398u32; 134 pub const DISPID_FEED_Title: u32 = 16403u32; 135 pub const DISPID_FEED_Ttl: u32 = 16409u32; 136 pub const DISPID_FEED_UnreadItemCount: u32 = 16420u32; 137 pub const DISPID_FEED_Url: u32 = 16387u32; 138 pub const DISPID_FEED_Username: u32 = 16425u32; 139 pub const DISPID_FEED_Xml: u32 = 16384u32; 140 pub const DISPID_WMPCDROMCOLLECTION_BASE: u32 = 300u32; 141 pub const DISPID_WMPCDROMCOLLECTION_COUNT: u32 = 301u32; 142 pub const DISPID_WMPCDROMCOLLECTION_GETBYDRIVESPECIFIER: u32 = 303u32; 143 pub const DISPID_WMPCDROMCOLLECTION_ITEM: u32 = 302u32; 144 pub const DISPID_WMPCDROMCOLLECTION_STARTMONITORINGCDROMS: u32 = 304u32; 145 pub const DISPID_WMPCDROMCOLLECTION_STOPMONITORINGCDROMS: u32 = 305u32; 146 pub const DISPID_WMPCDROM_BASE: u32 = 250u32; 147 pub const DISPID_WMPCDROM_DRIVESPECIFIER: u32 = 251u32; 148 pub const DISPID_WMPCDROM_EJECT: u32 = 253u32; 149 pub const DISPID_WMPCDROM_PLAYLIST: u32 = 252u32; 150 pub const DISPID_WMPCLOSEDCAPTION2_GETLANGCOUNT: u32 = 955u32; 151 pub const DISPID_WMPCLOSEDCAPTION2_GETLANGID: u32 = 957u32; 152 pub const DISPID_WMPCLOSEDCAPTION2_GETLANGNAME: u32 = 956u32; 153 pub const DISPID_WMPCLOSEDCAPTION2_GETSTYLECOUNT: u32 = 958u32; 154 pub const DISPID_WMPCLOSEDCAPTION2_GETSTYLENAME: u32 = 959u32; 155 pub const DISPID_WMPCLOSEDCAPTION_BASE: u32 = 950u32; 156 pub const DISPID_WMPCLOSEDCAPTION_CAPTIONINGID: u32 = 954u32; 157 pub const DISPID_WMPCLOSEDCAPTION_SAMIFILENAME: u32 = 953u32; 158 pub const DISPID_WMPCLOSEDCAPTION_SAMILANG: u32 = 952u32; 159 pub const DISPID_WMPCLOSEDCAPTION_SAMISTYLE: u32 = 951u32; 160 pub const DISPID_WMPCONTROLS2_STEP: u32 = 64u32; 161 pub const DISPID_WMPCONTROLS3_AUDIOLANGUAGECOUNT: u32 = 65u32; 162 pub const DISPID_WMPCONTROLS3_CURRENTAUDIOLANGUAGE: u32 = 68u32; 163 pub const DISPID_WMPCONTROLS3_CURRENTAUDIOLANGUAGEINDEX: u32 = 69u32; 164 pub const DISPID_WMPCONTROLS3_CURRENTPOSITIONTIMECODE: u32 = 71u32; 165 pub const DISPID_WMPCONTROLS3_GETAUDIOLANGUAGEDESC: u32 = 67u32; 166 pub const DISPID_WMPCONTROLS3_GETAUDIOLANGUAGEID: u32 = 66u32; 167 pub const DISPID_WMPCONTROLS3_GETLANGUAGENAME: u32 = 70u32; 168 pub const DISPID_WMPCONTROLSFAKE_TIMECOMPRESSION: u32 = 72u32; 169 pub const DISPID_WMPCONTROLS_BASE: u32 = 50u32; 170 pub const DISPID_WMPCONTROLS_CURRENTITEM: u32 = 60u32; 171 pub const DISPID_WMPCONTROLS_CURRENTMARKER: u32 = 61u32; 172 pub const DISPID_WMPCONTROLS_CURRENTPOSITION: u32 = 56u32; 173 pub const DISPID_WMPCONTROLS_CURRENTPOSITIONSTRING: u32 = 57u32; 174 pub const DISPID_WMPCONTROLS_FASTFORWARD: u32 = 54u32; 175 pub const DISPID_WMPCONTROLS_FASTREVERSE: u32 = 55u32; 176 pub const DISPID_WMPCONTROLS_ISAVAILABLE: u32 = 62u32; 177 pub const DISPID_WMPCONTROLS_NEXT: u32 = 58u32; 178 pub const DISPID_WMPCONTROLS_PAUSE: u32 = 53u32; 179 pub const DISPID_WMPCONTROLS_PLAY: u32 = 51u32; 180 pub const DISPID_WMPCONTROLS_PLAYITEM: u32 = 63u32; 181 pub const DISPID_WMPCONTROLS_PREVIOUS: u32 = 59u32; 182 pub const DISPID_WMPCONTROLS_STOP: u32 = 52u32; 183 pub const DISPID_WMPCORE2_BASE: u32 = 39u32; 184 pub const DISPID_WMPCORE2_DVD: u32 = 40u32; 185 pub const DISPID_WMPCORE3_NEWMEDIA: u32 = 42u32; 186 pub const DISPID_WMPCORE3_NEWPLAYLIST: u32 = 41u32; 187 pub const DISPID_WMPCOREEVENT_AUDIOLANGUAGECHANGE: u32 = 5102u32; 188 pub const DISPID_WMPCOREEVENT_BUFFERING: u32 = 5402u32; 189 pub const DISPID_WMPCOREEVENT_CDROMMEDIACHANGE: u32 = 5701u32; 190 pub const DISPID_WMPCOREEVENT_CURRENTITEMCHANGE: u32 = 5806u32; 191 pub const DISPID_WMPCOREEVENT_CURRENTMEDIAITEMAVAILABLE: u32 = 5803u32; 192 pub const DISPID_WMPCOREEVENT_CURRENTPLAYLISTCHANGE: u32 = 5804u32; 193 pub const DISPID_WMPCOREEVENT_CURRENTPLAYLISTITEMAVAILABLE: u32 = 5805u32; 194 pub const DISPID_WMPCOREEVENT_DISCONNECT: u32 = 5401u32; 195 pub const DISPID_WMPCOREEVENT_DOMAINCHANGE: u32 = 5822u32; 196 pub const DISPID_WMPCOREEVENT_DURATIONUNITCHANGE: u32 = 5204u32; 197 pub const DISPID_WMPCOREEVENT_ENDOFSTREAM: u32 = 5201u32; 198 pub const DISPID_WMPCOREEVENT_ERROR: u32 = 5501u32; 199 pub const DISPID_WMPCOREEVENT_MARKERHIT: u32 = 5203u32; 200 pub const DISPID_WMPCOREEVENT_MEDIACHANGE: u32 = 5802u32; 201 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONATTRIBUTESTRINGADDED: u32 = 5808u32; 202 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONATTRIBUTESTRINGCHANGED: u32 = 5820u32; 203 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONATTRIBUTESTRINGREMOVED: u32 = 5809u32; 204 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONCHANGE: u32 = 5807u32; 205 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONCONTENTSCANADDEDITEM: u32 = 5813u32; 206 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONCONTENTSCANPROGRESS: u32 = 5814u32; 207 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONMEDIAADDED: u32 = 5825u32; 208 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONMEDIAREMOVED: u32 = 5826u32; 209 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONSEARCHCOMPLETE: u32 = 5817u32; 210 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONSEARCHFOUNDITEM: u32 = 5815u32; 211 pub const DISPID_WMPCOREEVENT_MEDIACOLLECTIONSEARCHPROGRESS: u32 = 5816u32; 212 pub const DISPID_WMPCOREEVENT_MEDIAERROR: u32 = 5821u32; 213 pub const DISPID_WMPCOREEVENT_MODECHANGE: u32 = 5819u32; 214 pub const DISPID_WMPCOREEVENT_NEWSTREAM: u32 = 5403u32; 215 pub const DISPID_WMPCOREEVENT_OPENPLAYLISTSWITCH: u32 = 5823u32; 216 pub const DISPID_WMPCOREEVENT_OPENSTATECHANGE: u32 = 5001u32; 217 pub const DISPID_WMPCOREEVENT_PLAYLISTCHANGE: u32 = 5801u32; 218 pub const DISPID_WMPCOREEVENT_PLAYLISTCOLLECTIONCHANGE: u32 = 5810u32; 219 pub const DISPID_WMPCOREEVENT_PLAYLISTCOLLECTIONPLAYLISTADDED: u32 = 5811u32; 220 pub const DISPID_WMPCOREEVENT_PLAYLISTCOLLECTIONPLAYLISTREMOVED: u32 = 5812u32; 221 pub const DISPID_WMPCOREEVENT_PLAYLISTCOLLECTIONPLAYLISTSETASDELETED: u32 = 5818u32; 222 pub const DISPID_WMPCOREEVENT_PLAYSTATECHANGE: u32 = 5101u32; 223 pub const DISPID_WMPCOREEVENT_POSITIONCHANGE: u32 = 5202u32; 224 pub const DISPID_WMPCOREEVENT_SCRIPTCOMMAND: u32 = 5301u32; 225 pub const DISPID_WMPCOREEVENT_STATUSCHANGE: u32 = 5002u32; 226 pub const DISPID_WMPCOREEVENT_STRINGCOLLECTIONCHANGE: u32 = 5824u32; 227 pub const DISPID_WMPCOREEVENT_WARNING: u32 = 5601u32; 228 pub const DISPID_WMPCORE_BASE: u32 = 0u32; 229 pub const DISPID_WMPCORE_CDROMCOLLECTION: u32 = 14u32; 230 pub const DISPID_WMPCORE_CLOSE: u32 = 3u32; 231 pub const DISPID_WMPCORE_CLOSEDCAPTION: u32 = 15u32; 232 pub const DISPID_WMPCORE_CONTROLS: u32 = 4u32; 233 pub const DISPID_WMPCORE_CURRENTMEDIA: u32 = 6u32; 234 pub const DISPID_WMPCORE_CURRENTPLAYLIST: u32 = 13u32; 235 pub const DISPID_WMPCORE_ERROR: u32 = 17u32; 236 pub const DISPID_WMPCORE_ISONLINE: u32 = 16u32; 237 pub const DISPID_WMPCORE_LAST: u32 = 18u32; 238 pub const DISPID_WMPCORE_LAUNCHURL: u32 = 12u32; 239 pub const DISPID_WMPCORE_MAX: u32 = 1454u32; 240 pub const DISPID_WMPCORE_MEDIACOLLECTION: u32 = 8u32; 241 pub const DISPID_WMPCORE_MIN: u32 = 1u32; 242 pub const DISPID_WMPCORE_NETWORK: u32 = 7u32; 243 pub const DISPID_WMPCORE_OPENSTATE: u32 = 2u32; 244 pub const DISPID_WMPCORE_PLAYLISTCOLLECTION: u32 = 9u32; 245 pub const DISPID_WMPCORE_PLAYSTATE: u32 = 10u32; 246 pub const DISPID_WMPCORE_SETTINGS: u32 = 5u32; 247 pub const DISPID_WMPCORE_STATUS: u32 = 18u32; 248 pub const DISPID_WMPCORE_URL: u32 = 1u32; 249 pub const DISPID_WMPCORE_VERSIONINFO: u32 = 11u32; 250 pub const DISPID_WMPDOWNLOADCOLLECTION_BASE: u32 = 1200u32; 251 pub const DISPID_WMPDOWNLOADCOLLECTION_CLEAR: u32 = 1206u32; 252 pub const DISPID_WMPDOWNLOADCOLLECTION_COUNT: u32 = 1202u32; 253 pub const DISPID_WMPDOWNLOADCOLLECTION_ID: u32 = 1201u32; 254 pub const DISPID_WMPDOWNLOADCOLLECTION_ITEM: u32 = 1203u32; 255 pub const DISPID_WMPDOWNLOADCOLLECTION_REMOVEITEM: u32 = 1205u32; 256 pub const DISPID_WMPDOWNLOADCOLLECTION_STARTDOWNLOAD: u32 = 1204u32; 257 pub const DISPID_WMPDOWNLOADITEM2_BASE: u32 = 1300u32; 258 pub const DISPID_WMPDOWNLOADITEM2_GETITEMINFO: u32 = 1301u32; 259 pub const DISPID_WMPDOWNLOADITEM_BASE: u32 = 1250u32; 260 pub const DISPID_WMPDOWNLOADITEM_CANCEL: u32 = 1258u32; 261 pub const DISPID_WMPDOWNLOADITEM_DOWNLOADSTATE: u32 = 1255u32; 262 pub const DISPID_WMPDOWNLOADITEM_PAUSE: u32 = 1256u32; 263 pub const DISPID_WMPDOWNLOADITEM_PROGRESS: u32 = 1254u32; 264 pub const DISPID_WMPDOWNLOADITEM_RESUME: u32 = 1257u32; 265 pub const DISPID_WMPDOWNLOADITEM_SIZE: u32 = 1252u32; 266 pub const DISPID_WMPDOWNLOADITEM_SOURCEURL: u32 = 1251u32; 267 pub const DISPID_WMPDOWNLOADITEM_TYPE: u32 = 1253u32; 268 pub const DISPID_WMPDOWNLOADMANAGER_BASE: u32 = 1150u32; 269 pub const DISPID_WMPDOWNLOADMANAGER_CREATEDOWNLOADCOLLECTION: u32 = 1152u32; 270 pub const DISPID_WMPDOWNLOADMANAGER_GETDOWNLOADCOLLECTION: u32 = 1151u32; 271 pub const DISPID_WMPDVD_BACK: u32 = 1005u32; 272 pub const DISPID_WMPDVD_BASE: u32 = 1000u32; 273 pub const DISPID_WMPDVD_DOMAIN: u32 = 1002u32; 274 pub const DISPID_WMPDVD_ISAVAILABLE: u32 = 1001u32; 275 pub const DISPID_WMPDVD_RESUME: u32 = 1006u32; 276 pub const DISPID_WMPDVD_TITLEMENU: u32 = 1004u32; 277 pub const DISPID_WMPDVD_TOPMENU: u32 = 1003u32; 278 pub const DISPID_WMPERRORITEM2_CONDITION: u32 = 906u32; 279 pub const DISPID_WMPERRORITEM_BASE: u32 = 900u32; 280 pub const DISPID_WMPERRORITEM_CUSTOMURL: u32 = 905u32; 281 pub const DISPID_WMPERRORITEM_ERRORCODE: u32 = 901u32; 282 pub const DISPID_WMPERRORITEM_ERRORCONTEXT: u32 = 903u32; 283 pub const DISPID_WMPERRORITEM_ERRORDESCRIPTION: u32 = 902u32; 284 pub const DISPID_WMPERRORITEM_REMEDY: u32 = 904u32; 285 pub const DISPID_WMPERROR_BASE: u32 = 850u32; 286 pub const DISPID_WMPERROR_CLEARERRORQUEUE: u32 = 851u32; 287 pub const DISPID_WMPERROR_ERRORCOUNT: u32 = 852u32; 288 pub const DISPID_WMPERROR_ITEM: u32 = 853u32; 289 pub const DISPID_WMPERROR_WEBHELP: u32 = 854u32; 290 pub const DISPID_WMPMEDIA2_ERROR: u32 = 768u32; 291 pub const DISPID_WMPMEDIA3_GETATTRIBUTECOUNTBYTYPE: u32 = 769u32; 292 pub const DISPID_WMPMEDIA3_GETITEMINFOBYTYPE: u32 = 770u32; 293 pub const DISPID_WMPMEDIACOLLECTION2_BASE: u32 = 1400u32; 294 pub const DISPID_WMPMEDIACOLLECTION2_CREATEQUERY: u32 = 1401u32; 295 pub const DISPID_WMPMEDIACOLLECTION2_GETBYATTRANDMEDIATYPE: u32 = 1404u32; 296 pub const DISPID_WMPMEDIACOLLECTION2_GETPLAYLISTBYQUERY: u32 = 1402u32; 297 pub const DISPID_WMPMEDIACOLLECTION2_GETSTRINGCOLLBYQUERY: u32 = 1403u32; 298 pub const DISPID_WMPMEDIACOLLECTION_ADD: u32 = 452u32; 299 pub const DISPID_WMPMEDIACOLLECTION_BASE: u32 = 450u32; 300 pub const DISPID_WMPMEDIACOLLECTION_FREEZECOLLECTIONCHANGE: u32 = 474u32; 301 pub const DISPID_WMPMEDIACOLLECTION_GETALL: u32 = 453u32; 302 pub const DISPID_WMPMEDIACOLLECTION_GETATTRIBUTESTRINGCOLLECTION: u32 = 461u32; 303 pub const DISPID_WMPMEDIACOLLECTION_GETBYALBUM: u32 = 457u32; 304 pub const DISPID_WMPMEDIACOLLECTION_GETBYATTRIBUTE: u32 = 458u32; 305 pub const DISPID_WMPMEDIACOLLECTION_GETBYAUTHOR: u32 = 456u32; 306 pub const DISPID_WMPMEDIACOLLECTION_GETBYGENRE: u32 = 455u32; 307 pub const DISPID_WMPMEDIACOLLECTION_GETBYNAME: u32 = 454u32; 308 pub const DISPID_WMPMEDIACOLLECTION_GETBYQUERYDESCRIPTION: u32 = 473u32; 309 pub const DISPID_WMPMEDIACOLLECTION_GETMEDIAATOM: u32 = 470u32; 310 pub const DISPID_WMPMEDIACOLLECTION_ISDELETED: u32 = 472u32; 311 pub const DISPID_WMPMEDIACOLLECTION_NEWQUERY: u32 = 462u32; 312 pub const DISPID_WMPMEDIACOLLECTION_POSTCOLLECTIONCHANGE: u32 = 476u32; 313 pub const DISPID_WMPMEDIACOLLECTION_REMOVE: u32 = 459u32; 314 pub const DISPID_WMPMEDIACOLLECTION_SETDELETED: u32 = 471u32; 315 pub const DISPID_WMPMEDIACOLLECTION_STARTCONTENTSCAN: u32 = 465u32; 316 pub const DISPID_WMPMEDIACOLLECTION_STARTMONITORING: u32 = 463u32; 317 pub const DISPID_WMPMEDIACOLLECTION_STARTSEARCH: u32 = 467u32; 318 pub const DISPID_WMPMEDIACOLLECTION_STOPCONTENTSCAN: u32 = 466u32; 319 pub const DISPID_WMPMEDIACOLLECTION_STOPMONITORING: u32 = 464u32; 320 pub const DISPID_WMPMEDIACOLLECTION_STOPSEARCH: u32 = 468u32; 321 pub const DISPID_WMPMEDIACOLLECTION_UNFREEZECOLLECTIONCHANGE: u32 = 475u32; 322 pub const DISPID_WMPMEDIACOLLECTION_UPDATEMETADATA: u32 = 469u32; 323 pub const DISPID_WMPMEDIA_ATTRIBUTECOUNT: u32 = 759u32; 324 pub const DISPID_WMPMEDIA_BASE: u32 = 750u32; 325 pub const DISPID_WMPMEDIA_DURATION: u32 = 757u32; 326 pub const DISPID_WMPMEDIA_DURATIONSTRING: u32 = 758u32; 327 pub const DISPID_WMPMEDIA_GETATTRIBUTENAME: u32 = 760u32; 328 pub const DISPID_WMPMEDIA_GETITEMINFO: u32 = 761u32; 329 pub const DISPID_WMPMEDIA_GETITEMINFOBYATOM: u32 = 765u32; 330 pub const DISPID_WMPMEDIA_GETMARKERNAME: u32 = 756u32; 331 pub const DISPID_WMPMEDIA_GETMARKERTIME: u32 = 755u32; 332 pub const DISPID_WMPMEDIA_IMAGESOURCEHEIGHT: u32 = 753u32; 333 pub const DISPID_WMPMEDIA_IMAGESOURCEWIDTH: u32 = 752u32; 334 pub const DISPID_WMPMEDIA_ISIDENTICAL: u32 = 763u32; 335 pub const DISPID_WMPMEDIA_ISMEMBEROF: u32 = 766u32; 336 pub const DISPID_WMPMEDIA_ISREADONLYITEM: u32 = 767u32; 337 pub const DISPID_WMPMEDIA_MARKERCOUNT: u32 = 754u32; 338 pub const DISPID_WMPMEDIA_NAME: u32 = 764u32; 339 pub const DISPID_WMPMEDIA_SETITEMINFO: u32 = 762u32; 340 pub const DISPID_WMPMEDIA_SOURCEURL: u32 = 751u32; 341 pub const DISPID_WMPMETADATA_BASE: u32 = 1050u32; 342 pub const DISPID_WMPMETADATA_PICTURE_DESCRIPTION: u32 = 1053u32; 343 pub const DISPID_WMPMETADATA_PICTURE_MIMETYPE: u32 = 1051u32; 344 pub const DISPID_WMPMETADATA_PICTURE_PICTURETYPE: u32 = 1052u32; 345 pub const DISPID_WMPMETADATA_PICTURE_URL: u32 = 1054u32; 346 pub const DISPID_WMPMETADATA_TEXT_DESCRIPTION: u32 = 1056u32; 347 pub const DISPID_WMPMETADATA_TEXT_TEXT: u32 = 1055u32; 348 pub const DISPID_WMPNETWORK_BANDWIDTH: u32 = 801u32; 349 pub const DISPID_WMPNETWORK_BASE: u32 = 800u32; 350 pub const DISPID_WMPNETWORK_BITRATE: u32 = 812u32; 351 pub const DISPID_WMPNETWORK_BUFFERINGCOUNT: u32 = 807u32; 352 pub const DISPID_WMPNETWORK_BUFFERINGPROGRESS: u32 = 808u32; 353 pub const DISPID_WMPNETWORK_BUFFERINGTIME: u32 = 809u32; 354 pub const DISPID_WMPNETWORK_DOWNLOADPROGRESS: u32 = 824u32; 355 pub const DISPID_WMPNETWORK_ENCODEDFRAMERATE: u32 = 825u32; 356 pub const DISPID_WMPNETWORK_FRAMERATE: u32 = 810u32; 357 pub const DISPID_WMPNETWORK_FRAMESSKIPPED: u32 = 826u32; 358 pub const DISPID_WMPNETWORK_GETPROXYBYPASSFORLOCAL: u32 = 821u32; 359 pub const DISPID_WMPNETWORK_GETPROXYEXCEPTIONLIST: u32 = 819u32; 360 pub const DISPID_WMPNETWORK_GETPROXYNAME: u32 = 815u32; 361 pub const DISPID_WMPNETWORK_GETPROXYPORT: u32 = 817u32; 362 pub const DISPID_WMPNETWORK_GETPROXYSETTINGS: u32 = 813u32; 363 pub const DISPID_WMPNETWORK_LOSTPACKETS: u32 = 805u32; 364 pub const DISPID_WMPNETWORK_MAXBANDWIDTH: u32 = 823u32; 365 pub const DISPID_WMPNETWORK_MAXBITRATE: u32 = 811u32; 366 pub const DISPID_WMPNETWORK_RECEIVEDPACKETS: u32 = 804u32; 367 pub const DISPID_WMPNETWORK_RECEPTIONQUALITY: u32 = 806u32; 368 pub const DISPID_WMPNETWORK_RECOVEREDPACKETS: u32 = 802u32; 369 pub const DISPID_WMPNETWORK_SETPROXYBYPASSFORLOCAL: u32 = 822u32; 370 pub const DISPID_WMPNETWORK_SETPROXYEXCEPTIONLIST: u32 = 820u32; 371 pub const DISPID_WMPNETWORK_SETPROXYNAME: u32 = 816u32; 372 pub const DISPID_WMPNETWORK_SETPROXYPORT: u32 = 818u32; 373 pub const DISPID_WMPNETWORK_SETPROXYSETTINGS: u32 = 814u32; 374 pub const DISPID_WMPNETWORK_SOURCEPROTOCOL: u32 = 803u32; 375 pub const DISPID_WMPOCX2_BASE: u32 = 23u32; 376 pub const DISPID_WMPOCX2_STRETCHTOFIT: u32 = 24u32; 377 pub const DISPID_WMPOCX2_WINDOWLESSVIDEO: u32 = 25u32; 378 pub const DISPID_WMPOCX4_ISREMOTE: u32 = 26u32; 379 pub const DISPID_WMPOCX4_OPENPLAYER: u32 = 28u32; 380 pub const DISPID_WMPOCX4_PLAYERAPPLICATION: u32 = 27u32; 381 pub const DISPID_WMPOCXEVENT_CDROMBURNERROR: u32 = 6523u32; 382 pub const DISPID_WMPOCXEVENT_CDROMBURNMEDIAERROR: u32 = 6522u32; 383 pub const DISPID_WMPOCXEVENT_CDROMBURNSTATECHANGE: u32 = 6521u32; 384 pub const DISPID_WMPOCXEVENT_CDROMRIPMEDIAERROR: u32 = 6520u32; 385 pub const DISPID_WMPOCXEVENT_CDROMRIPSTATECHANGE: u32 = 6519u32; 386 pub const DISPID_WMPOCXEVENT_CLICK: u32 = 6505u32; 387 pub const DISPID_WMPOCXEVENT_CREATEPARTNERSHIPCOMPLETE: u32 = 6518u32; 388 pub const DISPID_WMPOCXEVENT_DEVICECONNECT: u32 = 6513u32; 389 pub const DISPID_WMPOCXEVENT_DEVICEDISCONNECT: u32 = 6514u32; 390 pub const DISPID_WMPOCXEVENT_DEVICEESTIMATION: u32 = 6527u32; 391 pub const DISPID_WMPOCXEVENT_DEVICESTATUSCHANGE: u32 = 6515u32; 392 pub const DISPID_WMPOCXEVENT_DEVICESYNCERROR: u32 = 6517u32; 393 pub const DISPID_WMPOCXEVENT_DEVICESYNCSTATECHANGE: u32 = 6516u32; 394 pub const DISPID_WMPOCXEVENT_DOUBLECLICK: u32 = 6506u32; 395 pub const DISPID_WMPOCXEVENT_FOLDERSCANSTATECHANGE: u32 = 6526u32; 396 pub const DISPID_WMPOCXEVENT_KEYDOWN: u32 = 6507u32; 397 pub const DISPID_WMPOCXEVENT_KEYPRESS: u32 = 6508u32; 398 pub const DISPID_WMPOCXEVENT_KEYUP: u32 = 6509u32; 399 pub const DISPID_WMPOCXEVENT_LIBRARYCONNECT: u32 = 6524u32; 400 pub const DISPID_WMPOCXEVENT_LIBRARYDISCONNECT: u32 = 6525u32; 401 pub const DISPID_WMPOCXEVENT_MOUSEDOWN: u32 = 6510u32; 402 pub const DISPID_WMPOCXEVENT_MOUSEMOVE: u32 = 6511u32; 403 pub const DISPID_WMPOCXEVENT_MOUSEUP: u32 = 6512u32; 404 pub const DISPID_WMPOCXEVENT_PLAYERDOCKEDSTATECHANGE: u32 = 6503u32; 405 pub const DISPID_WMPOCXEVENT_PLAYERRECONNECT: u32 = 6504u32; 406 pub const DISPID_WMPOCXEVENT_SWITCHEDTOCONTROL: u32 = 6502u32; 407 pub const DISPID_WMPOCXEVENT_SWITCHEDTOPLAYERAPPLICATION: u32 = 6501u32; 408 pub const DISPID_WMPOCX_BASE: u32 = 18u32; 409 pub const DISPID_WMPOCX_ENABLECONTEXTMENU: u32 = 22u32; 410 pub const DISPID_WMPOCX_ENABLED: u32 = 19u32; 411 pub const DISPID_WMPOCX_FULLSCREEN: u32 = 21u32; 412 pub const DISPID_WMPOCX_LAST: u32 = 23u32; 413 pub const DISPID_WMPOCX_TRANSPARENTATSTART: u32 = 20u32; 414 pub const DISPID_WMPOCX_UIMODE: u32 = 23u32; 415 pub const DISPID_WMPPLAYERAPP_BASE: u32 = 1100u32; 416 pub const DISPID_WMPPLAYERAPP_HASDISPLAY: u32 = 1104u32; 417 pub const DISPID_WMPPLAYERAPP_PLAYERDOCKED: u32 = 1103u32; 418 pub const DISPID_WMPPLAYERAPP_REMOTESTATUS: u32 = 1105u32; 419 pub const DISPID_WMPPLAYERAPP_SWITCHTOCONTROL: u32 = 1102u32; 420 pub const DISPID_WMPPLAYERAPP_SWITCHTOPLAYERAPPLICATION: u32 = 1101u32; 421 pub const DISPID_WMPPLAYLISTARRAY_BASE: u32 = 500u32; 422 pub const DISPID_WMPPLAYLISTARRAY_COUNT: u32 = 501u32; 423 pub const DISPID_WMPPLAYLISTARRAY_ITEM: u32 = 502u32; 424 pub const DISPID_WMPPLAYLISTCOLLECTION_BASE: u32 = 550u32; 425 pub const DISPID_WMPPLAYLISTCOLLECTION_GETALL: u32 = 553u32; 426 pub const DISPID_WMPPLAYLISTCOLLECTION_GETBYNAME: u32 = 554u32; 427 pub const DISPID_WMPPLAYLISTCOLLECTION_GETBYQUERYDESCRIPTION: u32 = 555u32; 428 pub const DISPID_WMPPLAYLISTCOLLECTION_IMPORTPLAYLIST: u32 = 562u32; 429 pub const DISPID_WMPPLAYLISTCOLLECTION_ISDELETED: u32 = 561u32; 430 pub const DISPID_WMPPLAYLISTCOLLECTION_NEWPLAYLIST: u32 = 552u32; 431 pub const DISPID_WMPPLAYLISTCOLLECTION_NEWQUERY: u32 = 557u32; 432 pub const DISPID_WMPPLAYLISTCOLLECTION_REMOVE: u32 = 556u32; 433 pub const DISPID_WMPPLAYLISTCOLLECTION_SETDELETED: u32 = 560u32; 434 pub const DISPID_WMPPLAYLISTCOLLECTION_STARTMONITORING: u32 = 558u32; 435 pub const DISPID_WMPPLAYLISTCOLLECTION_STOPMONITORING: u32 = 559u32; 436 pub const DISPID_WMPPLAYLIST_APPENDITEM: u32 = 207u32; 437 pub const DISPID_WMPPLAYLIST_ATTRIBUTECOUNT: u32 = 210u32; 438 pub const DISPID_WMPPLAYLIST_ATTRIBUTENAME: u32 = 211u32; 439 pub const DISPID_WMPPLAYLIST_BASE: u32 = 200u32; 440 pub const DISPID_WMPPLAYLIST_CLEAR: u32 = 205u32; 441 pub const DISPID_WMPPLAYLIST_COUNT: u32 = 201u32; 442 pub const DISPID_WMPPLAYLIST_GETITEMINFO: u32 = 203u32; 443 pub const DISPID_WMPPLAYLIST_INSERTITEM: u32 = 206u32; 444 pub const DISPID_WMPPLAYLIST_ISIDENTICAL: u32 = 213u32; 445 pub const DISPID_WMPPLAYLIST_ITEM: u32 = 212u32; 446 pub const DISPID_WMPPLAYLIST_MOVEITEM: u32 = 209u32; 447 pub const DISPID_WMPPLAYLIST_NAME: u32 = 202u32; 448 pub const DISPID_WMPPLAYLIST_REMOVEITEM: u32 = 208u32; 449 pub const DISPID_WMPPLAYLIST_SETITEMINFO: u32 = 204u32; 450 pub const DISPID_WMPQUERY_ADDCONDITION: u32 = 1351u32; 451 pub const DISPID_WMPQUERY_BASE: u32 = 1350u32; 452 pub const DISPID_WMPQUERY_BEGINNEXTGROUP: u32 = 1352u32; 453 pub const DISPID_WMPSETTINGS2_DEFAULTAUDIOLANGUAGE: u32 = 114u32; 454 pub const DISPID_WMPSETTINGS2_LIBRARYACCESSRIGHTS: u32 = 115u32; 455 pub const DISPID_WMPSETTINGS2_REQUESTLIBRARYACCESSRIGHTS: u32 = 116u32; 456 pub const DISPID_WMPSETTINGS_AUTOSTART: u32 = 101u32; 457 pub const DISPID_WMPSETTINGS_BALANCE: u32 = 102u32; 458 pub const DISPID_WMPSETTINGS_BASE: u32 = 100u32; 459 pub const DISPID_WMPSETTINGS_BASEURL: u32 = 108u32; 460 pub const DISPID_WMPSETTINGS_DEFAULTFRAME: u32 = 109u32; 461 pub const DISPID_WMPSETTINGS_ENABLEERRORDIALOGS: u32 = 112u32; 462 pub const DISPID_WMPSETTINGS_GETMODE: u32 = 110u32; 463 pub const DISPID_WMPSETTINGS_INVOKEURLS: u32 = 103u32; 464 pub const DISPID_WMPSETTINGS_ISAVAILABLE: u32 = 113u32; 465 pub const DISPID_WMPSETTINGS_MUTE: u32 = 104u32; 466 pub const DISPID_WMPSETTINGS_PLAYCOUNT: u32 = 105u32; 467 pub const DISPID_WMPSETTINGS_RATE: u32 = 106u32; 468 pub const DISPID_WMPSETTINGS_SETMODE: u32 = 111u32; 469 pub const DISPID_WMPSETTINGS_VOLUME: u32 = 107u32; 470 pub const DISPID_WMPSTRINGCOLLECTION2_BASE: u32 = 1450u32; 471 pub const DISPID_WMPSTRINGCOLLECTION2_GETATTRCOUNTBYTYPE: u32 = 1453u32; 472 pub const DISPID_WMPSTRINGCOLLECTION2_GETITEMINFO: u32 = 1452u32; 473 pub const DISPID_WMPSTRINGCOLLECTION2_GETITEMINFOBYTYPE: u32 = 1454u32; 474 pub const DISPID_WMPSTRINGCOLLECTION2_ISIDENTICAL: u32 = 1451u32; 475 pub const DISPID_WMPSTRINGCOLLECTION_BASE: u32 = 400u32; 476 pub const DISPID_WMPSTRINGCOLLECTION_COUNT: u32 = 401u32; 477 pub const DISPID_WMPSTRINGCOLLECTION_ITEM: u32 = 402u32; 478 pub const EFFECT2_FULLSCREENEXCLUSIVE: u32 = 16u32; 479 pub const EFFECT_CANGOFULLSCREEN: u32 = 1u32; 480 pub const EFFECT_HASPROPERTYPAGE: u32 = 2u32; 481 pub const EFFECT_VARIABLEFREQSTEP: u32 = 4u32; 482 pub const EFFECT_WINDOWEDONLY: u32 = 8u32; 483 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 484 #[repr(transparent)] 485 pub struct FEEDS_BACKGROUNDSYNC_ACTION(pub i32); 486 pub const FBSA_DISABLE: FEEDS_BACKGROUNDSYNC_ACTION = FEEDS_BACKGROUNDSYNC_ACTION(0i32); 487 pub const FBSA_ENABLE: FEEDS_BACKGROUNDSYNC_ACTION = FEEDS_BACKGROUNDSYNC_ACTION(1i32); 488 pub const FBSA_RUNNOW: FEEDS_BACKGROUNDSYNC_ACTION = FEEDS_BACKGROUNDSYNC_ACTION(2i32); 489 impl ::std::convert::From<i32> for FEEDS_BACKGROUNDSYNC_ACTION { from(value: i32) -> Self490 fn from(value: i32) -> Self { 491 Self(value) 492 } 493 } 494 unsafe impl ::windows::runtime::Abi for FEEDS_BACKGROUNDSYNC_ACTION { 495 type Abi = Self; 496 type DefaultType = Self; 497 } 498 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 499 #[repr(transparent)] 500 pub struct FEEDS_BACKGROUNDSYNC_STATUS(pub i32); 501 pub const FBSS_DISABLED: FEEDS_BACKGROUNDSYNC_STATUS = FEEDS_BACKGROUNDSYNC_STATUS(0i32); 502 pub const FBSS_ENABLED: FEEDS_BACKGROUNDSYNC_STATUS = FEEDS_BACKGROUNDSYNC_STATUS(1i32); 503 impl ::std::convert::From<i32> for FEEDS_BACKGROUNDSYNC_STATUS { from(value: i32) -> Self504 fn from(value: i32) -> Self { 505 Self(value) 506 } 507 } 508 unsafe impl ::windows::runtime::Abi for FEEDS_BACKGROUNDSYNC_STATUS { 509 type Abi = Self; 510 type DefaultType = Self; 511 } 512 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 513 #[repr(transparent)] 514 pub struct FEEDS_DOWNLOAD_ERROR(pub i32); 515 pub const FDE_NONE: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(0i32); 516 pub const FDE_DOWNLOAD_FAILED: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(1i32); 517 pub const FDE_INVALID_FEED_FORMAT: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(2i32); 518 pub const FDE_NORMALIZATION_FAILED: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(3i32); 519 pub const FDE_PERSISTENCE_FAILED: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(4i32); 520 pub const FDE_DOWNLOAD_BLOCKED: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(5i32); 521 pub const FDE_CANCELED: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(6i32); 522 pub const FDE_UNSUPPORTED_AUTH: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(7i32); 523 pub const FDE_BACKGROUND_DOWNLOAD_DISABLED: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(8i32); 524 pub const FDE_NOT_EXIST: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(9i32); 525 pub const FDE_UNSUPPORTED_MSXML: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(10i32); 526 pub const FDE_UNSUPPORTED_DTD: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(11i32); 527 pub const FDE_DOWNLOAD_SIZE_LIMIT_EXCEEDED: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(12i32); 528 pub const FDE_ACCESS_DENIED: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(13i32); 529 pub const FDE_AUTH_FAILED: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(14i32); 530 pub const FDE_INVALID_AUTH: FEEDS_DOWNLOAD_ERROR = FEEDS_DOWNLOAD_ERROR(15i32); 531 impl ::std::convert::From<i32> for FEEDS_DOWNLOAD_ERROR { from(value: i32) -> Self532 fn from(value: i32) -> Self { 533 Self(value) 534 } 535 } 536 unsafe impl ::windows::runtime::Abi for FEEDS_DOWNLOAD_ERROR { 537 type Abi = Self; 538 type DefaultType = Self; 539 } 540 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 541 #[repr(transparent)] 542 pub struct FEEDS_DOWNLOAD_STATUS(pub i32); 543 pub const FDS_NONE: FEEDS_DOWNLOAD_STATUS = FEEDS_DOWNLOAD_STATUS(0i32); 544 pub const FDS_PENDING: FEEDS_DOWNLOAD_STATUS = FEEDS_DOWNLOAD_STATUS(1i32); 545 pub const FDS_DOWNLOADING: FEEDS_DOWNLOAD_STATUS = FEEDS_DOWNLOAD_STATUS(2i32); 546 pub const FDS_DOWNLOADED: FEEDS_DOWNLOAD_STATUS = FEEDS_DOWNLOAD_STATUS(3i32); 547 pub const FDS_DOWNLOAD_FAILED: FEEDS_DOWNLOAD_STATUS = FEEDS_DOWNLOAD_STATUS(4i32); 548 impl ::std::convert::From<i32> for FEEDS_DOWNLOAD_STATUS { from(value: i32) -> Self549 fn from(value: i32) -> Self { 550 Self(value) 551 } 552 } 553 unsafe impl ::windows::runtime::Abi for FEEDS_DOWNLOAD_STATUS { 554 type Abi = Self; 555 type DefaultType = Self; 556 } 557 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 558 #[repr(transparent)] 559 pub struct FEEDS_ERROR_CODE(pub i32); 560 pub const FEC_E_ERRORBASE: FEEDS_ERROR_CODE = FEEDS_ERROR_CODE(-1073479168i32); 561 pub const FEC_E_INVALIDMSXMLPROPERTY: FEEDS_ERROR_CODE = FEEDS_ERROR_CODE(-1073479168i32); 562 pub const FEC_E_DOWNLOADSIZELIMITEXCEEDED: FEEDS_ERROR_CODE = FEEDS_ERROR_CODE(-1073479167i32); 563 impl ::std::convert::From<i32> for FEEDS_ERROR_CODE { from(value: i32) -> Self564 fn from(value: i32) -> Self { 565 Self(value) 566 } 567 } 568 unsafe impl ::windows::runtime::Abi for FEEDS_ERROR_CODE { 569 type Abi = Self; 570 type DefaultType = Self; 571 } 572 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 573 #[repr(transparent)] 574 pub struct FEEDS_EVENTS_ITEM_COUNT_FLAGS(pub i32); 575 pub const FEICF_READ_ITEM_COUNT_CHANGED: FEEDS_EVENTS_ITEM_COUNT_FLAGS = FEEDS_EVENTS_ITEM_COUNT_FLAGS(1i32); 576 pub const FEICF_UNREAD_ITEM_COUNT_CHANGED: FEEDS_EVENTS_ITEM_COUNT_FLAGS = FEEDS_EVENTS_ITEM_COUNT_FLAGS(2i32); 577 impl ::std::convert::From<i32> for FEEDS_EVENTS_ITEM_COUNT_FLAGS { from(value: i32) -> Self578 fn from(value: i32) -> Self { 579 Self(value) 580 } 581 } 582 unsafe impl ::windows::runtime::Abi for FEEDS_EVENTS_ITEM_COUNT_FLAGS { 583 type Abi = Self; 584 type DefaultType = Self; 585 } 586 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 587 #[repr(transparent)] 588 pub struct FEEDS_EVENTS_MASK(pub i32); 589 pub const FEM_FOLDEREVENTS: FEEDS_EVENTS_MASK = FEEDS_EVENTS_MASK(1i32); 590 pub const FEM_FEEDEVENTS: FEEDS_EVENTS_MASK = FEEDS_EVENTS_MASK(2i32); 591 impl ::std::convert::From<i32> for FEEDS_EVENTS_MASK { from(value: i32) -> Self592 fn from(value: i32) -> Self { 593 Self(value) 594 } 595 } 596 unsafe impl ::windows::runtime::Abi for FEEDS_EVENTS_MASK { 597 type Abi = Self; 598 type DefaultType = Self; 599 } 600 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 601 #[repr(transparent)] 602 pub struct FEEDS_EVENTS_SCOPE(pub i32); 603 pub const FES_ALL: FEEDS_EVENTS_SCOPE = FEEDS_EVENTS_SCOPE(0i32); 604 pub const FES_SELF_ONLY: FEEDS_EVENTS_SCOPE = FEEDS_EVENTS_SCOPE(1i32); 605 pub const FES_SELF_AND_CHILDREN_ONLY: FEEDS_EVENTS_SCOPE = FEEDS_EVENTS_SCOPE(2i32); 606 impl ::std::convert::From<i32> for FEEDS_EVENTS_SCOPE { from(value: i32) -> Self607 fn from(value: i32) -> Self { 608 Self(value) 609 } 610 } 611 unsafe impl ::windows::runtime::Abi for FEEDS_EVENTS_SCOPE { 612 type Abi = Self; 613 type DefaultType = Self; 614 } 615 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 616 #[repr(transparent)] 617 pub struct FEEDS_SYNC_SETTING(pub i32); 618 pub const FSS_DEFAULT: FEEDS_SYNC_SETTING = FEEDS_SYNC_SETTING(0i32); 619 pub const FSS_INTERVAL: FEEDS_SYNC_SETTING = FEEDS_SYNC_SETTING(1i32); 620 pub const FSS_MANUAL: FEEDS_SYNC_SETTING = FEEDS_SYNC_SETTING(2i32); 621 pub const FSS_SUGGESTED: FEEDS_SYNC_SETTING = FEEDS_SYNC_SETTING(3i32); 622 impl ::std::convert::From<i32> for FEEDS_SYNC_SETTING { from(value: i32) -> Self623 fn from(value: i32) -> Self { 624 Self(value) 625 } 626 } 627 unsafe impl ::windows::runtime::Abi for FEEDS_SYNC_SETTING { 628 type Abi = Self; 629 type DefaultType = Self; 630 } 631 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 632 #[repr(transparent)] 633 pub struct FEEDS_XML_FILTER_FLAGS(pub i32); 634 pub const FXFF_ALL: FEEDS_XML_FILTER_FLAGS = FEEDS_XML_FILTER_FLAGS(0i32); 635 pub const FXFF_UNREAD: FEEDS_XML_FILTER_FLAGS = FEEDS_XML_FILTER_FLAGS(1i32); 636 pub const FXFF_READ: FEEDS_XML_FILTER_FLAGS = FEEDS_XML_FILTER_FLAGS(2i32); 637 impl ::std::convert::From<i32> for FEEDS_XML_FILTER_FLAGS { from(value: i32) -> Self638 fn from(value: i32) -> Self { 639 Self(value) 640 } 641 } 642 unsafe impl ::windows::runtime::Abi for FEEDS_XML_FILTER_FLAGS { 643 type Abi = Self; 644 type DefaultType = Self; 645 } 646 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 647 #[repr(transparent)] 648 pub struct FEEDS_XML_INCLUDE_FLAGS(pub i32); 649 pub const FXIF_NONE: FEEDS_XML_INCLUDE_FLAGS = FEEDS_XML_INCLUDE_FLAGS(0i32); 650 pub const FXIF_CF_EXTENSIONS: FEEDS_XML_INCLUDE_FLAGS = FEEDS_XML_INCLUDE_FLAGS(1i32); 651 impl ::std::convert::From<i32> for FEEDS_XML_INCLUDE_FLAGS { from(value: i32) -> Self652 fn from(value: i32) -> Self { 653 Self(value) 654 } 655 } 656 unsafe impl ::windows::runtime::Abi for FEEDS_XML_INCLUDE_FLAGS { 657 type Abi = Self; 658 type DefaultType = Self; 659 } 660 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 661 #[repr(transparent)] 662 pub struct FEEDS_XML_SORT_ORDER(pub i32); 663 pub const FXSO_NONE: FEEDS_XML_SORT_ORDER = FEEDS_XML_SORT_ORDER(0i32); 664 pub const FXSO_ASCENDING: FEEDS_XML_SORT_ORDER = FEEDS_XML_SORT_ORDER(1i32); 665 pub const FXSO_DESCENDING: FEEDS_XML_SORT_ORDER = FEEDS_XML_SORT_ORDER(2i32); 666 impl ::std::convert::From<i32> for FEEDS_XML_SORT_ORDER { from(value: i32) -> Self667 fn from(value: i32) -> Self { 668 Self(value) 669 } 670 } 671 unsafe impl ::windows::runtime::Abi for FEEDS_XML_SORT_ORDER { 672 type Abi = Self; 673 type DefaultType = Self; 674 } 675 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 676 #[repr(transparent)] 677 pub struct FEEDS_XML_SORT_PROPERTY(pub i32); 678 pub const FXSP_NONE: FEEDS_XML_SORT_PROPERTY = FEEDS_XML_SORT_PROPERTY(0i32); 679 pub const FXSP_PUBDATE: FEEDS_XML_SORT_PROPERTY = FEEDS_XML_SORT_PROPERTY(1i32); 680 pub const FXSP_DOWNLOADTIME: FEEDS_XML_SORT_PROPERTY = FEEDS_XML_SORT_PROPERTY(2i32); 681 impl ::std::convert::From<i32> for FEEDS_XML_SORT_PROPERTY { from(value: i32) -> Self682 fn from(value: i32) -> Self { 683 Self(value) 684 } 685 } 686 unsafe impl ::windows::runtime::Abi for FEEDS_XML_SORT_PROPERTY { 687 type Abi = Self; 688 type DefaultType = Self; 689 } 690 pub const FeedFolderWatcher: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(672137709, 30565, 19632, [132, 175, 233, 179, 135, 175, 1, 255]); 691 pub const FeedWatcher: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(413561723, 62515, 18055, [137, 188, 161, 180, 223, 185, 241, 35]); 692 pub const FeedsManager: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4209726660, 63087, 18438, [131, 160, 128, 82, 153, 245, 227, 173]); 693 #[repr(transparent)] 694 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 695 pub struct IFeed(::windows::runtime::IUnknown); 696 impl IFeed { 697 #[cfg(feature = "Win32_Foundation")] Xml(&self, count: i32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::runtime::Result<super::super::Foundation::BSTR>698 pub unsafe fn Xml(&self, count: i32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 699 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 700 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), ::std::mem::transmute(sortproperty), ::std::mem::transmute(sortorder), ::std::mem::transmute(filterflags), ::std::mem::transmute(includeflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 701 } 702 #[cfg(feature = "Win32_Foundation")] Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>703 pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 704 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 705 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 706 } 707 #[cfg(feature = "Win32_Foundation")] Rename<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>708 pub unsafe fn Rename<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> { 709 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), name.into_param().abi()).ok() 710 } 711 #[cfg(feature = "Win32_Foundation")] Url(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>712 pub unsafe fn Url(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 713 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 714 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 715 } 716 #[cfg(feature = "Win32_Foundation")] SetUrl<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedurl: Param0) -> ::windows::runtime::Result<()>717 pub unsafe fn SetUrl<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedurl: Param0) -> ::windows::runtime::Result<()> { 718 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), feedurl.into_param().abi()).ok() 719 } 720 #[cfg(feature = "Win32_Foundation")] LocalId(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>721 pub unsafe fn LocalId(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 722 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 723 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 724 } 725 #[cfg(feature = "Win32_Foundation")] Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>726 pub unsafe fn Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 727 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 728 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 729 } 730 #[cfg(feature = "Win32_Foundation")] Move<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newparentpath: Param0) -> ::windows::runtime::Result<()>731 pub unsafe fn Move<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newparentpath: Param0) -> ::windows::runtime::Result<()> { 732 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), newparentpath.into_param().abi()).ok() 733 } 734 #[cfg(feature = "Win32_System_Ole_Automation")] Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>735 pub unsafe fn Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 736 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 737 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 738 } LastWriteTime(&self) -> ::windows::runtime::Result<f64>739 pub unsafe fn LastWriteTime(&self) -> ::windows::runtime::Result<f64> { 740 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 741 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 742 } Delete(&self) -> ::windows::runtime::Result<()>743 pub unsafe fn Delete(&self) -> ::windows::runtime::Result<()> { 744 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok() 745 } Download(&self) -> ::windows::runtime::Result<()>746 pub unsafe fn Download(&self) -> ::windows::runtime::Result<()> { 747 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self)).ok() 748 } AsyncDownload(&self) -> ::windows::runtime::Result<()>749 pub unsafe fn AsyncDownload(&self) -> ::windows::runtime::Result<()> { 750 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self)).ok() 751 } CancelAsyncDownload(&self) -> ::windows::runtime::Result<()>752 pub unsafe fn CancelAsyncDownload(&self) -> ::windows::runtime::Result<()> { 753 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok() 754 } SyncSetting(&self) -> ::windows::runtime::Result<FEEDS_SYNC_SETTING>755 pub unsafe fn SyncSetting(&self) -> ::windows::runtime::Result<FEEDS_SYNC_SETTING> { 756 let mut result__: <FEEDS_SYNC_SETTING as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 757 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FEEDS_SYNC_SETTING>(result__) 758 } SetSyncSetting(&self, syncsetting: FEEDS_SYNC_SETTING) -> ::windows::runtime::Result<()>759 pub unsafe fn SetSyncSetting(&self, syncsetting: FEEDS_SYNC_SETTING) -> ::windows::runtime::Result<()> { 760 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(syncsetting)).ok() 761 } Interval(&self) -> ::windows::runtime::Result<i32>762 pub unsafe fn Interval(&self) -> ::windows::runtime::Result<i32> { 763 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 764 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 765 } SetInterval(&self, minutes: i32) -> ::windows::runtime::Result<()>766 pub unsafe fn SetInterval(&self, minutes: i32) -> ::windows::runtime::Result<()> { 767 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(minutes)).ok() 768 } LastDownloadTime(&self) -> ::windows::runtime::Result<f64>769 pub unsafe fn LastDownloadTime(&self) -> ::windows::runtime::Result<f64> { 770 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 771 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 772 } 773 #[cfg(feature = "Win32_Foundation")] LocalEnclosurePath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>774 pub unsafe fn LocalEnclosurePath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 775 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 776 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 777 } 778 #[cfg(feature = "Win32_System_Ole_Automation")] Items(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>779 pub unsafe fn Items(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 780 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 781 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 782 } 783 #[cfg(feature = "Win32_System_Ole_Automation")] GetItem(&self, itemid: i32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>784 pub unsafe fn GetItem(&self, itemid: i32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 785 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 786 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(itemid), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 787 } 788 #[cfg(feature = "Win32_Foundation")] Title(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>789 pub unsafe fn Title(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 790 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 791 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 792 } 793 #[cfg(feature = "Win32_Foundation")] Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>794 pub unsafe fn Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 795 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 796 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 797 } 798 #[cfg(feature = "Win32_Foundation")] Link(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>799 pub unsafe fn Link(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 800 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 801 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 802 } 803 #[cfg(feature = "Win32_Foundation")] Image(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>804 pub unsafe fn Image(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 805 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 806 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 807 } LastBuildDate(&self) -> ::windows::runtime::Result<f64>808 pub unsafe fn LastBuildDate(&self) -> ::windows::runtime::Result<f64> { 809 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 810 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 811 } PubDate(&self) -> ::windows::runtime::Result<f64>812 pub unsafe fn PubDate(&self) -> ::windows::runtime::Result<f64> { 813 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 814 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 815 } Ttl(&self) -> ::windows::runtime::Result<i32>816 pub unsafe fn Ttl(&self) -> ::windows::runtime::Result<i32> { 817 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 818 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 819 } 820 #[cfg(feature = "Win32_Foundation")] Language(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>821 pub unsafe fn Language(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 822 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 823 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 824 } 825 #[cfg(feature = "Win32_Foundation")] Copyright(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>826 pub unsafe fn Copyright(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 827 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 828 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 829 } MaxItemCount(&self) -> ::windows::runtime::Result<i32>830 pub unsafe fn MaxItemCount(&self) -> ::windows::runtime::Result<i32> { 831 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 832 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 833 } SetMaxItemCount(&self, count: i32) -> ::windows::runtime::Result<()>834 pub unsafe fn SetMaxItemCount(&self, count: i32) -> ::windows::runtime::Result<()> { 835 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(count)).ok() 836 } DownloadEnclosuresAutomatically(&self) -> ::windows::runtime::Result<i16>837 pub unsafe fn DownloadEnclosuresAutomatically(&self) -> ::windows::runtime::Result<i16> { 838 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 839 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 840 } SetDownloadEnclosuresAutomatically(&self, downloadenclosuresautomatically: i16) -> ::windows::runtime::Result<()>841 pub unsafe fn SetDownloadEnclosuresAutomatically(&self, downloadenclosuresautomatically: i16) -> ::windows::runtime::Result<()> { 842 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(downloadenclosuresautomatically)).ok() 843 } DownloadStatus(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_STATUS>844 pub unsafe fn DownloadStatus(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_STATUS> { 845 let mut result__: <FEEDS_DOWNLOAD_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 846 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FEEDS_DOWNLOAD_STATUS>(result__) 847 } LastDownloadError(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_ERROR>848 pub unsafe fn LastDownloadError(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_ERROR> { 849 let mut result__: <FEEDS_DOWNLOAD_ERROR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 850 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FEEDS_DOWNLOAD_ERROR>(result__) 851 } 852 #[cfg(feature = "Win32_Foundation")] Merge<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedxml: Param0, feedurl: Param1) -> ::windows::runtime::Result<()>853 pub unsafe fn Merge<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedxml: Param0, feedurl: Param1) -> ::windows::runtime::Result<()> { 854 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), feedxml.into_param().abi(), feedurl.into_param().abi()).ok() 855 } 856 #[cfg(feature = "Win32_Foundation")] DownloadUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>857 pub unsafe fn DownloadUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 858 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 859 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 860 } IsList(&self) -> ::windows::runtime::Result<i16>861 pub unsafe fn IsList(&self) -> ::windows::runtime::Result<i16> { 862 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 863 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 864 } MarkAllItemsRead(&self) -> ::windows::runtime::Result<()>865 pub unsafe fn MarkAllItemsRead(&self) -> ::windows::runtime::Result<()> { 866 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self)).ok() 867 } 868 #[cfg(feature = "Win32_System_Ole_Automation")] GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>869 pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 870 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 871 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), ::std::mem::transmute(scope), ::std::mem::transmute(mask), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 872 } UnreadItemCount(&self) -> ::windows::runtime::Result<i32>873 pub unsafe fn UnreadItemCount(&self) -> ::windows::runtime::Result<i32> { 874 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 875 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 876 } ItemCount(&self) -> ::windows::runtime::Result<i32>877 pub unsafe fn ItemCount(&self) -> ::windows::runtime::Result<i32> { 878 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 879 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 880 } 881 } 882 unsafe impl ::windows::runtime::Interface for IFeed { 883 type Vtable = IFeed_abi; 884 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4160296408, 11998, 17084, [152, 231, 165, 208, 80, 99, 167, 87]); 885 } 886 impl ::std::convert::From<IFeed> for ::windows::runtime::IUnknown { from(value: IFeed) -> Self887 fn from(value: IFeed) -> Self { 888 unsafe { ::std::mem::transmute(value) } 889 } 890 } 891 impl ::std::convert::From<&IFeed> for ::windows::runtime::IUnknown { from(value: &IFeed) -> Self892 fn from(value: &IFeed) -> Self { 893 ::std::convert::From::from(::std::clone::Clone::clone(value)) 894 } 895 } 896 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFeed { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>897 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 898 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 899 } 900 } 901 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFeed { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>902 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 903 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 904 } 905 } 906 #[cfg(feature = "Win32_System_Ole_Automation")] 907 impl ::std::convert::From<IFeed> for super::super::System::Ole::Automation::IDispatch { from(value: IFeed) -> Self908 fn from(value: IFeed) -> Self { 909 unsafe { ::std::mem::transmute(value) } 910 } 911 } 912 #[cfg(feature = "Win32_System_Ole_Automation")] 913 impl ::std::convert::From<&IFeed> for super::super::System::Ole::Automation::IDispatch { from(value: &IFeed) -> Self914 fn from(value: &IFeed) -> Self { 915 ::std::convert::From::from(::std::clone::Clone::clone(value)) 916 } 917 } 918 #[cfg(feature = "Win32_System_Ole_Automation")] 919 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFeed { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>920 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 921 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 922 } 923 } 924 #[cfg(feature = "Win32_System_Ole_Automation")] 925 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFeed { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>926 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 927 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 928 } 929 } 930 #[repr(C)] 931 #[doc(hidden)] 932 pub struct IFeed_abi( 933 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 934 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 935 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 936 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 937 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 938 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 939 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 940 #[cfg(not(feature = "Win32_Foundation"))] usize, 941 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 942 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 943 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 944 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 945 #[cfg(not(feature = "Win32_Foundation"))] usize, 946 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 947 #[cfg(not(feature = "Win32_Foundation"))] usize, 948 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 949 #[cfg(not(feature = "Win32_Foundation"))] usize, 950 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 951 #[cfg(not(feature = "Win32_Foundation"))] usize, 952 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 953 #[cfg(not(feature = "Win32_Foundation"))] usize, 954 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedguid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 955 #[cfg(not(feature = "Win32_Foundation"))] usize, 956 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 957 #[cfg(not(feature = "Win32_Foundation"))] usize, 958 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newparentpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 959 #[cfg(not(feature = "Win32_Foundation"))] usize, 960 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 961 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 962 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastwrite: *mut f64) -> ::windows::runtime::HRESULT, 963 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 964 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 965 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 966 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 967 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, syncsetting: *mut FEEDS_SYNC_SETTING) -> ::windows::runtime::HRESULT, 968 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, syncsetting: FEEDS_SYNC_SETTING) -> ::windows::runtime::HRESULT, 969 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, minutes: *mut i32) -> ::windows::runtime::HRESULT, 970 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, minutes: i32) -> ::windows::runtime::HRESULT, 971 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastdownload: *mut f64) -> ::windows::runtime::HRESULT, 972 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 973 #[cfg(not(feature = "Win32_Foundation"))] usize, 974 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 975 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 976 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemid: i32, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 977 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 978 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, title: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 979 #[cfg(not(feature = "Win32_Foundation"))] usize, 980 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 981 #[cfg(not(feature = "Win32_Foundation"))] usize, 982 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, homepage: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 983 #[cfg(not(feature = "Win32_Foundation"))] usize, 984 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 985 #[cfg(not(feature = "Win32_Foundation"))] usize, 986 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastbuilddate: *mut f64) -> ::windows::runtime::HRESULT, 987 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastpopulatedate: *mut f64) -> ::windows::runtime::HRESULT, 988 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ttl: *mut i32) -> ::windows::runtime::HRESULT, 989 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 990 #[cfg(not(feature = "Win32_Foundation"))] usize, 991 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copyright: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 992 #[cfg(not(feature = "Win32_Foundation"))] usize, 993 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT, 994 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32) -> ::windows::runtime::HRESULT, 995 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, downloadenclosuresautomatically: *mut i16) -> ::windows::runtime::HRESULT, 996 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, downloadenclosuresautomatically: i16) -> ::windows::runtime::HRESULT, 997 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, status: *mut FEEDS_DOWNLOAD_STATUS) -> ::windows::runtime::HRESULT, 998 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, error: *mut FEEDS_DOWNLOAD_ERROR) -> ::windows::runtime::HRESULT, 999 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedxml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, feedurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1000 #[cfg(not(feature = "Win32_Foundation"))] usize, 1001 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1002 #[cfg(not(feature = "Win32_Foundation"))] usize, 1003 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, islist: *mut i16) -> ::windows::runtime::HRESULT, 1004 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1005 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1006 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1007 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT, 1008 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT, 1009 ); 1010 #[repr(transparent)] 1011 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1012 pub struct IFeed2(::windows::runtime::IUnknown); 1013 impl IFeed2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1014 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 1015 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1016 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 1017 } 1018 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>1019 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> { 1020 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1021 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__) 1022 } 1023 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>1024 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 1025 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 1026 } 1027 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1028 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 1029 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 1030 } 1031 #[cfg(feature = "Win32_Foundation")] Xml(&self, count: i32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1032 pub unsafe fn Xml(&self, count: i32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1033 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1034 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), ::std::mem::transmute(sortproperty), ::std::mem::transmute(sortorder), ::std::mem::transmute(filterflags), ::std::mem::transmute(includeflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1035 } 1036 #[cfg(feature = "Win32_Foundation")] Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1037 pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1038 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1039 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1040 } 1041 #[cfg(feature = "Win32_Foundation")] Rename<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>1042 pub unsafe fn Rename<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> { 1043 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), name.into_param().abi()).ok() 1044 } 1045 #[cfg(feature = "Win32_Foundation")] Url(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1046 pub unsafe fn Url(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1047 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1048 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1049 } 1050 #[cfg(feature = "Win32_Foundation")] SetUrl<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedurl: Param0) -> ::windows::runtime::Result<()>1051 pub unsafe fn SetUrl<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedurl: Param0) -> ::windows::runtime::Result<()> { 1052 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), feedurl.into_param().abi()).ok() 1053 } 1054 #[cfg(feature = "Win32_Foundation")] LocalId(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1055 pub unsafe fn LocalId(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1056 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1057 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1058 } 1059 #[cfg(feature = "Win32_Foundation")] Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1060 pub unsafe fn Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1061 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1062 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1063 } 1064 #[cfg(feature = "Win32_Foundation")] Move<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newparentpath: Param0) -> ::windows::runtime::Result<()>1065 pub unsafe fn Move<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newparentpath: Param0) -> ::windows::runtime::Result<()> { 1066 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), newparentpath.into_param().abi()).ok() 1067 } 1068 #[cfg(feature = "Win32_System_Ole_Automation")] Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1069 pub unsafe fn Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1070 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1071 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1072 } LastWriteTime(&self) -> ::windows::runtime::Result<f64>1073 pub unsafe fn LastWriteTime(&self) -> ::windows::runtime::Result<f64> { 1074 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1075 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 1076 } Delete(&self) -> ::windows::runtime::Result<()>1077 pub unsafe fn Delete(&self) -> ::windows::runtime::Result<()> { 1078 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok() 1079 } Download(&self) -> ::windows::runtime::Result<()>1080 pub unsafe fn Download(&self) -> ::windows::runtime::Result<()> { 1081 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self)).ok() 1082 } AsyncDownload(&self) -> ::windows::runtime::Result<()>1083 pub unsafe fn AsyncDownload(&self) -> ::windows::runtime::Result<()> { 1084 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self)).ok() 1085 } CancelAsyncDownload(&self) -> ::windows::runtime::Result<()>1086 pub unsafe fn CancelAsyncDownload(&self) -> ::windows::runtime::Result<()> { 1087 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok() 1088 } SyncSetting(&self) -> ::windows::runtime::Result<FEEDS_SYNC_SETTING>1089 pub unsafe fn SyncSetting(&self) -> ::windows::runtime::Result<FEEDS_SYNC_SETTING> { 1090 let mut result__: <FEEDS_SYNC_SETTING as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1091 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FEEDS_SYNC_SETTING>(result__) 1092 } SetSyncSetting(&self, syncsetting: FEEDS_SYNC_SETTING) -> ::windows::runtime::Result<()>1093 pub unsafe fn SetSyncSetting(&self, syncsetting: FEEDS_SYNC_SETTING) -> ::windows::runtime::Result<()> { 1094 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(syncsetting)).ok() 1095 } Interval(&self) -> ::windows::runtime::Result<i32>1096 pub unsafe fn Interval(&self) -> ::windows::runtime::Result<i32> { 1097 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1098 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1099 } SetInterval(&self, minutes: i32) -> ::windows::runtime::Result<()>1100 pub unsafe fn SetInterval(&self, minutes: i32) -> ::windows::runtime::Result<()> { 1101 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(minutes)).ok() 1102 } LastDownloadTime(&self) -> ::windows::runtime::Result<f64>1103 pub unsafe fn LastDownloadTime(&self) -> ::windows::runtime::Result<f64> { 1104 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1105 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 1106 } 1107 #[cfg(feature = "Win32_Foundation")] LocalEnclosurePath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1108 pub unsafe fn LocalEnclosurePath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1109 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1110 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1111 } 1112 #[cfg(feature = "Win32_System_Ole_Automation")] Items(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1113 pub unsafe fn Items(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1114 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1115 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1116 } 1117 #[cfg(feature = "Win32_System_Ole_Automation")] GetItem(&self, itemid: i32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1118 pub unsafe fn GetItem(&self, itemid: i32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1119 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1120 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(itemid), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1121 } 1122 #[cfg(feature = "Win32_Foundation")] Title(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1123 pub unsafe fn Title(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1124 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1125 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1126 } 1127 #[cfg(feature = "Win32_Foundation")] Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1128 pub unsafe fn Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1129 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1130 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1131 } 1132 #[cfg(feature = "Win32_Foundation")] Link(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1133 pub unsafe fn Link(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1134 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1135 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1136 } 1137 #[cfg(feature = "Win32_Foundation")] Image(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1138 pub unsafe fn Image(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1139 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1140 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1141 } LastBuildDate(&self) -> ::windows::runtime::Result<f64>1142 pub unsafe fn LastBuildDate(&self) -> ::windows::runtime::Result<f64> { 1143 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1144 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 1145 } PubDate(&self) -> ::windows::runtime::Result<f64>1146 pub unsafe fn PubDate(&self) -> ::windows::runtime::Result<f64> { 1147 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1148 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 1149 } Ttl(&self) -> ::windows::runtime::Result<i32>1150 pub unsafe fn Ttl(&self) -> ::windows::runtime::Result<i32> { 1151 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1152 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1153 } 1154 #[cfg(feature = "Win32_Foundation")] Language(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1155 pub unsafe fn Language(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1156 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1157 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1158 } 1159 #[cfg(feature = "Win32_Foundation")] Copyright(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1160 pub unsafe fn Copyright(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1161 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1162 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1163 } MaxItemCount(&self) -> ::windows::runtime::Result<i32>1164 pub unsafe fn MaxItemCount(&self) -> ::windows::runtime::Result<i32> { 1165 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1166 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1167 } SetMaxItemCount(&self, count: i32) -> ::windows::runtime::Result<()>1168 pub unsafe fn SetMaxItemCount(&self, count: i32) -> ::windows::runtime::Result<()> { 1169 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(count)).ok() 1170 } DownloadEnclosuresAutomatically(&self) -> ::windows::runtime::Result<i16>1171 pub unsafe fn DownloadEnclosuresAutomatically(&self) -> ::windows::runtime::Result<i16> { 1172 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1173 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1174 } SetDownloadEnclosuresAutomatically(&self, downloadenclosuresautomatically: i16) -> ::windows::runtime::Result<()>1175 pub unsafe fn SetDownloadEnclosuresAutomatically(&self, downloadenclosuresautomatically: i16) -> ::windows::runtime::Result<()> { 1176 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(downloadenclosuresautomatically)).ok() 1177 } DownloadStatus(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_STATUS>1178 pub unsafe fn DownloadStatus(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_STATUS> { 1179 let mut result__: <FEEDS_DOWNLOAD_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1180 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FEEDS_DOWNLOAD_STATUS>(result__) 1181 } LastDownloadError(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_ERROR>1182 pub unsafe fn LastDownloadError(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_ERROR> { 1183 let mut result__: <FEEDS_DOWNLOAD_ERROR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1184 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FEEDS_DOWNLOAD_ERROR>(result__) 1185 } 1186 #[cfg(feature = "Win32_Foundation")] Merge<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedxml: Param0, feedurl: Param1) -> ::windows::runtime::Result<()>1187 pub unsafe fn Merge<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedxml: Param0, feedurl: Param1) -> ::windows::runtime::Result<()> { 1188 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), feedxml.into_param().abi(), feedurl.into_param().abi()).ok() 1189 } 1190 #[cfg(feature = "Win32_Foundation")] DownloadUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1191 pub unsafe fn DownloadUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1192 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1193 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1194 } IsList(&self) -> ::windows::runtime::Result<i16>1195 pub unsafe fn IsList(&self) -> ::windows::runtime::Result<i16> { 1196 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1197 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1198 } MarkAllItemsRead(&self) -> ::windows::runtime::Result<()>1199 pub unsafe fn MarkAllItemsRead(&self) -> ::windows::runtime::Result<()> { 1200 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self)).ok() 1201 } 1202 #[cfg(feature = "Win32_System_Ole_Automation")] GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1203 pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1204 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1205 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), ::std::mem::transmute(scope), ::std::mem::transmute(mask), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1206 } UnreadItemCount(&self) -> ::windows::runtime::Result<i32>1207 pub unsafe fn UnreadItemCount(&self) -> ::windows::runtime::Result<i32> { 1208 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1209 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1210 } ItemCount(&self) -> ::windows::runtime::Result<i32>1211 pub unsafe fn ItemCount(&self) -> ::windows::runtime::Result<i32> { 1212 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1213 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1214 } 1215 #[cfg(feature = "Win32_System_Ole_Automation")] GetItemByEffectiveId(&self, itemeffectiveid: i32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1216 pub unsafe fn GetItemByEffectiveId(&self, itemeffectiveid: i32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1217 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1218 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(itemeffectiveid), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1219 } LastItemDownloadTime(&self) -> ::windows::runtime::Result<f64>1220 pub unsafe fn LastItemDownloadTime(&self) -> ::windows::runtime::Result<f64> { 1221 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1222 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 1223 } 1224 #[cfg(feature = "Win32_Foundation")] Username(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1225 pub unsafe fn Username(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1226 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1227 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1228 } 1229 #[cfg(feature = "Win32_Foundation")] Password(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1230 pub unsafe fn Password(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1231 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1232 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1233 } 1234 #[cfg(feature = "Win32_Foundation")] SetCredentials<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, username: Param0, password: Param1) -> ::windows::runtime::Result<()>1235 pub unsafe fn SetCredentials<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, username: Param0, password: Param1) -> ::windows::runtime::Result<()> { 1236 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), username.into_param().abi(), password.into_param().abi()).ok() 1237 } ClearCredentials(&self) -> ::windows::runtime::Result<()>1238 pub unsafe fn ClearCredentials(&self) -> ::windows::runtime::Result<()> { 1239 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self)).ok() 1240 } 1241 } 1242 unsafe impl ::windows::runtime::Interface for IFeed2 { 1243 type Vtable = IFeed2_abi; 1244 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(871557641, 5016, 19129, [182, 164, 249, 75, 73, 208, 164, 46]); 1245 } 1246 impl ::std::convert::From<IFeed2> for ::windows::runtime::IUnknown { from(value: IFeed2) -> Self1247 fn from(value: IFeed2) -> Self { 1248 unsafe { ::std::mem::transmute(value) } 1249 } 1250 } 1251 impl ::std::convert::From<&IFeed2> for ::windows::runtime::IUnknown { from(value: &IFeed2) -> Self1252 fn from(value: &IFeed2) -> Self { 1253 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1254 } 1255 } 1256 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFeed2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1257 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1258 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1259 } 1260 } 1261 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFeed2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1262 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1263 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1264 } 1265 } 1266 impl ::std::convert::From<IFeed2> for IFeed { from(value: IFeed2) -> Self1267 fn from(value: IFeed2) -> Self { 1268 unsafe { ::std::mem::transmute(value) } 1269 } 1270 } 1271 impl ::std::convert::From<&IFeed2> for IFeed { from(value: &IFeed2) -> Self1272 fn from(value: &IFeed2) -> Self { 1273 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1274 } 1275 } 1276 impl<'a> ::windows::runtime::IntoParam<'a, IFeed> for IFeed2 { into_param(self) -> ::windows::runtime::Param<'a, IFeed>1277 fn into_param(self) -> ::windows::runtime::Param<'a, IFeed> { 1278 ::windows::runtime::Param::Owned(::std::convert::Into::<IFeed>::into(self)) 1279 } 1280 } 1281 impl<'a> ::windows::runtime::IntoParam<'a, IFeed> for &IFeed2 { into_param(self) -> ::windows::runtime::Param<'a, IFeed>1282 fn into_param(self) -> ::windows::runtime::Param<'a, IFeed> { 1283 ::windows::runtime::Param::Owned(::std::convert::Into::<IFeed>::into(::std::clone::Clone::clone(self))) 1284 } 1285 } 1286 #[cfg(feature = "Win32_System_Ole_Automation")] 1287 impl ::std::convert::From<IFeed2> for super::super::System::Ole::Automation::IDispatch { from(value: IFeed2) -> Self1288 fn from(value: IFeed2) -> Self { 1289 unsafe { ::std::mem::transmute(value) } 1290 } 1291 } 1292 #[cfg(feature = "Win32_System_Ole_Automation")] 1293 impl ::std::convert::From<&IFeed2> for super::super::System::Ole::Automation::IDispatch { from(value: &IFeed2) -> Self1294 fn from(value: &IFeed2) -> Self { 1295 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1296 } 1297 } 1298 #[cfg(feature = "Win32_System_Ole_Automation")] 1299 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFeed2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1300 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 1301 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 1302 } 1303 } 1304 #[cfg(feature = "Win32_System_Ole_Automation")] 1305 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFeed2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1306 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 1307 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1308 } 1309 } 1310 #[repr(C)] 1311 #[doc(hidden)] 1312 pub struct IFeed2_abi( 1313 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1314 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1315 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1316 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1317 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1318 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1319 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1320 #[cfg(not(feature = "Win32_Foundation"))] usize, 1321 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1322 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1323 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1324 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, sortproperty: FEEDS_XML_SORT_PROPERTY, sortorder: FEEDS_XML_SORT_ORDER, filterflags: FEEDS_XML_FILTER_FLAGS, includeflags: FEEDS_XML_INCLUDE_FLAGS, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1325 #[cfg(not(feature = "Win32_Foundation"))] usize, 1326 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1327 #[cfg(not(feature = "Win32_Foundation"))] usize, 1328 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1329 #[cfg(not(feature = "Win32_Foundation"))] usize, 1330 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1331 #[cfg(not(feature = "Win32_Foundation"))] usize, 1332 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1333 #[cfg(not(feature = "Win32_Foundation"))] usize, 1334 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedguid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1335 #[cfg(not(feature = "Win32_Foundation"))] usize, 1336 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1337 #[cfg(not(feature = "Win32_Foundation"))] usize, 1338 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newparentpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1339 #[cfg(not(feature = "Win32_Foundation"))] usize, 1340 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1341 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1342 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastwrite: *mut f64) -> ::windows::runtime::HRESULT, 1343 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1344 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1345 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1346 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1347 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, syncsetting: *mut FEEDS_SYNC_SETTING) -> ::windows::runtime::HRESULT, 1348 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, syncsetting: FEEDS_SYNC_SETTING) -> ::windows::runtime::HRESULT, 1349 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, minutes: *mut i32) -> ::windows::runtime::HRESULT, 1350 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, minutes: i32) -> ::windows::runtime::HRESULT, 1351 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastdownload: *mut f64) -> ::windows::runtime::HRESULT, 1352 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1353 #[cfg(not(feature = "Win32_Foundation"))] usize, 1354 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1355 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1356 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemid: i32, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1357 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1358 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, title: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1359 #[cfg(not(feature = "Win32_Foundation"))] usize, 1360 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1361 #[cfg(not(feature = "Win32_Foundation"))] usize, 1362 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, homepage: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1363 #[cfg(not(feature = "Win32_Foundation"))] usize, 1364 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, imageurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1365 #[cfg(not(feature = "Win32_Foundation"))] usize, 1366 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastbuilddate: *mut f64) -> ::windows::runtime::HRESULT, 1367 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastpopulatedate: *mut f64) -> ::windows::runtime::HRESULT, 1368 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ttl: *mut i32) -> ::windows::runtime::HRESULT, 1369 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, language: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1370 #[cfg(not(feature = "Win32_Foundation"))] usize, 1371 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, copyright: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1372 #[cfg(not(feature = "Win32_Foundation"))] usize, 1373 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT, 1374 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32) -> ::windows::runtime::HRESULT, 1375 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, downloadenclosuresautomatically: *mut i16) -> ::windows::runtime::HRESULT, 1376 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, downloadenclosuresautomatically: i16) -> ::windows::runtime::HRESULT, 1377 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, status: *mut FEEDS_DOWNLOAD_STATUS) -> ::windows::runtime::HRESULT, 1378 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, error: *mut FEEDS_DOWNLOAD_ERROR) -> ::windows::runtime::HRESULT, 1379 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedxml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, feedurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1380 #[cfg(not(feature = "Win32_Foundation"))] usize, 1381 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1382 #[cfg(not(feature = "Win32_Foundation"))] usize, 1383 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, islist: *mut i16) -> ::windows::runtime::HRESULT, 1384 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1385 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1386 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1387 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT, 1388 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT, 1389 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemeffectiveid: i32, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1390 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1391 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastitemdownloadtime: *mut f64) -> ::windows::runtime::HRESULT, 1392 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, username: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1393 #[cfg(not(feature = "Win32_Foundation"))] usize, 1394 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, password: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1395 #[cfg(not(feature = "Win32_Foundation"))] usize, 1396 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, username: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, password: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1397 #[cfg(not(feature = "Win32_Foundation"))] usize, 1398 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1399 ); 1400 #[repr(transparent)] 1401 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1402 pub struct IFeedEnclosure(::windows::runtime::IUnknown); 1403 impl IFeedEnclosure { 1404 #[cfg(feature = "Win32_Foundation")] Url(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1405 pub unsafe fn Url(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1406 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1407 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1408 } 1409 #[cfg(feature = "Win32_Foundation")] Type(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1410 pub unsafe fn Type(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1411 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1412 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1413 } Length(&self) -> ::windows::runtime::Result<i32>1414 pub unsafe fn Length(&self) -> ::windows::runtime::Result<i32> { 1415 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1416 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1417 } AsyncDownload(&self) -> ::windows::runtime::Result<()>1418 pub unsafe fn AsyncDownload(&self) -> ::windows::runtime::Result<()> { 1419 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok() 1420 } CancelAsyncDownload(&self) -> ::windows::runtime::Result<()>1421 pub unsafe fn CancelAsyncDownload(&self) -> ::windows::runtime::Result<()> { 1422 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok() 1423 } DownloadStatus(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_STATUS>1424 pub unsafe fn DownloadStatus(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_STATUS> { 1425 let mut result__: <FEEDS_DOWNLOAD_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1426 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FEEDS_DOWNLOAD_STATUS>(result__) 1427 } LastDownloadError(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_ERROR>1428 pub unsafe fn LastDownloadError(&self) -> ::windows::runtime::Result<FEEDS_DOWNLOAD_ERROR> { 1429 let mut result__: <FEEDS_DOWNLOAD_ERROR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1430 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FEEDS_DOWNLOAD_ERROR>(result__) 1431 } 1432 #[cfg(feature = "Win32_Foundation")] LocalPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1433 pub unsafe fn LocalPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1434 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1435 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1436 } 1437 #[cfg(feature = "Win32_System_Ole_Automation")] Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1438 pub unsafe fn Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1439 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1440 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1441 } 1442 #[cfg(feature = "Win32_Foundation")] DownloadUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1443 pub unsafe fn DownloadUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1444 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1445 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1446 } 1447 #[cfg(feature = "Win32_Foundation")] DownloadMimeType(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1448 pub unsafe fn DownloadMimeType(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1449 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1450 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1451 } RemoveFile(&self) -> ::windows::runtime::Result<()>1452 pub unsafe fn RemoveFile(&self) -> ::windows::runtime::Result<()> { 1453 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self)).ok() 1454 } 1455 #[cfg(feature = "Win32_Foundation")] SetFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, downloadurl: Param0, downloadfilepath: Param1, downloadmimetype: Param2, enclosurefilename: Param3) -> ::windows::runtime::Result<()>1456 pub unsafe fn SetFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, downloadurl: Param0, downloadfilepath: Param1, downloadmimetype: Param2, enclosurefilename: Param3) -> ::windows::runtime::Result<()> { 1457 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), downloadurl.into_param().abi(), downloadfilepath.into_param().abi(), downloadmimetype.into_param().abi(), enclosurefilename.into_param().abi()).ok() 1458 } 1459 } 1460 unsafe impl ::windows::runtime::Interface for IFeedEnclosure { 1461 type Vtable = IFeedEnclosure_abi; 1462 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(907814647, 37028, 20071, [174, 9, 58, 54, 165, 70, 67, 106]); 1463 } 1464 impl ::std::convert::From<IFeedEnclosure> for ::windows::runtime::IUnknown { from(value: IFeedEnclosure) -> Self1465 fn from(value: IFeedEnclosure) -> Self { 1466 unsafe { ::std::mem::transmute(value) } 1467 } 1468 } 1469 impl ::std::convert::From<&IFeedEnclosure> for ::windows::runtime::IUnknown { from(value: &IFeedEnclosure) -> Self1470 fn from(value: &IFeedEnclosure) -> Self { 1471 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1472 } 1473 } 1474 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFeedEnclosure { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1475 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1476 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1477 } 1478 } 1479 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFeedEnclosure { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1480 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1481 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1482 } 1483 } 1484 #[cfg(feature = "Win32_System_Ole_Automation")] 1485 impl ::std::convert::From<IFeedEnclosure> for super::super::System::Ole::Automation::IDispatch { from(value: IFeedEnclosure) -> Self1486 fn from(value: IFeedEnclosure) -> Self { 1487 unsafe { ::std::mem::transmute(value) } 1488 } 1489 } 1490 #[cfg(feature = "Win32_System_Ole_Automation")] 1491 impl ::std::convert::From<&IFeedEnclosure> for super::super::System::Ole::Automation::IDispatch { from(value: &IFeedEnclosure) -> Self1492 fn from(value: &IFeedEnclosure) -> Self { 1493 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1494 } 1495 } 1496 #[cfg(feature = "Win32_System_Ole_Automation")] 1497 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFeedEnclosure { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1498 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 1499 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 1500 } 1501 } 1502 #[cfg(feature = "Win32_System_Ole_Automation")] 1503 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFeedEnclosure { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1504 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 1505 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1506 } 1507 } 1508 #[repr(C)] 1509 #[doc(hidden)] 1510 pub struct IFeedEnclosure_abi( 1511 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1512 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1513 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1514 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1515 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1516 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1517 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1518 #[cfg(not(feature = "Win32_Foundation"))] usize, 1519 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1520 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1521 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1522 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enclosureurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1523 #[cfg(not(feature = "Win32_Foundation"))] usize, 1524 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mimetype: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1525 #[cfg(not(feature = "Win32_Foundation"))] usize, 1526 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, length: *mut i32) -> ::windows::runtime::HRESULT, 1527 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1528 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1529 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, status: *mut FEEDS_DOWNLOAD_STATUS) -> ::windows::runtime::HRESULT, 1530 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, error: *mut FEEDS_DOWNLOAD_ERROR) -> ::windows::runtime::HRESULT, 1531 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, localpath: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1532 #[cfg(not(feature = "Win32_Foundation"))] usize, 1533 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1534 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1535 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enclosureurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1536 #[cfg(not(feature = "Win32_Foundation"))] usize, 1537 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mimetype: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1538 #[cfg(not(feature = "Win32_Foundation"))] usize, 1539 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1540 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, downloadurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, downloadfilepath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, downloadmimetype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, enclosurefilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1541 #[cfg(not(feature = "Win32_Foundation"))] usize, 1542 ); 1543 #[repr(transparent)] 1544 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1545 pub struct IFeedEvents(::windows::runtime::IUnknown); 1546 impl IFeedEvents { Error(&self) -> ::windows::runtime::Result<()>1547 pub unsafe fn Error(&self) -> ::windows::runtime::Result<()> { 1548 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok() 1549 } 1550 #[cfg(feature = "Win32_Foundation")] FeedDeleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1551 pub unsafe fn FeedDeleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> { 1552 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), path.into_param().abi()).ok() 1553 } 1554 #[cfg(feature = "Win32_Foundation")] FeedRenamed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()>1555 pub unsafe fn FeedRenamed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()> { 1556 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), path.into_param().abi(), oldpath.into_param().abi()).ok() 1557 } 1558 #[cfg(feature = "Win32_Foundation")] FeedUrlChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1559 pub unsafe fn FeedUrlChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> { 1560 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), path.into_param().abi()).ok() 1561 } 1562 #[cfg(feature = "Win32_Foundation")] FeedMoved<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()>1563 pub unsafe fn FeedMoved<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()> { 1564 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), path.into_param().abi(), oldpath.into_param().abi()).ok() 1565 } 1566 #[cfg(feature = "Win32_Foundation")] FeedDownloading<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1567 pub unsafe fn FeedDownloading<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> { 1568 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), path.into_param().abi()).ok() 1569 } 1570 #[cfg(feature = "Win32_Foundation")] FeedDownloadCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, error: FEEDS_DOWNLOAD_ERROR) -> ::windows::runtime::Result<()>1571 pub unsafe fn FeedDownloadCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, error: FEEDS_DOWNLOAD_ERROR) -> ::windows::runtime::Result<()> { 1572 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), path.into_param().abi(), ::std::mem::transmute(error)).ok() 1573 } 1574 #[cfg(feature = "Win32_Foundation")] FeedItemCountChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, itemcounttype: i32) -> ::windows::runtime::Result<()>1575 pub unsafe fn FeedItemCountChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, itemcounttype: i32) -> ::windows::runtime::Result<()> { 1576 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), path.into_param().abi(), ::std::mem::transmute(itemcounttype)).ok() 1577 } 1578 } 1579 unsafe impl ::windows::runtime::Interface for IFeedEvents { 1580 type Vtable = IFeedEvents_abi; 1581 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2884852889, 1665, 18410, [154, 140, 20, 54, 163, 117, 169, 158]); 1582 } 1583 impl ::std::convert::From<IFeedEvents> for ::windows::runtime::IUnknown { from(value: IFeedEvents) -> Self1584 fn from(value: IFeedEvents) -> Self { 1585 unsafe { ::std::mem::transmute(value) } 1586 } 1587 } 1588 impl ::std::convert::From<&IFeedEvents> for ::windows::runtime::IUnknown { from(value: &IFeedEvents) -> Self1589 fn from(value: &IFeedEvents) -> Self { 1590 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1591 } 1592 } 1593 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFeedEvents { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1594 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1595 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1596 } 1597 } 1598 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFeedEvents { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1599 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1600 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1601 } 1602 } 1603 #[cfg(feature = "Win32_System_Ole_Automation")] 1604 impl ::std::convert::From<IFeedEvents> for super::super::System::Ole::Automation::IDispatch { from(value: IFeedEvents) -> Self1605 fn from(value: IFeedEvents) -> Self { 1606 unsafe { ::std::mem::transmute(value) } 1607 } 1608 } 1609 #[cfg(feature = "Win32_System_Ole_Automation")] 1610 impl ::std::convert::From<&IFeedEvents> for super::super::System::Ole::Automation::IDispatch { from(value: &IFeedEvents) -> Self1611 fn from(value: &IFeedEvents) -> Self { 1612 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1613 } 1614 } 1615 #[cfg(feature = "Win32_System_Ole_Automation")] 1616 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFeedEvents { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1617 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 1618 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 1619 } 1620 } 1621 #[cfg(feature = "Win32_System_Ole_Automation")] 1622 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFeedEvents { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1623 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 1624 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1625 } 1626 } 1627 #[repr(C)] 1628 #[doc(hidden)] 1629 pub struct IFeedEvents_abi( 1630 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1631 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1632 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1633 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1634 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1635 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1636 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1637 #[cfg(not(feature = "Win32_Foundation"))] usize, 1638 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1639 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1640 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1641 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1642 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1643 #[cfg(not(feature = "Win32_Foundation"))] usize, 1644 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, oldpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1645 #[cfg(not(feature = "Win32_Foundation"))] usize, 1646 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1647 #[cfg(not(feature = "Win32_Foundation"))] usize, 1648 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, oldpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1649 #[cfg(not(feature = "Win32_Foundation"))] usize, 1650 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1651 #[cfg(not(feature = "Win32_Foundation"))] usize, 1652 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, error: FEEDS_DOWNLOAD_ERROR) -> ::windows::runtime::HRESULT, 1653 #[cfg(not(feature = "Win32_Foundation"))] usize, 1654 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, itemcounttype: i32) -> ::windows::runtime::HRESULT, 1655 #[cfg(not(feature = "Win32_Foundation"))] usize, 1656 ); 1657 #[repr(transparent)] 1658 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1659 pub struct IFeedFolder(::windows::runtime::IUnknown); 1660 impl IFeedFolder { 1661 #[cfg(feature = "Win32_System_Ole_Automation")] Feeds(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1662 pub unsafe fn Feeds(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1663 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1664 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1665 } 1666 #[cfg(feature = "Win32_System_Ole_Automation")] Subfolders(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1667 pub unsafe fn Subfolders(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1668 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1669 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1670 } 1671 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] CreateFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedname: Param0, feedurl: Param1) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1672 pub unsafe fn CreateFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedname: Param0, feedurl: Param1) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1673 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1674 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), feedname.into_param().abi(), feedurl.into_param().abi(), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1675 } 1676 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] CreateSubfolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, foldername: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1677 pub unsafe fn CreateSubfolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, foldername: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1678 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1679 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), foldername.into_param().abi(), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1680 } 1681 #[cfg(feature = "Win32_Foundation")] ExistsFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedname: Param0) -> ::windows::runtime::Result<i16>1682 pub unsafe fn ExistsFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedname: Param0) -> ::windows::runtime::Result<i16> { 1683 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1684 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), feedname.into_param().abi(), &mut result__).from_abi::<i16>(result__) 1685 } 1686 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] GetFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedname: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1687 pub unsafe fn GetFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedname: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1688 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1689 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), feedname.into_param().abi(), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1690 } 1691 #[cfg(feature = "Win32_Foundation")] ExistsSubfolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, foldername: Param0) -> ::windows::runtime::Result<i16>1692 pub unsafe fn ExistsSubfolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, foldername: Param0) -> ::windows::runtime::Result<i16> { 1693 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1694 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), foldername.into_param().abi(), &mut result__).from_abi::<i16>(result__) 1695 } 1696 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] GetSubfolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, foldername: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1697 pub unsafe fn GetSubfolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, foldername: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1698 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1699 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), foldername.into_param().abi(), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1700 } Delete(&self) -> ::windows::runtime::Result<()>1701 pub unsafe fn Delete(&self) -> ::windows::runtime::Result<()> { 1702 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok() 1703 } 1704 #[cfg(feature = "Win32_Foundation")] Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1705 pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1706 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1707 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1708 } 1709 #[cfg(feature = "Win32_Foundation")] Rename<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, foldername: Param0) -> ::windows::runtime::Result<()>1710 pub unsafe fn Rename<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, foldername: Param0) -> ::windows::runtime::Result<()> { 1711 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), foldername.into_param().abi()).ok() 1712 } 1713 #[cfg(feature = "Win32_Foundation")] Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1714 pub unsafe fn Path(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 1715 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1716 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 1717 } 1718 #[cfg(feature = "Win32_Foundation")] Move<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newparentpath: Param0) -> ::windows::runtime::Result<()>1719 pub unsafe fn Move<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newparentpath: Param0) -> ::windows::runtime::Result<()> { 1720 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), newparentpath.into_param().abi()).ok() 1721 } 1722 #[cfg(feature = "Win32_System_Ole_Automation")] Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1723 pub unsafe fn Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1724 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1725 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1726 } IsRoot(&self) -> ::windows::runtime::Result<i16>1727 pub unsafe fn IsRoot(&self) -> ::windows::runtime::Result<i16> { 1728 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1729 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 1730 } TotalUnreadItemCount(&self) -> ::windows::runtime::Result<i32>1731 pub unsafe fn TotalUnreadItemCount(&self) -> ::windows::runtime::Result<i32> { 1732 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1733 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1734 } TotalItemCount(&self) -> ::windows::runtime::Result<i32>1735 pub unsafe fn TotalItemCount(&self) -> ::windows::runtime::Result<i32> { 1736 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1737 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1738 } 1739 #[cfg(feature = "Win32_System_Ole_Automation")] GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>1740 pub unsafe fn GetWatcher(&self, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 1741 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1742 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(scope), ::std::mem::transmute(mask), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 1743 } 1744 } 1745 unsafe impl ::windows::runtime::Interface for IFeedFolder { 1746 type Vtable = IFeedFolder_abi; 1747 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2180008657, 16788, 19837, [134, 214, 17, 129, 60, 236, 22, 60]); 1748 } 1749 impl ::std::convert::From<IFeedFolder> for ::windows::runtime::IUnknown { from(value: IFeedFolder) -> Self1750 fn from(value: IFeedFolder) -> Self { 1751 unsafe { ::std::mem::transmute(value) } 1752 } 1753 } 1754 impl ::std::convert::From<&IFeedFolder> for ::windows::runtime::IUnknown { from(value: &IFeedFolder) -> Self1755 fn from(value: &IFeedFolder) -> Self { 1756 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1757 } 1758 } 1759 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFeedFolder { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1760 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1761 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1762 } 1763 } 1764 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFeedFolder { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1765 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1766 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1767 } 1768 } 1769 #[cfg(feature = "Win32_System_Ole_Automation")] 1770 impl ::std::convert::From<IFeedFolder> for super::super::System::Ole::Automation::IDispatch { from(value: IFeedFolder) -> Self1771 fn from(value: IFeedFolder) -> Self { 1772 unsafe { ::std::mem::transmute(value) } 1773 } 1774 } 1775 #[cfg(feature = "Win32_System_Ole_Automation")] 1776 impl ::std::convert::From<&IFeedFolder> for super::super::System::Ole::Automation::IDispatch { from(value: &IFeedFolder) -> Self1777 fn from(value: &IFeedFolder) -> Self { 1778 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1779 } 1780 } 1781 #[cfg(feature = "Win32_System_Ole_Automation")] 1782 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFeedFolder { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1783 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 1784 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 1785 } 1786 } 1787 #[cfg(feature = "Win32_System_Ole_Automation")] 1788 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFeedFolder { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1789 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 1790 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1791 } 1792 } 1793 #[repr(C)] 1794 #[doc(hidden)] 1795 pub struct IFeedFolder_abi( 1796 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1797 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1798 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1799 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1800 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1801 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1802 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1803 #[cfg(not(feature = "Win32_Foundation"))] usize, 1804 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1805 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1806 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1807 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1808 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1809 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1810 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1811 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, feedurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1812 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize, 1813 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, foldername: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1814 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize, 1815 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, exists: *mut i16) -> ::windows::runtime::HRESULT, 1816 #[cfg(not(feature = "Win32_Foundation"))] usize, 1817 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1818 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize, 1819 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, foldername: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, exists: *mut i16) -> ::windows::runtime::HRESULT, 1820 #[cfg(not(feature = "Win32_Foundation"))] usize, 1821 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, foldername: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1822 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize, 1823 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1824 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, foldername: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1825 #[cfg(not(feature = "Win32_Foundation"))] usize, 1826 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, foldername: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1827 #[cfg(not(feature = "Win32_Foundation"))] usize, 1828 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, folderpath: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1829 #[cfg(not(feature = "Win32_Foundation"))] usize, 1830 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newparentpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1831 #[cfg(not(feature = "Win32_Foundation"))] usize, 1832 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1833 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1834 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isroot: *mut i16) -> ::windows::runtime::HRESULT, 1835 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT, 1836 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT, 1837 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, scope: FEEDS_EVENTS_SCOPE, mask: FEEDS_EVENTS_MASK, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1838 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1839 ); 1840 #[repr(transparent)] 1841 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1842 pub struct IFeedFolderEvents(::windows::runtime::IUnknown); 1843 impl IFeedFolderEvents { Error(&self) -> ::windows::runtime::Result<()>1844 pub unsafe fn Error(&self) -> ::windows::runtime::Result<()> { 1845 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok() 1846 } 1847 #[cfg(feature = "Win32_Foundation")] FolderAdded<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1848 pub unsafe fn FolderAdded<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> { 1849 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), path.into_param().abi()).ok() 1850 } 1851 #[cfg(feature = "Win32_Foundation")] FolderDeleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1852 pub unsafe fn FolderDeleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> { 1853 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), path.into_param().abi()).ok() 1854 } 1855 #[cfg(feature = "Win32_Foundation")] FolderRenamed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()>1856 pub unsafe fn FolderRenamed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()> { 1857 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), path.into_param().abi(), oldpath.into_param().abi()).ok() 1858 } 1859 #[cfg(feature = "Win32_Foundation")] FolderMovedFrom<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()>1860 pub unsafe fn FolderMovedFrom<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()> { 1861 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), path.into_param().abi(), oldpath.into_param().abi()).ok() 1862 } 1863 #[cfg(feature = "Win32_Foundation")] FolderMovedTo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()>1864 pub unsafe fn FolderMovedTo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()> { 1865 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), path.into_param().abi(), oldpath.into_param().abi()).ok() 1866 } 1867 #[cfg(feature = "Win32_Foundation")] FolderItemCountChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, itemcounttype: i32) -> ::windows::runtime::Result<()>1868 pub unsafe fn FolderItemCountChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, itemcounttype: i32) -> ::windows::runtime::Result<()> { 1869 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), path.into_param().abi(), ::std::mem::transmute(itemcounttype)).ok() 1870 } 1871 #[cfg(feature = "Win32_Foundation")] FeedAdded<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1872 pub unsafe fn FeedAdded<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> { 1873 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), path.into_param().abi()).ok() 1874 } 1875 #[cfg(feature = "Win32_Foundation")] FeedDeleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1876 pub unsafe fn FeedDeleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> { 1877 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), path.into_param().abi()).ok() 1878 } 1879 #[cfg(feature = "Win32_Foundation")] FeedRenamed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()>1880 pub unsafe fn FeedRenamed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()> { 1881 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), path.into_param().abi(), oldpath.into_param().abi()).ok() 1882 } 1883 #[cfg(feature = "Win32_Foundation")] FeedUrlChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1884 pub unsafe fn FeedUrlChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> { 1885 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), path.into_param().abi()).ok() 1886 } 1887 #[cfg(feature = "Win32_Foundation")] FeedMovedFrom<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()>1888 pub unsafe fn FeedMovedFrom<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()> { 1889 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), path.into_param().abi(), oldpath.into_param().abi()).ok() 1890 } 1891 #[cfg(feature = "Win32_Foundation")] FeedMovedTo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()>1892 pub unsafe fn FeedMovedTo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, oldpath: Param1) -> ::windows::runtime::Result<()> { 1893 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), path.into_param().abi(), oldpath.into_param().abi()).ok() 1894 } 1895 #[cfg(feature = "Win32_Foundation")] FeedDownloading<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()>1896 pub unsafe fn FeedDownloading<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0) -> ::windows::runtime::Result<()> { 1897 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), path.into_param().abi()).ok() 1898 } 1899 #[cfg(feature = "Win32_Foundation")] FeedDownloadCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, error: FEEDS_DOWNLOAD_ERROR) -> ::windows::runtime::Result<()>1900 pub unsafe fn FeedDownloadCompleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, error: FEEDS_DOWNLOAD_ERROR) -> ::windows::runtime::Result<()> { 1901 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), path.into_param().abi(), ::std::mem::transmute(error)).ok() 1902 } 1903 #[cfg(feature = "Win32_Foundation")] FeedItemCountChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, itemcounttype: i32) -> ::windows::runtime::Result<()>1904 pub unsafe fn FeedItemCountChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, path: Param0, itemcounttype: i32) -> ::windows::runtime::Result<()> { 1905 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), path.into_param().abi(), ::std::mem::transmute(itemcounttype)).ok() 1906 } 1907 } 1908 unsafe impl ::windows::runtime::Interface for IFeedFolderEvents { 1909 type Vtable = IFeedFolderEvents_abi; 1910 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(547725222, 43076, 17968, [158, 152, 23, 95, 112, 180, 213, 91]); 1911 } 1912 impl ::std::convert::From<IFeedFolderEvents> for ::windows::runtime::IUnknown { from(value: IFeedFolderEvents) -> Self1913 fn from(value: IFeedFolderEvents) -> Self { 1914 unsafe { ::std::mem::transmute(value) } 1915 } 1916 } 1917 impl ::std::convert::From<&IFeedFolderEvents> for ::windows::runtime::IUnknown { from(value: &IFeedFolderEvents) -> Self1918 fn from(value: &IFeedFolderEvents) -> Self { 1919 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1920 } 1921 } 1922 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFeedFolderEvents { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1923 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1924 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1925 } 1926 } 1927 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFeedFolderEvents { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1928 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1929 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1930 } 1931 } 1932 #[cfg(feature = "Win32_System_Ole_Automation")] 1933 impl ::std::convert::From<IFeedFolderEvents> for super::super::System::Ole::Automation::IDispatch { from(value: IFeedFolderEvents) -> Self1934 fn from(value: IFeedFolderEvents) -> Self { 1935 unsafe { ::std::mem::transmute(value) } 1936 } 1937 } 1938 #[cfg(feature = "Win32_System_Ole_Automation")] 1939 impl ::std::convert::From<&IFeedFolderEvents> for super::super::System::Ole::Automation::IDispatch { from(value: &IFeedFolderEvents) -> Self1940 fn from(value: &IFeedFolderEvents) -> Self { 1941 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1942 } 1943 } 1944 #[cfg(feature = "Win32_System_Ole_Automation")] 1945 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFeedFolderEvents { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1946 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 1947 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 1948 } 1949 } 1950 #[cfg(feature = "Win32_System_Ole_Automation")] 1951 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFeedFolderEvents { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>1952 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 1953 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1954 } 1955 } 1956 #[repr(C)] 1957 #[doc(hidden)] 1958 pub struct IFeedFolderEvents_abi( 1959 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1960 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1961 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1962 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1963 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1964 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1965 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1966 #[cfg(not(feature = "Win32_Foundation"))] usize, 1967 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1968 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1969 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1970 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1971 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1972 #[cfg(not(feature = "Win32_Foundation"))] usize, 1973 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1974 #[cfg(not(feature = "Win32_Foundation"))] usize, 1975 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, oldpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1976 #[cfg(not(feature = "Win32_Foundation"))] usize, 1977 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, oldpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1978 #[cfg(not(feature = "Win32_Foundation"))] usize, 1979 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, oldpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1980 #[cfg(not(feature = "Win32_Foundation"))] usize, 1981 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, itemcounttype: i32) -> ::windows::runtime::HRESULT, 1982 #[cfg(not(feature = "Win32_Foundation"))] usize, 1983 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1984 #[cfg(not(feature = "Win32_Foundation"))] usize, 1985 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1986 #[cfg(not(feature = "Win32_Foundation"))] usize, 1987 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, oldpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1988 #[cfg(not(feature = "Win32_Foundation"))] usize, 1989 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1990 #[cfg(not(feature = "Win32_Foundation"))] usize, 1991 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, oldpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1992 #[cfg(not(feature = "Win32_Foundation"))] usize, 1993 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, oldpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1994 #[cfg(not(feature = "Win32_Foundation"))] usize, 1995 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 1996 #[cfg(not(feature = "Win32_Foundation"))] usize, 1997 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, error: FEEDS_DOWNLOAD_ERROR) -> ::windows::runtime::HRESULT, 1998 #[cfg(not(feature = "Win32_Foundation"))] usize, 1999 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, path: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, itemcounttype: i32) -> ::windows::runtime::HRESULT, 2000 #[cfg(not(feature = "Win32_Foundation"))] usize, 2001 ); 2002 #[repr(transparent)] 2003 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2004 pub struct IFeedItem(::windows::runtime::IUnknown); 2005 impl IFeedItem { 2006 #[cfg(feature = "Win32_Foundation")] Xml(&self, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2007 pub unsafe fn Xml(&self, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2008 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2009 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(includeflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2010 } 2011 #[cfg(feature = "Win32_Foundation")] Title(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2012 pub unsafe fn Title(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2013 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2014 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2015 } 2016 #[cfg(feature = "Win32_Foundation")] Link(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2017 pub unsafe fn Link(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2018 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2019 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2020 } 2021 #[cfg(feature = "Win32_Foundation")] Guid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2022 pub unsafe fn Guid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2023 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2024 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2025 } 2026 #[cfg(feature = "Win32_Foundation")] Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2027 pub unsafe fn Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2028 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2029 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2030 } PubDate(&self) -> ::windows::runtime::Result<f64>2031 pub unsafe fn PubDate(&self) -> ::windows::runtime::Result<f64> { 2032 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2033 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 2034 } 2035 #[cfg(feature = "Win32_Foundation")] Comments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2036 pub unsafe fn Comments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2037 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2038 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2039 } 2040 #[cfg(feature = "Win32_Foundation")] Author(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2041 pub unsafe fn Author(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2042 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2043 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2044 } 2045 #[cfg(feature = "Win32_System_Ole_Automation")] Enclosure(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>2046 pub unsafe fn Enclosure(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 2047 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2048 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 2049 } IsRead(&self) -> ::windows::runtime::Result<i16>2050 pub unsafe fn IsRead(&self) -> ::windows::runtime::Result<i16> { 2051 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2052 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2053 } SetIsRead(&self, isread: i16) -> ::windows::runtime::Result<()>2054 pub unsafe fn SetIsRead(&self, isread: i16) -> ::windows::runtime::Result<()> { 2055 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(isread)).ok() 2056 } LocalId(&self) -> ::windows::runtime::Result<i32>2057 pub unsafe fn LocalId(&self) -> ::windows::runtime::Result<i32> { 2058 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2059 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2060 } 2061 #[cfg(feature = "Win32_System_Ole_Automation")] Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>2062 pub unsafe fn Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 2063 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2064 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 2065 } Delete(&self) -> ::windows::runtime::Result<()>2066 pub unsafe fn Delete(&self) -> ::windows::runtime::Result<()> { 2067 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok() 2068 } 2069 #[cfg(feature = "Win32_Foundation")] DownloadUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2070 pub unsafe fn DownloadUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2071 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2072 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2073 } LastDownloadTime(&self) -> ::windows::runtime::Result<f64>2074 pub unsafe fn LastDownloadTime(&self) -> ::windows::runtime::Result<f64> { 2075 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2076 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 2077 } Modified(&self) -> ::windows::runtime::Result<f64>2078 pub unsafe fn Modified(&self) -> ::windows::runtime::Result<f64> { 2079 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2080 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 2081 } 2082 } 2083 unsafe impl ::windows::runtime::Interface for IFeedItem { 2084 type Vtable = IFeedItem_abi; 2085 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(169766061, 2631, 19874, [161, 61, 91, 170, 165, 200, 189, 79]); 2086 } 2087 impl ::std::convert::From<IFeedItem> for ::windows::runtime::IUnknown { from(value: IFeedItem) -> Self2088 fn from(value: IFeedItem) -> Self { 2089 unsafe { ::std::mem::transmute(value) } 2090 } 2091 } 2092 impl ::std::convert::From<&IFeedItem> for ::windows::runtime::IUnknown { from(value: &IFeedItem) -> Self2093 fn from(value: &IFeedItem) -> Self { 2094 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2095 } 2096 } 2097 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFeedItem { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2098 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2099 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2100 } 2101 } 2102 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFeedItem { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2103 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2104 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2105 } 2106 } 2107 #[cfg(feature = "Win32_System_Ole_Automation")] 2108 impl ::std::convert::From<IFeedItem> for super::super::System::Ole::Automation::IDispatch { from(value: IFeedItem) -> Self2109 fn from(value: IFeedItem) -> Self { 2110 unsafe { ::std::mem::transmute(value) } 2111 } 2112 } 2113 #[cfg(feature = "Win32_System_Ole_Automation")] 2114 impl ::std::convert::From<&IFeedItem> for super::super::System::Ole::Automation::IDispatch { from(value: &IFeedItem) -> Self2115 fn from(value: &IFeedItem) -> Self { 2116 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2117 } 2118 } 2119 #[cfg(feature = "Win32_System_Ole_Automation")] 2120 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFeedItem { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2121 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2122 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 2123 } 2124 } 2125 #[cfg(feature = "Win32_System_Ole_Automation")] 2126 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFeedItem { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2127 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2128 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2129 } 2130 } 2131 #[repr(C)] 2132 #[doc(hidden)] 2133 pub struct IFeedItem_abi( 2134 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2135 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2136 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2137 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2138 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2139 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2140 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2141 #[cfg(not(feature = "Win32_Foundation"))] usize, 2142 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2143 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2144 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2145 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, includeflags: FEEDS_XML_INCLUDE_FLAGS, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2146 #[cfg(not(feature = "Win32_Foundation"))] usize, 2147 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, title: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2148 #[cfg(not(feature = "Win32_Foundation"))] usize, 2149 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, linkurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2150 #[cfg(not(feature = "Win32_Foundation"))] usize, 2151 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemguid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2152 #[cfg(not(feature = "Win32_Foundation"))] usize, 2153 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2154 #[cfg(not(feature = "Win32_Foundation"))] usize, 2155 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pubdate: *mut f64) -> ::windows::runtime::HRESULT, 2156 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, comments: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2157 #[cfg(not(feature = "Win32_Foundation"))] usize, 2158 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, author: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2159 #[cfg(not(feature = "Win32_Foundation"))] usize, 2160 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2161 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2162 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isread: *mut i16) -> ::windows::runtime::HRESULT, 2163 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isread: i16) -> ::windows::runtime::HRESULT, 2164 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemid: *mut i32) -> ::windows::runtime::HRESULT, 2165 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2166 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2167 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2168 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2169 #[cfg(not(feature = "Win32_Foundation"))] usize, 2170 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastdownload: *mut f64) -> ::windows::runtime::HRESULT, 2171 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, modified: *mut f64) -> ::windows::runtime::HRESULT, 2172 ); 2173 #[repr(transparent)] 2174 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2175 pub struct IFeedItem2(::windows::runtime::IUnknown); 2176 impl IFeedItem2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>2177 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 2178 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2179 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 2180 } 2181 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>2182 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> { 2183 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2184 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__) 2185 } 2186 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>2187 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 2188 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 2189 } 2190 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>2191 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 2192 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 2193 } 2194 #[cfg(feature = "Win32_Foundation")] Xml(&self, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2195 pub unsafe fn Xml(&self, includeflags: FEEDS_XML_INCLUDE_FLAGS) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2196 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2197 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(includeflags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2198 } 2199 #[cfg(feature = "Win32_Foundation")] Title(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2200 pub unsafe fn Title(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2201 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2202 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2203 } 2204 #[cfg(feature = "Win32_Foundation")] Link(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2205 pub unsafe fn Link(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2206 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2207 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2208 } 2209 #[cfg(feature = "Win32_Foundation")] Guid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2210 pub unsafe fn Guid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2211 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2212 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2213 } 2214 #[cfg(feature = "Win32_Foundation")] Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2215 pub unsafe fn Description(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2216 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2217 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2218 } PubDate(&self) -> ::windows::runtime::Result<f64>2219 pub unsafe fn PubDate(&self) -> ::windows::runtime::Result<f64> { 2220 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2221 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 2222 } 2223 #[cfg(feature = "Win32_Foundation")] Comments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2224 pub unsafe fn Comments(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2225 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2226 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2227 } 2228 #[cfg(feature = "Win32_Foundation")] Author(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2229 pub unsafe fn Author(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2230 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2231 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2232 } 2233 #[cfg(feature = "Win32_System_Ole_Automation")] Enclosure(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>2234 pub unsafe fn Enclosure(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 2235 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2236 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 2237 } IsRead(&self) -> ::windows::runtime::Result<i16>2238 pub unsafe fn IsRead(&self) -> ::windows::runtime::Result<i16> { 2239 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2240 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__) 2241 } SetIsRead(&self, isread: i16) -> ::windows::runtime::Result<()>2242 pub unsafe fn SetIsRead(&self, isread: i16) -> ::windows::runtime::Result<()> { 2243 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(isread)).ok() 2244 } LocalId(&self) -> ::windows::runtime::Result<i32>2245 pub unsafe fn LocalId(&self) -> ::windows::runtime::Result<i32> { 2246 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2247 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2248 } 2249 #[cfg(feature = "Win32_System_Ole_Automation")] Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>2250 pub unsafe fn Parent(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 2251 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2252 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 2253 } Delete(&self) -> ::windows::runtime::Result<()>2254 pub unsafe fn Delete(&self) -> ::windows::runtime::Result<()> { 2255 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok() 2256 } 2257 #[cfg(feature = "Win32_Foundation")] DownloadUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2258 pub unsafe fn DownloadUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2259 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2260 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2261 } LastDownloadTime(&self) -> ::windows::runtime::Result<f64>2262 pub unsafe fn LastDownloadTime(&self) -> ::windows::runtime::Result<f64> { 2263 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2264 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 2265 } Modified(&self) -> ::windows::runtime::Result<f64>2266 pub unsafe fn Modified(&self) -> ::windows::runtime::Result<f64> { 2267 let mut result__: <f64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2268 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f64>(result__) 2269 } EffectiveId(&self) -> ::windows::runtime::Result<i32>2270 pub unsafe fn EffectiveId(&self) -> ::windows::runtime::Result<i32> { 2271 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2272 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2273 } 2274 } 2275 unsafe impl ::windows::runtime::Interface for IFeedItem2 { 2276 type Vtable = IFeedItem2_abi; 2277 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2041356020, 63937, 19755, [165, 11, 167, 255, 186, 77, 207, 55]); 2278 } 2279 impl ::std::convert::From<IFeedItem2> for ::windows::runtime::IUnknown { from(value: IFeedItem2) -> Self2280 fn from(value: IFeedItem2) -> Self { 2281 unsafe { ::std::mem::transmute(value) } 2282 } 2283 } 2284 impl ::std::convert::From<&IFeedItem2> for ::windows::runtime::IUnknown { from(value: &IFeedItem2) -> Self2285 fn from(value: &IFeedItem2) -> Self { 2286 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2287 } 2288 } 2289 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFeedItem2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2290 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2291 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2292 } 2293 } 2294 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFeedItem2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2295 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2296 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2297 } 2298 } 2299 impl ::std::convert::From<IFeedItem2> for IFeedItem { from(value: IFeedItem2) -> Self2300 fn from(value: IFeedItem2) -> Self { 2301 unsafe { ::std::mem::transmute(value) } 2302 } 2303 } 2304 impl ::std::convert::From<&IFeedItem2> for IFeedItem { from(value: &IFeedItem2) -> Self2305 fn from(value: &IFeedItem2) -> Self { 2306 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2307 } 2308 } 2309 impl<'a> ::windows::runtime::IntoParam<'a, IFeedItem> for IFeedItem2 { into_param(self) -> ::windows::runtime::Param<'a, IFeedItem>2310 fn into_param(self) -> ::windows::runtime::Param<'a, IFeedItem> { 2311 ::windows::runtime::Param::Owned(::std::convert::Into::<IFeedItem>::into(self)) 2312 } 2313 } 2314 impl<'a> ::windows::runtime::IntoParam<'a, IFeedItem> for &IFeedItem2 { into_param(self) -> ::windows::runtime::Param<'a, IFeedItem>2315 fn into_param(self) -> ::windows::runtime::Param<'a, IFeedItem> { 2316 ::windows::runtime::Param::Owned(::std::convert::Into::<IFeedItem>::into(::std::clone::Clone::clone(self))) 2317 } 2318 } 2319 #[cfg(feature = "Win32_System_Ole_Automation")] 2320 impl ::std::convert::From<IFeedItem2> for super::super::System::Ole::Automation::IDispatch { from(value: IFeedItem2) -> Self2321 fn from(value: IFeedItem2) -> Self { 2322 unsafe { ::std::mem::transmute(value) } 2323 } 2324 } 2325 #[cfg(feature = "Win32_System_Ole_Automation")] 2326 impl ::std::convert::From<&IFeedItem2> for super::super::System::Ole::Automation::IDispatch { from(value: &IFeedItem2) -> Self2327 fn from(value: &IFeedItem2) -> Self { 2328 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2329 } 2330 } 2331 #[cfg(feature = "Win32_System_Ole_Automation")] 2332 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFeedItem2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2333 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2334 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 2335 } 2336 } 2337 #[cfg(feature = "Win32_System_Ole_Automation")] 2338 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFeedItem2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2339 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2340 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2341 } 2342 } 2343 #[repr(C)] 2344 #[doc(hidden)] 2345 pub struct IFeedItem2_abi( 2346 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2347 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2348 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2349 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2350 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2351 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2352 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2353 #[cfg(not(feature = "Win32_Foundation"))] usize, 2354 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2355 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2356 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2357 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, includeflags: FEEDS_XML_INCLUDE_FLAGS, xml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2358 #[cfg(not(feature = "Win32_Foundation"))] usize, 2359 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, title: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2360 #[cfg(not(feature = "Win32_Foundation"))] usize, 2361 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, linkurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2362 #[cfg(not(feature = "Win32_Foundation"))] usize, 2363 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemguid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2364 #[cfg(not(feature = "Win32_Foundation"))] usize, 2365 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, description: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2366 #[cfg(not(feature = "Win32_Foundation"))] usize, 2367 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pubdate: *mut f64) -> ::windows::runtime::HRESULT, 2368 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, comments: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2369 #[cfg(not(feature = "Win32_Foundation"))] usize, 2370 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, author: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2371 #[cfg(not(feature = "Win32_Foundation"))] usize, 2372 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2373 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2374 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isread: *mut i16) -> ::windows::runtime::HRESULT, 2375 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isread: i16) -> ::windows::runtime::HRESULT, 2376 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemid: *mut i32) -> ::windows::runtime::HRESULT, 2377 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2378 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2379 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2380 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2381 #[cfg(not(feature = "Win32_Foundation"))] usize, 2382 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lastdownload: *mut f64) -> ::windows::runtime::HRESULT, 2383 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, modified: *mut f64) -> ::windows::runtime::HRESULT, 2384 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, effectiveid: *mut i32) -> ::windows::runtime::HRESULT, 2385 ); 2386 #[repr(transparent)] 2387 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2388 pub struct IFeedsEnum(::windows::runtime::IUnknown); 2389 impl IFeedsEnum { Count(&self) -> ::windows::runtime::Result<i32>2390 pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> { 2391 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2392 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2393 } 2394 #[cfg(feature = "Win32_System_Ole_Automation")] Item(&self, index: i32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>2395 pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 2396 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2397 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 2398 } 2399 #[cfg(feature = "Win32_System_Ole_Automation")] _NewEnum(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IEnumVARIANT>2400 pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IEnumVARIANT> { 2401 let mut result__: <super::super::System::Ole::Automation::IEnumVARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2402 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IEnumVARIANT>(result__) 2403 } 2404 } 2405 unsafe impl ::windows::runtime::Interface for IFeedsEnum { 2406 type Vtable = IFeedsEnum_abi; 2407 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3821862952, 12013, 19552, [143, 174, 163, 34, 83, 9, 168, 54]); 2408 } 2409 impl ::std::convert::From<IFeedsEnum> for ::windows::runtime::IUnknown { from(value: IFeedsEnum) -> Self2410 fn from(value: IFeedsEnum) -> Self { 2411 unsafe { ::std::mem::transmute(value) } 2412 } 2413 } 2414 impl ::std::convert::From<&IFeedsEnum> for ::windows::runtime::IUnknown { from(value: &IFeedsEnum) -> Self2415 fn from(value: &IFeedsEnum) -> Self { 2416 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2417 } 2418 } 2419 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFeedsEnum { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2420 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2421 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2422 } 2423 } 2424 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFeedsEnum { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2425 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2426 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2427 } 2428 } 2429 #[cfg(feature = "Win32_System_Ole_Automation")] 2430 impl ::std::convert::From<IFeedsEnum> for super::super::System::Ole::Automation::IDispatch { from(value: IFeedsEnum) -> Self2431 fn from(value: IFeedsEnum) -> Self { 2432 unsafe { ::std::mem::transmute(value) } 2433 } 2434 } 2435 #[cfg(feature = "Win32_System_Ole_Automation")] 2436 impl ::std::convert::From<&IFeedsEnum> for super::super::System::Ole::Automation::IDispatch { from(value: &IFeedsEnum) -> Self2437 fn from(value: &IFeedsEnum) -> Self { 2438 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2439 } 2440 } 2441 #[cfg(feature = "Win32_System_Ole_Automation")] 2442 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFeedsEnum { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2443 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2444 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 2445 } 2446 } 2447 #[cfg(feature = "Win32_System_Ole_Automation")] 2448 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFeedsEnum { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2449 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2450 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2451 } 2452 } 2453 #[repr(C)] 2454 #[doc(hidden)] 2455 pub struct IFeedsEnum_abi( 2456 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2457 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2458 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2459 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2460 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2461 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2462 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2463 #[cfg(not(feature = "Win32_Foundation"))] usize, 2464 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2465 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2466 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2467 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT, 2468 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2469 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2470 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enumvar: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2471 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2472 ); 2473 #[repr(transparent)] 2474 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2475 pub struct IFeedsManager(::windows::runtime::IUnknown); 2476 impl IFeedsManager { 2477 #[cfg(feature = "Win32_System_Ole_Automation")] RootFolder(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>2478 pub unsafe fn RootFolder(&self) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 2479 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2480 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 2481 } 2482 #[cfg(feature = "Win32_Foundation")] IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedurl: Param0) -> ::windows::runtime::Result<i16>2483 pub unsafe fn IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedurl: Param0) -> ::windows::runtime::Result<i16> { 2484 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2485 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), feedurl.into_param().abi(), &mut result__).from_abi::<i16>(result__) 2486 } 2487 #[cfg(feature = "Win32_Foundation")] ExistsFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedpath: Param0) -> ::windows::runtime::Result<i16>2488 pub unsafe fn ExistsFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedpath: Param0) -> ::windows::runtime::Result<i16> { 2489 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2490 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), feedpath.into_param().abi(), &mut result__).from_abi::<i16>(result__) 2491 } 2492 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] GetFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedpath: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>2493 pub unsafe fn GetFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedpath: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 2494 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2495 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), feedpath.into_param().abi(), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 2496 } 2497 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] GetFeedByUrl<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedurl: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>2498 pub unsafe fn GetFeedByUrl<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedurl: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 2499 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2500 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), feedurl.into_param().abi(), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 2501 } 2502 #[cfg(feature = "Win32_Foundation")] ExistsFolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, folderpath: Param0) -> ::windows::runtime::Result<i16>2503 pub unsafe fn ExistsFolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, folderpath: Param0) -> ::windows::runtime::Result<i16> { 2504 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2505 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), folderpath.into_param().abi(), &mut result__).from_abi::<i16>(result__) 2506 } 2507 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] GetFolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, folderpath: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch>2508 pub unsafe fn GetFolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, folderpath: Param0) -> ::windows::runtime::Result<super::super::System::Ole::Automation::IDispatch> { 2509 let mut result__: <super::super::System::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2510 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), folderpath.into_param().abi(), &mut result__).from_abi::<super::super::System::Ole::Automation::IDispatch>(result__) 2511 } 2512 #[cfg(feature = "Win32_Foundation")] DeleteFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedpath: Param0) -> ::windows::runtime::Result<()>2513 pub unsafe fn DeleteFeed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedpath: Param0) -> ::windows::runtime::Result<()> { 2514 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), feedpath.into_param().abi()).ok() 2515 } 2516 #[cfg(feature = "Win32_Foundation")] DeleteFolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, folderpath: Param0) -> ::windows::runtime::Result<()>2517 pub unsafe fn DeleteFolder<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, folderpath: Param0) -> ::windows::runtime::Result<()> { 2518 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), folderpath.into_param().abi()).ok() 2519 } BackgroundSync(&self, action: FEEDS_BACKGROUNDSYNC_ACTION) -> ::windows::runtime::Result<()>2520 pub unsafe fn BackgroundSync(&self, action: FEEDS_BACKGROUNDSYNC_ACTION) -> ::windows::runtime::Result<()> { 2521 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(action)).ok() 2522 } BackgroundSyncStatus(&self) -> ::windows::runtime::Result<FEEDS_BACKGROUNDSYNC_STATUS>2523 pub unsafe fn BackgroundSyncStatus(&self) -> ::windows::runtime::Result<FEEDS_BACKGROUNDSYNC_STATUS> { 2524 let mut result__: <FEEDS_BACKGROUNDSYNC_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2525 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FEEDS_BACKGROUNDSYNC_STATUS>(result__) 2526 } DefaultInterval(&self) -> ::windows::runtime::Result<i32>2527 pub unsafe fn DefaultInterval(&self) -> ::windows::runtime::Result<i32> { 2528 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2529 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2530 } SetDefaultInterval(&self, minutes: i32) -> ::windows::runtime::Result<()>2531 pub unsafe fn SetDefaultInterval(&self, minutes: i32) -> ::windows::runtime::Result<()> { 2532 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(minutes)).ok() 2533 } AsyncSyncAll(&self) -> ::windows::runtime::Result<()>2534 pub unsafe fn AsyncSyncAll(&self) -> ::windows::runtime::Result<()> { 2535 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok() 2536 } 2537 #[cfg(feature = "Win32_Foundation")] Normalize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedxmlin: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2538 pub unsafe fn Normalize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, feedxmlin: Param0) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 2539 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2540 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), feedxmlin.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 2541 } ItemCountLimit(&self) -> ::windows::runtime::Result<i32>2542 pub unsafe fn ItemCountLimit(&self) -> ::windows::runtime::Result<i32> { 2543 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2544 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2545 } 2546 } 2547 unsafe impl ::windows::runtime::Interface for IFeedsManager { 2548 type Vtable = IFeedsManager_abi; 2549 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2806000076, 7962, 18694, [136, 240, 129, 6, 56, 216, 101, 145]); 2550 } 2551 impl ::std::convert::From<IFeedsManager> for ::windows::runtime::IUnknown { from(value: IFeedsManager) -> Self2552 fn from(value: IFeedsManager) -> Self { 2553 unsafe { ::std::mem::transmute(value) } 2554 } 2555 } 2556 impl ::std::convert::From<&IFeedsManager> for ::windows::runtime::IUnknown { from(value: &IFeedsManager) -> Self2557 fn from(value: &IFeedsManager) -> Self { 2558 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2559 } 2560 } 2561 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFeedsManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2562 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2563 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2564 } 2565 } 2566 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFeedsManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2567 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2568 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2569 } 2570 } 2571 #[cfg(feature = "Win32_System_Ole_Automation")] 2572 impl ::std::convert::From<IFeedsManager> for super::super::System::Ole::Automation::IDispatch { from(value: IFeedsManager) -> Self2573 fn from(value: IFeedsManager) -> Self { 2574 unsafe { ::std::mem::transmute(value) } 2575 } 2576 } 2577 #[cfg(feature = "Win32_System_Ole_Automation")] 2578 impl ::std::convert::From<&IFeedsManager> for super::super::System::Ole::Automation::IDispatch { from(value: &IFeedsManager) -> Self2579 fn from(value: &IFeedsManager) -> Self { 2580 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2581 } 2582 } 2583 #[cfg(feature = "Win32_System_Ole_Automation")] 2584 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IFeedsManager { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2585 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2586 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 2587 } 2588 } 2589 #[cfg(feature = "Win32_System_Ole_Automation")] 2590 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IFeedsManager { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2591 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2592 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2593 } 2594 } 2595 #[repr(C)] 2596 #[doc(hidden)] 2597 pub struct IFeedsManager_abi( 2598 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2599 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2600 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2601 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2602 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2603 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2604 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2605 #[cfg(not(feature = "Win32_Foundation"))] usize, 2606 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2607 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2608 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2609 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2610 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2611 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, subscribed: *mut i16) -> ::windows::runtime::HRESULT, 2612 #[cfg(not(feature = "Win32_Foundation"))] usize, 2613 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, exists: *mut i16) -> ::windows::runtime::HRESULT, 2614 #[cfg(not(feature = "Win32_Foundation"))] usize, 2615 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2616 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize, 2617 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2618 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize, 2619 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, folderpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, exists: *mut i16) -> ::windows::runtime::HRESULT, 2620 #[cfg(not(feature = "Win32_Foundation"))] usize, 2621 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, folderpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, disp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2622 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize, 2623 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2624 #[cfg(not(feature = "Win32_Foundation"))] usize, 2625 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, folderpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2626 #[cfg(not(feature = "Win32_Foundation"))] usize, 2627 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, action: FEEDS_BACKGROUNDSYNC_ACTION) -> ::windows::runtime::HRESULT, 2628 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, status: *mut FEEDS_BACKGROUNDSYNC_STATUS) -> ::windows::runtime::HRESULT, 2629 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, minutes: *mut i32) -> ::windows::runtime::HRESULT, 2630 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, minutes: i32) -> ::windows::runtime::HRESULT, 2631 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2632 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, feedxmlin: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, feedxmlout: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2633 #[cfg(not(feature = "Win32_Foundation"))] usize, 2634 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itemcountlimit: *mut i32) -> ::windows::runtime::HRESULT, 2635 ); 2636 pub const IOCTL_WMP_DEVICE_CAN_SYNC: u32 = 844123479u32; 2637 pub const IOCTL_WMP_METADATA_ROUND_TRIP: u32 = 827346263u32; 2638 #[repr(transparent)] 2639 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2640 pub struct IWMPAudioRenderConfig(::windows::runtime::IUnknown); 2641 impl IWMPAudioRenderConfig { 2642 #[cfg(feature = "Win32_Foundation")] audioOutputDevice(&self, pbstroutputdevice: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>2643 pub unsafe fn audioOutputDevice(&self, pbstroutputdevice: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 2644 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstroutputdevice)).ok() 2645 } 2646 #[cfg(feature = "Win32_Foundation")] SetaudioOutputDevice<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstroutputdevice: Param0) -> ::windows::runtime::Result<()>2647 pub unsafe fn SetaudioOutputDevice<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstroutputdevice: Param0) -> ::windows::runtime::Result<()> { 2648 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), bstroutputdevice.into_param().abi()).ok() 2649 } 2650 } 2651 unsafe impl ::windows::runtime::Interface for IWMPAudioRenderConfig { 2652 type Vtable = IWMPAudioRenderConfig_abi; 2653 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3885785929, 22935, 19684, [145, 124, 34, 163, 57, 30, 197, 100]); 2654 } 2655 impl ::std::convert::From<IWMPAudioRenderConfig> for ::windows::runtime::IUnknown { from(value: IWMPAudioRenderConfig) -> Self2656 fn from(value: IWMPAudioRenderConfig) -> Self { 2657 unsafe { ::std::mem::transmute(value) } 2658 } 2659 } 2660 impl ::std::convert::From<&IWMPAudioRenderConfig> for ::windows::runtime::IUnknown { from(value: &IWMPAudioRenderConfig) -> Self2661 fn from(value: &IWMPAudioRenderConfig) -> Self { 2662 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2663 } 2664 } 2665 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPAudioRenderConfig { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2666 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2667 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2668 } 2669 } 2670 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPAudioRenderConfig { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2671 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2672 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2673 } 2674 } 2675 #[repr(C)] 2676 #[doc(hidden)] 2677 pub struct IWMPAudioRenderConfig_abi( 2678 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2679 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2680 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2681 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstroutputdevice: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2682 #[cfg(not(feature = "Win32_Foundation"))] usize, 2683 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstroutputdevice: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2684 #[cfg(not(feature = "Win32_Foundation"))] usize, 2685 ); 2686 #[repr(transparent)] 2687 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2688 pub struct IWMPCdrom(::windows::runtime::IUnknown); 2689 impl IWMPCdrom { 2690 #[cfg(feature = "Win32_Foundation")] driveSpecifier(&self, pbstrdrive: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>2691 pub unsafe fn driveSpecifier(&self, pbstrdrive: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 2692 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrdrive)).ok() 2693 } playlist(&self) -> ::windows::runtime::Result<IWMPPlaylist>2694 pub unsafe fn playlist(&self) -> ::windows::runtime::Result<IWMPPlaylist> { 2695 let mut result__: <IWMPPlaylist as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2696 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPPlaylist>(result__) 2697 } eject(&self) -> ::windows::runtime::Result<()>2698 pub unsafe fn eject(&self) -> ::windows::runtime::Result<()> { 2699 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok() 2700 } 2701 } 2702 unsafe impl ::windows::runtime::Interface for IWMPCdrom { 2703 type Vtable = IWMPCdrom_abi; 2704 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3484118680, 34608, 4563, [179, 136, 0, 192, 79, 104, 87, 75]); 2705 } 2706 impl ::std::convert::From<IWMPCdrom> for ::windows::runtime::IUnknown { from(value: IWMPCdrom) -> Self2707 fn from(value: IWMPCdrom) -> Self { 2708 unsafe { ::std::mem::transmute(value) } 2709 } 2710 } 2711 impl ::std::convert::From<&IWMPCdrom> for ::windows::runtime::IUnknown { from(value: &IWMPCdrom) -> Self2712 fn from(value: &IWMPCdrom) -> Self { 2713 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2714 } 2715 } 2716 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPCdrom { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2717 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2718 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2719 } 2720 } 2721 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPCdrom { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2722 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2723 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2724 } 2725 } 2726 #[cfg(feature = "Win32_System_Ole_Automation")] 2727 impl ::std::convert::From<IWMPCdrom> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPCdrom) -> Self2728 fn from(value: IWMPCdrom) -> Self { 2729 unsafe { ::std::mem::transmute(value) } 2730 } 2731 } 2732 #[cfg(feature = "Win32_System_Ole_Automation")] 2733 impl ::std::convert::From<&IWMPCdrom> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPCdrom) -> Self2734 fn from(value: &IWMPCdrom) -> Self { 2735 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2736 } 2737 } 2738 #[cfg(feature = "Win32_System_Ole_Automation")] 2739 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPCdrom { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2740 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2741 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 2742 } 2743 } 2744 #[cfg(feature = "Win32_System_Ole_Automation")] 2745 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPCdrom { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2746 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2747 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2748 } 2749 } 2750 #[repr(C)] 2751 #[doc(hidden)] 2752 pub struct IWMPCdrom_abi( 2753 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2754 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2755 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2756 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2757 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2758 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2759 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2760 #[cfg(not(feature = "Win32_Foundation"))] usize, 2761 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2762 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2763 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2764 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdrive: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2765 #[cfg(not(feature = "Win32_Foundation"))] usize, 2766 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppplaylist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2767 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2768 ); 2769 #[repr(transparent)] 2770 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2771 pub struct IWMPCdromBurn(::windows::runtime::IUnknown); 2772 impl IWMPCdromBurn { 2773 #[cfg(feature = "Win32_Foundation")] isAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pisavailable: *mut i16) -> ::windows::runtime::Result<()>2774 pub unsafe fn isAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pisavailable: *mut i16) -> ::windows::runtime::Result<()> { 2775 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), bstritem.into_param().abi(), ::std::mem::transmute(pisavailable)).ok() 2776 } 2777 #[cfg(feature = "Win32_Foundation")] getItemInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pbstrval: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>2778 pub unsafe fn getItemInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pbstrval: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 2779 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), bstritem.into_param().abi(), ::std::mem::transmute(pbstrval)).ok() 2780 } 2781 #[cfg(feature = "Win32_Foundation")] label(&self, pbstrlabel: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>2782 pub unsafe fn label(&self, pbstrlabel: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 2783 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrlabel)).ok() 2784 } 2785 #[cfg(feature = "Win32_Foundation")] Setlabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrlabel: Param0) -> ::windows::runtime::Result<()>2786 pub unsafe fn Setlabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrlabel: Param0) -> ::windows::runtime::Result<()> { 2787 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), bstrlabel.into_param().abi()).ok() 2788 } burnFormat(&self, pwmpbf: *mut WMPBurnFormat) -> ::windows::runtime::Result<()>2789 pub unsafe fn burnFormat(&self, pwmpbf: *mut WMPBurnFormat) -> ::windows::runtime::Result<()> { 2790 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmpbf)).ok() 2791 } SetburnFormat(&self, wmpbf: WMPBurnFormat) -> ::windows::runtime::Result<()>2792 pub unsafe fn SetburnFormat(&self, wmpbf: WMPBurnFormat) -> ::windows::runtime::Result<()> { 2793 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(wmpbf)).ok() 2794 } burnPlaylist(&self) -> ::windows::runtime::Result<IWMPPlaylist>2795 pub unsafe fn burnPlaylist(&self) -> ::windows::runtime::Result<IWMPPlaylist> { 2796 let mut result__: <IWMPPlaylist as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2797 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPPlaylist>(result__) 2798 } SetburnPlaylist<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPPlaylist>>(&self, pplaylist: Param0) -> ::windows::runtime::Result<()>2799 pub unsafe fn SetburnPlaylist<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPPlaylist>>(&self, pplaylist: Param0) -> ::windows::runtime::Result<()> { 2800 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pplaylist.into_param().abi()).ok() 2801 } refreshStatus(&self) -> ::windows::runtime::Result<()>2802 pub unsafe fn refreshStatus(&self) -> ::windows::runtime::Result<()> { 2803 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok() 2804 } burnState(&self, pwmpbs: *mut WMPBurnState) -> ::windows::runtime::Result<()>2805 pub unsafe fn burnState(&self, pwmpbs: *mut WMPBurnState) -> ::windows::runtime::Result<()> { 2806 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmpbs)).ok() 2807 } burnProgress(&self, plprogress: *mut i32) -> ::windows::runtime::Result<()>2808 pub unsafe fn burnProgress(&self, plprogress: *mut i32) -> ::windows::runtime::Result<()> { 2809 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(plprogress)).ok() 2810 } startBurn(&self) -> ::windows::runtime::Result<()>2811 pub unsafe fn startBurn(&self) -> ::windows::runtime::Result<()> { 2812 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self)).ok() 2813 } stopBurn(&self) -> ::windows::runtime::Result<()>2814 pub unsafe fn stopBurn(&self) -> ::windows::runtime::Result<()> { 2815 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok() 2816 } erase(&self) -> ::windows::runtime::Result<()>2817 pub unsafe fn erase(&self) -> ::windows::runtime::Result<()> { 2818 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok() 2819 } 2820 } 2821 unsafe impl ::windows::runtime::Interface for IWMPCdromBurn { 2822 type Vtable = IWMPCdromBurn_abi; 2823 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3180649451, 16767, 18728, [170, 6, 8, 125, 86, 237, 155, 89]); 2824 } 2825 impl ::std::convert::From<IWMPCdromBurn> for ::windows::runtime::IUnknown { from(value: IWMPCdromBurn) -> Self2826 fn from(value: IWMPCdromBurn) -> Self { 2827 unsafe { ::std::mem::transmute(value) } 2828 } 2829 } 2830 impl ::std::convert::From<&IWMPCdromBurn> for ::windows::runtime::IUnknown { from(value: &IWMPCdromBurn) -> Self2831 fn from(value: &IWMPCdromBurn) -> Self { 2832 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2833 } 2834 } 2835 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPCdromBurn { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2836 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2837 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2838 } 2839 } 2840 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPCdromBurn { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2841 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2842 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2843 } 2844 } 2845 #[repr(C)] 2846 #[doc(hidden)] 2847 pub struct IWMPCdromBurn_abi( 2848 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2849 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2850 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2851 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstritem: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pisavailable: *mut i16) -> ::windows::runtime::HRESULT, 2852 #[cfg(not(feature = "Win32_Foundation"))] usize, 2853 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstritem: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstrval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2854 #[cfg(not(feature = "Win32_Foundation"))] usize, 2855 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrlabel: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2856 #[cfg(not(feature = "Win32_Foundation"))] usize, 2857 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrlabel: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2858 #[cfg(not(feature = "Win32_Foundation"))] usize, 2859 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmpbf: *mut WMPBurnFormat) -> ::windows::runtime::HRESULT, 2860 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wmpbf: WMPBurnFormat) -> ::windows::runtime::HRESULT, 2861 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppplaylist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2862 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pplaylist: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2863 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2864 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmpbs: *mut WMPBurnState) -> ::windows::runtime::HRESULT, 2865 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plprogress: *mut i32) -> ::windows::runtime::HRESULT, 2866 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2867 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2868 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2869 ); 2870 #[repr(transparent)] 2871 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2872 pub struct IWMPCdromCollection(::windows::runtime::IUnknown); 2873 impl IWMPCdromCollection { count(&self, plcount: *mut i32) -> ::windows::runtime::Result<()>2874 pub unsafe fn count(&self, plcount: *mut i32) -> ::windows::runtime::Result<()> { 2875 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(plcount)).ok() 2876 } item(&self, lindex: i32) -> ::windows::runtime::Result<IWMPCdrom>2877 pub unsafe fn item(&self, lindex: i32) -> ::windows::runtime::Result<IWMPCdrom> { 2878 let mut result__: <IWMPCdrom as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2879 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(lindex), &mut result__).from_abi::<IWMPCdrom>(result__) 2880 } 2881 #[cfg(feature = "Win32_Foundation")] getByDriveSpecifier<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdrivespecifier: Param0) -> ::windows::runtime::Result<IWMPCdrom>2882 pub unsafe fn getByDriveSpecifier<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdrivespecifier: Param0) -> ::windows::runtime::Result<IWMPCdrom> { 2883 let mut result__: <IWMPCdrom as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2884 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), bstrdrivespecifier.into_param().abi(), &mut result__).from_abi::<IWMPCdrom>(result__) 2885 } 2886 } 2887 unsafe impl ::windows::runtime::Interface for IWMPCdromCollection { 2888 type Vtable = IWMPCdromCollection_abi; 2889 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3997994978, 13490, 4563, [163, 191, 0, 96, 151, 201, 179, 68]); 2890 } 2891 impl ::std::convert::From<IWMPCdromCollection> for ::windows::runtime::IUnknown { from(value: IWMPCdromCollection) -> Self2892 fn from(value: IWMPCdromCollection) -> Self { 2893 unsafe { ::std::mem::transmute(value) } 2894 } 2895 } 2896 impl ::std::convert::From<&IWMPCdromCollection> for ::windows::runtime::IUnknown { from(value: &IWMPCdromCollection) -> Self2897 fn from(value: &IWMPCdromCollection) -> Self { 2898 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2899 } 2900 } 2901 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPCdromCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2902 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2903 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2904 } 2905 } 2906 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPCdromCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2907 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2908 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2909 } 2910 } 2911 #[cfg(feature = "Win32_System_Ole_Automation")] 2912 impl ::std::convert::From<IWMPCdromCollection> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPCdromCollection) -> Self2913 fn from(value: IWMPCdromCollection) -> Self { 2914 unsafe { ::std::mem::transmute(value) } 2915 } 2916 } 2917 #[cfg(feature = "Win32_System_Ole_Automation")] 2918 impl ::std::convert::From<&IWMPCdromCollection> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPCdromCollection) -> Self2919 fn from(value: &IWMPCdromCollection) -> Self { 2920 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2921 } 2922 } 2923 #[cfg(feature = "Win32_System_Ole_Automation")] 2924 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPCdromCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2925 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2926 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 2927 } 2928 } 2929 #[cfg(feature = "Win32_System_Ole_Automation")] 2930 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPCdromCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2931 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 2932 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2933 } 2934 } 2935 #[repr(C)] 2936 #[doc(hidden)] 2937 pub struct IWMPCdromCollection_abi( 2938 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2939 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2940 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2941 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2942 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2943 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2944 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2945 #[cfg(not(feature = "Win32_Foundation"))] usize, 2946 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2947 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2948 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2949 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plcount: *mut i32) -> ::windows::runtime::HRESULT, 2950 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lindex: i32, ppitem: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2951 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrdrivespecifier: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppcdrom: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2952 #[cfg(not(feature = "Win32_Foundation"))] usize, 2953 ); 2954 #[repr(transparent)] 2955 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2956 pub struct IWMPCdromRip(::windows::runtime::IUnknown); 2957 impl IWMPCdromRip { ripState(&self, pwmprs: *mut WMPRipState) -> ::windows::runtime::Result<()>2958 pub unsafe fn ripState(&self, pwmprs: *mut WMPRipState) -> ::windows::runtime::Result<()> { 2959 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmprs)).ok() 2960 } ripProgress(&self, plprogress: *mut i32) -> ::windows::runtime::Result<()>2961 pub unsafe fn ripProgress(&self, plprogress: *mut i32) -> ::windows::runtime::Result<()> { 2962 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(plprogress)).ok() 2963 } startRip(&self) -> ::windows::runtime::Result<()>2964 pub unsafe fn startRip(&self) -> ::windows::runtime::Result<()> { 2965 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok() 2966 } stopRip(&self) -> ::windows::runtime::Result<()>2967 pub unsafe fn stopRip(&self) -> ::windows::runtime::Result<()> { 2968 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok() 2969 } 2970 } 2971 unsafe impl ::windows::runtime::Interface for IWMPCdromRip { 2972 type Vtable = IWMPCdromRip_abi; 2973 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1457662287, 27117, 17961, [168, 105, 174, 167, 44, 13, 204, 44]); 2974 } 2975 impl ::std::convert::From<IWMPCdromRip> for ::windows::runtime::IUnknown { from(value: IWMPCdromRip) -> Self2976 fn from(value: IWMPCdromRip) -> Self { 2977 unsafe { ::std::mem::transmute(value) } 2978 } 2979 } 2980 impl ::std::convert::From<&IWMPCdromRip> for ::windows::runtime::IUnknown { from(value: &IWMPCdromRip) -> Self2981 fn from(value: &IWMPCdromRip) -> Self { 2982 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2983 } 2984 } 2985 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPCdromRip { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2986 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2987 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2988 } 2989 } 2990 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPCdromRip { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2991 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2992 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2993 } 2994 } 2995 #[repr(C)] 2996 #[doc(hidden)] 2997 pub struct IWMPCdromRip_abi( 2998 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2999 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3000 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3001 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmprs: *mut WMPRipState) -> ::windows::runtime::HRESULT, 3002 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plprogress: *mut i32) -> ::windows::runtime::HRESULT, 3003 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3004 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3005 ); 3006 #[repr(transparent)] 3007 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3008 pub struct IWMPClosedCaption(::windows::runtime::IUnknown); 3009 impl IWMPClosedCaption { 3010 #[cfg(feature = "Win32_Foundation")] SAMIStyle(&self, pbstrsamistyle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3011 pub unsafe fn SAMIStyle(&self, pbstrsamistyle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3012 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrsamistyle)).ok() 3013 } 3014 #[cfg(feature = "Win32_Foundation")] SetSAMIStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamistyle: Param0) -> ::windows::runtime::Result<()>3015 pub unsafe fn SetSAMIStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamistyle: Param0) -> ::windows::runtime::Result<()> { 3016 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), bstrsamistyle.into_param().abi()).ok() 3017 } 3018 #[cfg(feature = "Win32_Foundation")] SAMILang(&self, pbstrsamilang: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3019 pub unsafe fn SAMILang(&self, pbstrsamilang: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3020 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrsamilang)).ok() 3021 } 3022 #[cfg(feature = "Win32_Foundation")] SetSAMILang<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamilang: Param0) -> ::windows::runtime::Result<()>3023 pub unsafe fn SetSAMILang<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamilang: Param0) -> ::windows::runtime::Result<()> { 3024 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), bstrsamilang.into_param().abi()).ok() 3025 } 3026 #[cfg(feature = "Win32_Foundation")] SAMIFileName(&self, pbstrsamifilename: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3027 pub unsafe fn SAMIFileName(&self, pbstrsamifilename: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3028 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrsamifilename)).ok() 3029 } 3030 #[cfg(feature = "Win32_Foundation")] SetSAMIFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamifilename: Param0) -> ::windows::runtime::Result<()>3031 pub unsafe fn SetSAMIFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamifilename: Param0) -> ::windows::runtime::Result<()> { 3032 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), bstrsamifilename.into_param().abi()).ok() 3033 } 3034 #[cfg(feature = "Win32_Foundation")] captioningId(&self, pbstrcaptioningid: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3035 pub unsafe fn captioningId(&self, pbstrcaptioningid: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3036 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrcaptioningid)).ok() 3037 } 3038 #[cfg(feature = "Win32_Foundation")] SetcaptioningId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrcaptioningid: Param0) -> ::windows::runtime::Result<()>3039 pub unsafe fn SetcaptioningId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrcaptioningid: Param0) -> ::windows::runtime::Result<()> { 3040 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), bstrcaptioningid.into_param().abi()).ok() 3041 } 3042 } 3043 unsafe impl ::windows::runtime::Interface for IWMPClosedCaption { 3044 type Vtable = IWMPClosedCaption_abi; 3045 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1328412020, 50568, 4563, [158, 208, 0, 192, 79, 182, 233, 55]); 3046 } 3047 impl ::std::convert::From<IWMPClosedCaption> for ::windows::runtime::IUnknown { from(value: IWMPClosedCaption) -> Self3048 fn from(value: IWMPClosedCaption) -> Self { 3049 unsafe { ::std::mem::transmute(value) } 3050 } 3051 } 3052 impl ::std::convert::From<&IWMPClosedCaption> for ::windows::runtime::IUnknown { from(value: &IWMPClosedCaption) -> Self3053 fn from(value: &IWMPClosedCaption) -> Self { 3054 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3055 } 3056 } 3057 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPClosedCaption { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3058 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3059 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3060 } 3061 } 3062 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPClosedCaption { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3063 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3064 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3065 } 3066 } 3067 #[cfg(feature = "Win32_System_Ole_Automation")] 3068 impl ::std::convert::From<IWMPClosedCaption> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPClosedCaption) -> Self3069 fn from(value: IWMPClosedCaption) -> Self { 3070 unsafe { ::std::mem::transmute(value) } 3071 } 3072 } 3073 #[cfg(feature = "Win32_System_Ole_Automation")] 3074 impl ::std::convert::From<&IWMPClosedCaption> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPClosedCaption) -> Self3075 fn from(value: &IWMPClosedCaption) -> Self { 3076 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3077 } 3078 } 3079 #[cfg(feature = "Win32_System_Ole_Automation")] 3080 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPClosedCaption { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3081 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 3082 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 3083 } 3084 } 3085 #[cfg(feature = "Win32_System_Ole_Automation")] 3086 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPClosedCaption { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3087 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 3088 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3089 } 3090 } 3091 #[repr(C)] 3092 #[doc(hidden)] 3093 pub struct IWMPClosedCaption_abi( 3094 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3095 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3096 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3097 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3098 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3099 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3100 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3101 #[cfg(not(feature = "Win32_Foundation"))] usize, 3102 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3103 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3104 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3105 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsamistyle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3106 #[cfg(not(feature = "Win32_Foundation"))] usize, 3107 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsamistyle: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3108 #[cfg(not(feature = "Win32_Foundation"))] usize, 3109 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsamilang: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3110 #[cfg(not(feature = "Win32_Foundation"))] usize, 3111 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsamilang: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3112 #[cfg(not(feature = "Win32_Foundation"))] usize, 3113 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsamifilename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3114 #[cfg(not(feature = "Win32_Foundation"))] usize, 3115 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsamifilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3116 #[cfg(not(feature = "Win32_Foundation"))] usize, 3117 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrcaptioningid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3118 #[cfg(not(feature = "Win32_Foundation"))] usize, 3119 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrcaptioningid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3120 #[cfg(not(feature = "Win32_Foundation"))] usize, 3121 ); 3122 #[repr(transparent)] 3123 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3124 pub struct IWMPClosedCaption2(::windows::runtime::IUnknown); 3125 impl IWMPClosedCaption2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>3126 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 3127 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3128 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 3129 } 3130 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>3131 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> { 3132 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3133 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__) 3134 } 3135 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>3136 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 3137 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 3138 } 3139 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>3140 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 3141 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 3142 } 3143 #[cfg(feature = "Win32_Foundation")] SAMIStyle(&self, pbstrsamistyle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3144 pub unsafe fn SAMIStyle(&self, pbstrsamistyle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3145 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrsamistyle)).ok() 3146 } 3147 #[cfg(feature = "Win32_Foundation")] SetSAMIStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamistyle: Param0) -> ::windows::runtime::Result<()>3148 pub unsafe fn SetSAMIStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamistyle: Param0) -> ::windows::runtime::Result<()> { 3149 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), bstrsamistyle.into_param().abi()).ok() 3150 } 3151 #[cfg(feature = "Win32_Foundation")] SAMILang(&self, pbstrsamilang: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3152 pub unsafe fn SAMILang(&self, pbstrsamilang: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3153 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrsamilang)).ok() 3154 } 3155 #[cfg(feature = "Win32_Foundation")] SetSAMILang<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamilang: Param0) -> ::windows::runtime::Result<()>3156 pub unsafe fn SetSAMILang<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamilang: Param0) -> ::windows::runtime::Result<()> { 3157 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), bstrsamilang.into_param().abi()).ok() 3158 } 3159 #[cfg(feature = "Win32_Foundation")] SAMIFileName(&self, pbstrsamifilename: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3160 pub unsafe fn SAMIFileName(&self, pbstrsamifilename: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3161 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrsamifilename)).ok() 3162 } 3163 #[cfg(feature = "Win32_Foundation")] SetSAMIFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamifilename: Param0) -> ::windows::runtime::Result<()>3164 pub unsafe fn SetSAMIFileName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsamifilename: Param0) -> ::windows::runtime::Result<()> { 3165 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), bstrsamifilename.into_param().abi()).ok() 3166 } 3167 #[cfg(feature = "Win32_Foundation")] captioningId(&self, pbstrcaptioningid: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3168 pub unsafe fn captioningId(&self, pbstrcaptioningid: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3169 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrcaptioningid)).ok() 3170 } 3171 #[cfg(feature = "Win32_Foundation")] SetcaptioningId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrcaptioningid: Param0) -> ::windows::runtime::Result<()>3172 pub unsafe fn SetcaptioningId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrcaptioningid: Param0) -> ::windows::runtime::Result<()> { 3173 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), bstrcaptioningid.into_param().abi()).ok() 3174 } SAMILangCount(&self, plcount: *mut i32) -> ::windows::runtime::Result<()>3175 pub unsafe fn SAMILangCount(&self, plcount: *mut i32) -> ::windows::runtime::Result<()> { 3176 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(plcount)).ok() 3177 } 3178 #[cfg(feature = "Win32_Foundation")] getSAMILangName(&self, nindex: i32, pbstrname: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3179 pub unsafe fn getSAMILangName(&self, nindex: i32, pbstrname: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3180 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(nindex), ::std::mem::transmute(pbstrname)).ok() 3181 } getSAMILangID(&self, nindex: i32, pllangid: *mut i32) -> ::windows::runtime::Result<()>3182 pub unsafe fn getSAMILangID(&self, nindex: i32, pllangid: *mut i32) -> ::windows::runtime::Result<()> { 3183 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(nindex), ::std::mem::transmute(pllangid)).ok() 3184 } SAMIStyleCount(&self, plcount: *mut i32) -> ::windows::runtime::Result<()>3185 pub unsafe fn SAMIStyleCount(&self, plcount: *mut i32) -> ::windows::runtime::Result<()> { 3186 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(plcount)).ok() 3187 } 3188 #[cfg(feature = "Win32_Foundation")] getSAMIStyleName(&self, nindex: i32, pbstrname: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3189 pub unsafe fn getSAMIStyleName(&self, nindex: i32, pbstrname: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3190 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(nindex), ::std::mem::transmute(pbstrname)).ok() 3191 } 3192 } 3193 unsafe impl ::windows::runtime::Interface for IWMPClosedCaption2 { 3194 type Vtable = IWMPClosedCaption2_abi; 3195 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(889956235, 27592, 16659, [165, 245, 49, 32, 86, 147, 78, 182]); 3196 } 3197 impl ::std::convert::From<IWMPClosedCaption2> for ::windows::runtime::IUnknown { from(value: IWMPClosedCaption2) -> Self3198 fn from(value: IWMPClosedCaption2) -> Self { 3199 unsafe { ::std::mem::transmute(value) } 3200 } 3201 } 3202 impl ::std::convert::From<&IWMPClosedCaption2> for ::windows::runtime::IUnknown { from(value: &IWMPClosedCaption2) -> Self3203 fn from(value: &IWMPClosedCaption2) -> Self { 3204 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3205 } 3206 } 3207 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPClosedCaption2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3208 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3209 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3210 } 3211 } 3212 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPClosedCaption2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3213 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3214 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3215 } 3216 } 3217 impl ::std::convert::From<IWMPClosedCaption2> for IWMPClosedCaption { from(value: IWMPClosedCaption2) -> Self3218 fn from(value: IWMPClosedCaption2) -> Self { 3219 unsafe { ::std::mem::transmute(value) } 3220 } 3221 } 3222 impl ::std::convert::From<&IWMPClosedCaption2> for IWMPClosedCaption { from(value: &IWMPClosedCaption2) -> Self3223 fn from(value: &IWMPClosedCaption2) -> Self { 3224 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3225 } 3226 } 3227 impl<'a> ::windows::runtime::IntoParam<'a, IWMPClosedCaption> for IWMPClosedCaption2 { into_param(self) -> ::windows::runtime::Param<'a, IWMPClosedCaption>3228 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPClosedCaption> { 3229 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPClosedCaption>::into(self)) 3230 } 3231 } 3232 impl<'a> ::windows::runtime::IntoParam<'a, IWMPClosedCaption> for &IWMPClosedCaption2 { into_param(self) -> ::windows::runtime::Param<'a, IWMPClosedCaption>3233 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPClosedCaption> { 3234 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPClosedCaption>::into(::std::clone::Clone::clone(self))) 3235 } 3236 } 3237 #[cfg(feature = "Win32_System_Ole_Automation")] 3238 impl ::std::convert::From<IWMPClosedCaption2> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPClosedCaption2) -> Self3239 fn from(value: IWMPClosedCaption2) -> Self { 3240 unsafe { ::std::mem::transmute(value) } 3241 } 3242 } 3243 #[cfg(feature = "Win32_System_Ole_Automation")] 3244 impl ::std::convert::From<&IWMPClosedCaption2> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPClosedCaption2) -> Self3245 fn from(value: &IWMPClosedCaption2) -> Self { 3246 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3247 } 3248 } 3249 #[cfg(feature = "Win32_System_Ole_Automation")] 3250 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPClosedCaption2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3251 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 3252 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 3253 } 3254 } 3255 #[cfg(feature = "Win32_System_Ole_Automation")] 3256 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPClosedCaption2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3257 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 3258 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3259 } 3260 } 3261 #[repr(C)] 3262 #[doc(hidden)] 3263 pub struct IWMPClosedCaption2_abi( 3264 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3265 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3266 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3267 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3268 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3269 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3270 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3271 #[cfg(not(feature = "Win32_Foundation"))] usize, 3272 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3273 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3274 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3275 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsamistyle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3276 #[cfg(not(feature = "Win32_Foundation"))] usize, 3277 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsamistyle: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3278 #[cfg(not(feature = "Win32_Foundation"))] usize, 3279 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsamilang: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3280 #[cfg(not(feature = "Win32_Foundation"))] usize, 3281 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsamilang: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3282 #[cfg(not(feature = "Win32_Foundation"))] usize, 3283 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsamifilename: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3284 #[cfg(not(feature = "Win32_Foundation"))] usize, 3285 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsamifilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3286 #[cfg(not(feature = "Win32_Foundation"))] usize, 3287 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrcaptioningid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3288 #[cfg(not(feature = "Win32_Foundation"))] usize, 3289 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrcaptioningid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3290 #[cfg(not(feature = "Win32_Foundation"))] usize, 3291 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plcount: *mut i32) -> ::windows::runtime::HRESULT, 3292 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nindex: i32, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3293 #[cfg(not(feature = "Win32_Foundation"))] usize, 3294 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nindex: i32, pllangid: *mut i32) -> ::windows::runtime::HRESULT, 3295 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plcount: *mut i32) -> ::windows::runtime::HRESULT, 3296 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nindex: i32, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3297 #[cfg(not(feature = "Win32_Foundation"))] usize, 3298 ); 3299 #[repr(transparent)] 3300 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3301 pub struct IWMPContentContainer(::windows::runtime::IUnknown); 3302 impl IWMPContentContainer { GetID(&self) -> ::windows::runtime::Result<u32>3303 pub unsafe fn GetID(&self) -> ::windows::runtime::Result<u32> { 3304 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3305 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 3306 } 3307 #[cfg(feature = "Win32_Foundation")] GetPrice(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3308 pub unsafe fn GetPrice(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 3309 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3310 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 3311 } 3312 #[cfg(feature = "Win32_Foundation")] GetType(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3313 pub unsafe fn GetType(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 3314 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3315 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 3316 } GetContentCount(&self) -> ::windows::runtime::Result<u32>3317 pub unsafe fn GetContentCount(&self) -> ::windows::runtime::Result<u32> { 3318 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3319 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 3320 } 3321 #[cfg(feature = "Win32_Foundation")] GetContentPrice(&self, idxcontent: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3322 pub unsafe fn GetContentPrice(&self, idxcontent: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 3323 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3324 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(idxcontent), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 3325 } GetContentID(&self, idxcontent: u32) -> ::windows::runtime::Result<u32>3326 pub unsafe fn GetContentID(&self, idxcontent: u32) -> ::windows::runtime::Result<u32> { 3327 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3328 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(idxcontent), &mut result__).from_abi::<u32>(result__) 3329 } 3330 } 3331 unsafe impl ::windows::runtime::Interface for IWMPContentContainer { 3332 type Vtable = IWMPContentContainer_abi; 3333 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2910801308, 6815, 20178, [152, 21, 236, 192, 181, 140, 182, 22]); 3334 } 3335 impl ::std::convert::From<IWMPContentContainer> for ::windows::runtime::IUnknown { from(value: IWMPContentContainer) -> Self3336 fn from(value: IWMPContentContainer) -> Self { 3337 unsafe { ::std::mem::transmute(value) } 3338 } 3339 } 3340 impl ::std::convert::From<&IWMPContentContainer> for ::windows::runtime::IUnknown { from(value: &IWMPContentContainer) -> Self3341 fn from(value: &IWMPContentContainer) -> Self { 3342 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3343 } 3344 } 3345 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPContentContainer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3346 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3347 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3348 } 3349 } 3350 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPContentContainer { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3351 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3352 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3353 } 3354 } 3355 #[repr(C)] 3356 #[doc(hidden)] 3357 pub struct IWMPContentContainer_abi( 3358 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3359 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3360 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3361 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcontentid: *mut u32) -> ::windows::runtime::HRESULT, 3362 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrprice: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3363 #[cfg(not(feature = "Win32_Foundation"))] usize, 3364 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtype: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3365 #[cfg(not(feature = "Win32_Foundation"))] usize, 3366 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pccontent: *mut u32) -> ::windows::runtime::HRESULT, 3367 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idxcontent: u32, pbstrprice: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3368 #[cfg(not(feature = "Win32_Foundation"))] usize, 3369 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idxcontent: u32, pcontentid: *mut u32) -> ::windows::runtime::HRESULT, 3370 ); 3371 #[repr(transparent)] 3372 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3373 pub struct IWMPContentContainerList(::windows::runtime::IUnknown); 3374 impl IWMPContentContainerList { GetTransactionType(&self) -> ::windows::runtime::Result<WMPTransactionType>3375 pub unsafe fn GetTransactionType(&self) -> ::windows::runtime::Result<WMPTransactionType> { 3376 let mut result__: <WMPTransactionType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3377 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<WMPTransactionType>(result__) 3378 } GetContainerCount(&self) -> ::windows::runtime::Result<u32>3379 pub unsafe fn GetContainerCount(&self) -> ::windows::runtime::Result<u32> { 3380 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3381 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 3382 } GetContainer(&self, idxcontainer: u32) -> ::windows::runtime::Result<IWMPContentContainer>3383 pub unsafe fn GetContainer(&self, idxcontainer: u32) -> ::windows::runtime::Result<IWMPContentContainer> { 3384 let mut result__: <IWMPContentContainer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3385 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(idxcontainer), &mut result__).from_abi::<IWMPContentContainer>(result__) 3386 } 3387 } 3388 unsafe impl ::windows::runtime::Interface for IWMPContentContainerList { 3389 type Vtable = IWMPContentContainerList_abi; 3390 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2845015928, 2050, 19192, [139, 141, 227, 240, 69, 188, 138, 181]); 3391 } 3392 impl ::std::convert::From<IWMPContentContainerList> for ::windows::runtime::IUnknown { from(value: IWMPContentContainerList) -> Self3393 fn from(value: IWMPContentContainerList) -> Self { 3394 unsafe { ::std::mem::transmute(value) } 3395 } 3396 } 3397 impl ::std::convert::From<&IWMPContentContainerList> for ::windows::runtime::IUnknown { from(value: &IWMPContentContainerList) -> Self3398 fn from(value: &IWMPContentContainerList) -> Self { 3399 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3400 } 3401 } 3402 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPContentContainerList { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3403 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3404 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3405 } 3406 } 3407 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPContentContainerList { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3408 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3409 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3410 } 3411 } 3412 #[repr(C)] 3413 #[doc(hidden)] 3414 pub struct IWMPContentContainerList_abi( 3415 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3416 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3417 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3418 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmptt: *mut WMPTransactionType) -> ::windows::runtime::HRESULT, 3419 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pccontainer: *mut u32) -> ::windows::runtime::HRESULT, 3420 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idxcontainer: u32, ppcontent: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3421 ); 3422 #[repr(transparent)] 3423 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3424 pub struct IWMPContentPartner(::windows::runtime::IUnknown); 3425 impl IWMPContentPartner { SetCallback<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPContentPartnerCallback>>(&self, pcallback: Param0) -> ::windows::runtime::Result<()>3426 pub unsafe fn SetCallback<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPContentPartnerCallback>>(&self, pcallback: Param0) -> ::windows::runtime::Result<()> { 3427 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pcallback.into_param().abi()).ok() 3428 } 3429 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Notify(&self, r#type: WMPPartnerNotification, pcontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>3430 pub unsafe fn Notify(&self, r#type: WMPPartnerNotification, pcontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> { 3431 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(pcontext)).ok() 3432 } 3433 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] GetItemInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrinfoname: Param0, pcontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3434 pub unsafe fn GetItemInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrinfoname: Param0, pcontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> { 3435 let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3436 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), bstrinfoname.into_param().abi(), ::std::mem::transmute(pcontext), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__) 3437 } 3438 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] GetContentPartnerInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrinfoname: Param0) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3439 pub unsafe fn GetContentPartnerInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrinfoname: Param0) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> { 3440 let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3441 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), bstrinfoname.into_param().abi(), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__) 3442 } 3443 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] GetCommands<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, location: Param0, plocationcontext: *const super::super::System::Com::VARIANT, itemlocation: Param2, citemids: u32, prgitemids: *const u32, pcitemids: *mut u32, pprgitems: *mut *mut WMPContextMenuInfo) -> ::windows::runtime::Result<()>3444 pub unsafe fn GetCommands<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, location: Param0, plocationcontext: *const super::super::System::Com::VARIANT, itemlocation: Param2, citemids: u32, prgitemids: *const u32, pcitemids: *mut u32, pprgitems: *mut *mut WMPContextMenuInfo) -> ::windows::runtime::Result<()> { 3445 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), location.into_param().abi(), ::std::mem::transmute(plocationcontext), itemlocation.into_param().abi(), ::std::mem::transmute(citemids), ::std::mem::transmute(prgitemids), ::std::mem::transmute(pcitemids), ::std::mem::transmute(pprgitems)).ok() 3446 } 3447 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] InvokeCommand<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, dwcommandid: u32, location: Param1, plocationcontext: *const super::super::System::Com::VARIANT, itemlocation: Param3, citemids: u32, rgitemids: *const u32) -> ::windows::runtime::Result<()>3448 pub unsafe fn InvokeCommand<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, dwcommandid: u32, location: Param1, plocationcontext: *const super::super::System::Com::VARIANT, itemlocation: Param3, citemids: u32, rgitemids: *const u32) -> ::windows::runtime::Result<()> { 3449 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwcommandid), location.into_param().abi(), ::std::mem::transmute(plocationcontext), itemlocation.into_param().abi(), ::std::mem::transmute(citemids), ::std::mem::transmute(rgitemids)).ok() 3450 } 3451 #[cfg(feature = "Win32_Foundation")] CanBuySilent<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPContentContainerList>>(&self, pinfo: Param0, pbstrtotalprice: *mut super::super::Foundation::BSTR, psilentok: *mut i16) -> ::windows::runtime::Result<()>3452 pub unsafe fn CanBuySilent<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPContentContainerList>>(&self, pinfo: Param0, pbstrtotalprice: *mut super::super::Foundation::BSTR, psilentok: *mut i16) -> ::windows::runtime::Result<()> { 3453 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), pinfo.into_param().abi(), ::std::mem::transmute(pbstrtotalprice), ::std::mem::transmute(psilentok)).ok() 3454 } Buy<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPContentContainerList>>(&self, pinfo: Param0, cookie: u32) -> ::windows::runtime::Result<()>3455 pub unsafe fn Buy<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPContentContainerList>>(&self, pinfo: Param0, cookie: u32) -> ::windows::runtime::Result<()> { 3456 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pinfo.into_param().abi(), ::std::mem::transmute(cookie)).ok() 3457 } 3458 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] GetStreamingURL(&self, st: WMPStreamingType, pstreamcontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3459 pub unsafe fn GetStreamingURL(&self, st: WMPStreamingType, pstreamcontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<super::super::Foundation::BSTR> { 3460 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3461 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(st), ::std::mem::transmute(pstreamcontext), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__) 3462 } Download<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPContentContainerList>>(&self, pinfo: Param0, cookie: u32) -> ::windows::runtime::Result<()>3463 pub unsafe fn Download<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPContentContainerList>>(&self, pinfo: Param0, cookie: u32) -> ::windows::runtime::Result<()> { 3464 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pinfo.into_param().abi(), ::std::mem::transmute(cookie)).ok() 3465 } 3466 #[cfg(feature = "Win32_Foundation")] DownloadTrackComplete<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, hrresult: ::windows::runtime::HRESULT, contentid: u32, downloadtrackparam: Param2) -> ::windows::runtime::Result<()>3467 pub unsafe fn DownloadTrackComplete<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, hrresult: ::windows::runtime::HRESULT, contentid: u32, downloadtrackparam: Param2) -> ::windows::runtime::Result<()> { 3468 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(hrresult), ::std::mem::transmute(contentid), downloadtrackparam.into_param().abi()).ok() 3469 } 3470 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] RefreshLicense<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, dwcookie: u32, flocal: i16, bstrurl: Param2, r#type: WMPStreamingType, contentid: u32, bstrrefreshreason: Param5, preasoncontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>3471 pub unsafe fn RefreshLicense<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, dwcookie: u32, flocal: i16, bstrurl: Param2, r#type: WMPStreamingType, contentid: u32, bstrrefreshreason: Param5, preasoncontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> { 3472 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwcookie), ::std::mem::transmute(flocal), bstrurl.into_param().abi(), ::std::mem::transmute(r#type), ::std::mem::transmute(contentid), bstrrefreshreason.into_param().abi(), ::std::mem::transmute(preasoncontext)).ok() 3473 } 3474 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] GetCatalogURL(&self, dwcatalogversion: u32, dwcatalogschemaversion: u32, cataloglcid: u32, pdwnewcatalogversion: *mut u32, pbstrcatalogurl: *mut super::super::Foundation::BSTR, pexpirationdate: *mut super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>3475 pub unsafe fn GetCatalogURL(&self, dwcatalogversion: u32, dwcatalogschemaversion: u32, cataloglcid: u32, pdwnewcatalogversion: *mut u32, pbstrcatalogurl: *mut super::super::Foundation::BSTR, pexpirationdate: *mut super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> { 3476 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwcatalogversion), ::std::mem::transmute(dwcatalogschemaversion), ::std::mem::transmute(cataloglcid), ::std::mem::transmute(pdwnewcatalogversion), ::std::mem::transmute(pbstrcatalogurl), ::std::mem::transmute(pexpirationdate)).ok() 3477 } 3478 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] GetTemplate<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>( &self, task: WMPTaskType, location: Param1, pcontext: *const super::super::System::Com::VARIANT, clicklocation: Param3, pclickcontext: *const super::super::System::Com::VARIANT, bstrfilter: Param5, bstrviewparams: Param6, pbstrtemplateurl: *mut super::super::Foundation::BSTR, ptemplatesize: *mut WMPTemplateSize, ) -> ::windows::runtime::Result<()>3479 pub unsafe fn GetTemplate<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>( 3480 &self, 3481 task: WMPTaskType, 3482 location: Param1, 3483 pcontext: *const super::super::System::Com::VARIANT, 3484 clicklocation: Param3, 3485 pclickcontext: *const super::super::System::Com::VARIANT, 3486 bstrfilter: Param5, 3487 bstrviewparams: Param6, 3488 pbstrtemplateurl: *mut super::super::Foundation::BSTR, 3489 ptemplatesize: *mut WMPTemplateSize, 3490 ) -> ::windows::runtime::Result<()> { 3491 (::windows::runtime::Interface::vtable(self).16)( 3492 ::std::mem::transmute_copy(self), 3493 ::std::mem::transmute(task), 3494 location.into_param().abi(), 3495 ::std::mem::transmute(pcontext), 3496 clicklocation.into_param().abi(), 3497 ::std::mem::transmute(pclickcontext), 3498 bstrfilter.into_param().abi(), 3499 bstrviewparams.into_param().abi(), 3500 ::std::mem::transmute(pbstrtemplateurl), 3501 ::std::mem::transmute(ptemplatesize), 3502 ) 3503 .ok() 3504 } 3505 #[cfg(feature = "Win32_Foundation")] UpdateDevice<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdevicename: Param0) -> ::windows::runtime::Result<()>3506 pub unsafe fn UpdateDevice<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdevicename: Param0) -> ::windows::runtime::Result<()> { 3507 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), bstrdevicename.into_param().abi()).ok() 3508 } 3509 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] GetListContents<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, location: Param0, pcontext: *const super::super::System::Com::VARIANT, bstrlisttype: Param2, bstrparams: Param3, dwlistcookie: u32) -> ::windows::runtime::Result<()>3510 pub unsafe fn GetListContents<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, location: Param0, pcontext: *const super::super::System::Com::VARIANT, bstrlisttype: Param2, bstrparams: Param3, dwlistcookie: u32) -> ::windows::runtime::Result<()> { 3511 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), location.into_param().abi(), ::std::mem::transmute(pcontext), bstrlisttype.into_param().abi(), bstrparams.into_param().abi(), ::std::mem::transmute(dwlistcookie)).ok() 3512 } 3513 #[cfg(feature = "Win32_System_Com")] Login<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::BLOB>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::BLOB>>(&self, userinfo: Param0, pwdinfo: Param1, fusedcachedcreds: i16, foktocache: i16) -> ::windows::runtime::Result<()>3514 pub unsafe fn Login<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::BLOB>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::BLOB>>(&self, userinfo: Param0, pwdinfo: Param1, fusedcachedcreds: i16, foktocache: i16) -> ::windows::runtime::Result<()> { 3515 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), userinfo.into_param().abi(), pwdinfo.into_param().abi(), ::std::mem::transmute(fusedcachedcreds), ::std::mem::transmute(foktocache)).ok() 3516 } 3517 #[cfg(feature = "Win32_System_Com")] Authenticate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::BLOB>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::BLOB>>(&self, userinfo: Param0, pwdinfo: Param1) -> ::windows::runtime::Result<()>3518 pub unsafe fn Authenticate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::BLOB>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::BLOB>>(&self, userinfo: Param0, pwdinfo: Param1) -> ::windows::runtime::Result<()> { 3519 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), userinfo.into_param().abi(), pwdinfo.into_param().abi()).ok() 3520 } Logout(&self) -> ::windows::runtime::Result<()>3521 pub unsafe fn Logout(&self) -> ::windows::runtime::Result<()> { 3522 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok() 3523 } 3524 #[cfg(feature = "Win32_Foundation")] SendMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrmsg: Param0, bstrparam: Param1) -> ::windows::runtime::Result<()>3525 pub unsafe fn SendMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrmsg: Param0, bstrparam: Param1) -> ::windows::runtime::Result<()> { 3526 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), bstrmsg.into_param().abi(), bstrparam.into_param().abi()).ok() 3527 } 3528 #[cfg(feature = "Win32_Foundation")] StationEvent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrstationeventtype: Param0, stationid: u32, playlistindex: u32, trackid: u32, trackdata: Param4, dwsecondsplayed: u32) -> ::windows::runtime::Result<()>3529 pub unsafe fn StationEvent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrstationeventtype: Param0, stationid: u32, playlistindex: u32, trackid: u32, trackdata: Param4, dwsecondsplayed: u32) -> ::windows::runtime::Result<()> { 3530 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), bstrstationeventtype.into_param().abi(), ::std::mem::transmute(stationid), ::std::mem::transmute(playlistindex), ::std::mem::transmute(trackid), trackdata.into_param().abi(), ::std::mem::transmute(dwsecondsplayed)).ok() 3531 } CompareContainerListPrices<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPContentContainerList>, Param1: ::windows::runtime::IntoParam<'a, IWMPContentContainerList>>(&self, plistbase: Param0, plistcompare: Param1) -> ::windows::runtime::Result<i32>3532 pub unsafe fn CompareContainerListPrices<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPContentContainerList>, Param1: ::windows::runtime::IntoParam<'a, IWMPContentContainerList>>(&self, plistbase: Param0, plistcompare: Param1) -> ::windows::runtime::Result<i32> { 3533 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3534 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), plistbase.into_param().abi(), plistcompare.into_param().abi(), &mut result__).from_abi::<i32>(result__) 3535 } 3536 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] VerifyPermission<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrpermission: Param0, pcontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>3537 pub unsafe fn VerifyPermission<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrpermission: Param0, pcontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> { 3538 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), bstrpermission.into_param().abi(), ::std::mem::transmute(pcontext)).ok() 3539 } 3540 } 3541 unsafe impl ::windows::runtime::Interface for IWMPContentPartner { 3542 type Vtable = IWMPContentPartner_abi; 3543 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1430605939, 16821, 20085, [135, 184, 241, 59, 219, 41, 29, 8]); 3544 } 3545 impl ::std::convert::From<IWMPContentPartner> for ::windows::runtime::IUnknown { from(value: IWMPContentPartner) -> Self3546 fn from(value: IWMPContentPartner) -> Self { 3547 unsafe { ::std::mem::transmute(value) } 3548 } 3549 } 3550 impl ::std::convert::From<&IWMPContentPartner> for ::windows::runtime::IUnknown { from(value: &IWMPContentPartner) -> Self3551 fn from(value: &IWMPContentPartner) -> Self { 3552 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3553 } 3554 } 3555 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPContentPartner { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3556 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3557 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3558 } 3559 } 3560 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPContentPartner { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3561 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3562 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3563 } 3564 } 3565 #[repr(C)] 3566 #[doc(hidden)] 3567 pub struct IWMPContentPartner_abi( 3568 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3569 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3570 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3571 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcallback: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3572 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: WMPPartnerNotification, pcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3573 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3574 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrinfoname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pdata: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3575 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3576 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrinfoname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdata: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3577 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3578 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3579 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, location: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, plocationcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, itemlocation: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, citemids: u32, prgitemids: *const u32, pcitemids: *mut u32, pprgitems: *mut *mut WMPContextMenuInfo) -> ::windows::runtime::HRESULT, 3580 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3581 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwcommandid: u32, location: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, plocationcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, itemlocation: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, citemids: u32, rgitemids: *const u32) -> ::windows::runtime::HRESULT, 3582 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3583 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinfo: ::windows::runtime::RawPtr, pbstrtotalprice: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, psilentok: *mut i16) -> ::windows::runtime::HRESULT, 3584 #[cfg(not(feature = "Win32_Foundation"))] usize, 3585 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinfo: ::windows::runtime::RawPtr, cookie: u32) -> ::windows::runtime::HRESULT, 3586 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, st: WMPStreamingType, pstreamcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3587 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3588 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinfo: ::windows::runtime::RawPtr, cookie: u32) -> ::windows::runtime::HRESULT, 3589 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hrresult: ::windows::runtime::HRESULT, contentid: u32, downloadtrackparam: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3590 #[cfg(not(feature = "Win32_Foundation"))] usize, 3591 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3592 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwcookie: u32, flocal: i16, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: WMPStreamingType, contentid: u32, bstrrefreshreason: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, preasoncontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3593 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3594 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwcatalogversion: u32, dwcatalogschemaversion: u32, cataloglcid: u32, pdwnewcatalogversion: *mut u32, pbstrcatalogurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pexpirationdate: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3595 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3596 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3597 pub unsafe extern "system" fn( 3598 this: ::windows::runtime::RawPtr, 3599 task: WMPTaskType, 3600 location: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, 3601 pcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, 3602 clicklocation: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, 3603 pclickcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, 3604 bstrfilter: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, 3605 bstrviewparams: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, 3606 pbstrtemplateurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, 3607 ptemplatesize: *mut WMPTemplateSize, 3608 ) -> ::windows::runtime::HRESULT, 3609 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3610 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrdevicename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3611 #[cfg(not(feature = "Win32_Foundation"))] usize, 3612 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3613 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, location: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, bstrlisttype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrparams: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, dwlistcookie: u32) -> ::windows::runtime::HRESULT, 3614 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3615 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, userinfo: super::super::System::Com::BLOB, pwdinfo: super::super::System::Com::BLOB, fusedcachedcreds: i16, foktocache: i16) -> ::windows::runtime::HRESULT, 3616 #[cfg(not(feature = "Win32_System_Com"))] usize, 3617 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, userinfo: super::super::System::Com::BLOB, pwdinfo: super::super::System::Com::BLOB) -> ::windows::runtime::HRESULT, 3618 #[cfg(not(feature = "Win32_System_Com"))] usize, 3619 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3620 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrmsg: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrparam: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3621 #[cfg(not(feature = "Win32_Foundation"))] usize, 3622 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrstationeventtype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, stationid: u32, playlistindex: u32, trackid: u32, trackdata: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, dwsecondsplayed: u32) -> ::windows::runtime::HRESULT, 3623 #[cfg(not(feature = "Win32_Foundation"))] usize, 3624 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plistbase: ::windows::runtime::RawPtr, plistcompare: ::windows::runtime::RawPtr, presult: *mut i32) -> ::windows::runtime::HRESULT, 3625 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrpermission: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3626 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3627 ); 3628 #[repr(transparent)] 3629 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3630 pub struct IWMPContentPartnerCallback(::windows::runtime::IUnknown); 3631 impl IWMPContentPartnerCallback { 3632 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Notify(&self, r#type: WMPCallbackNotification, pcontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>3633 pub unsafe fn Notify(&self, r#type: WMPCallbackNotification, pcontext: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> { 3634 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(pcontext)).ok() 3635 } BuyComplete(&self, hrresult: ::windows::runtime::HRESULT, dwbuycookie: u32) -> ::windows::runtime::Result<()>3636 pub unsafe fn BuyComplete(&self, hrresult: ::windows::runtime::HRESULT, dwbuycookie: u32) -> ::windows::runtime::Result<()> { 3637 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(hrresult), ::std::mem::transmute(dwbuycookie)).ok() 3638 } 3639 #[cfg(feature = "Win32_Foundation")] DownloadTrack<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, cookie: u32, bstrtrackurl: Param1, dwservicetrackid: u32, bstrdownloadparams: Param3, hrdownload: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()>3640 pub unsafe fn DownloadTrack<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, cookie: u32, bstrtrackurl: Param1, dwservicetrackid: u32, bstrdownloadparams: Param3, hrdownload: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()> { 3641 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(cookie), bstrtrackurl.into_param().abi(), ::std::mem::transmute(dwservicetrackid), bstrdownloadparams.into_param().abi(), ::std::mem::transmute(hrdownload)).ok() 3642 } GetCatalogVersion(&self, pdwversion: *mut u32, pdwschemaversion: *mut u32, plcid: *mut u32) -> ::windows::runtime::Result<()>3643 pub unsafe fn GetCatalogVersion(&self, pdwversion: *mut u32, pdwschemaversion: *mut u32, plcid: *mut u32) -> ::windows::runtime::Result<()> { 3644 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdwversion), ::std::mem::transmute(pdwschemaversion), ::std::mem::transmute(plcid)).ok() 3645 } 3646 #[cfg(feature = "Win32_Foundation")] UpdateDeviceComplete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdevicename: Param0) -> ::windows::runtime::Result<()>3647 pub unsafe fn UpdateDeviceComplete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrdevicename: Param0) -> ::windows::runtime::Result<()> { 3648 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), bstrdevicename.into_param().abi()).ok() 3649 } 3650 #[cfg(feature = "Win32_Foundation")] ChangeView<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrtype: Param0, bstrid: Param1, bstrfilter: Param2) -> ::windows::runtime::Result<()>3651 pub unsafe fn ChangeView<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrtype: Param0, bstrid: Param1, bstrfilter: Param2) -> ::windows::runtime::Result<()> { 3652 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), bstrtype.into_param().abi(), bstrid.into_param().abi(), bstrfilter.into_param().abi()).ok() 3653 } AddListContents(&self, dwlistcookie: u32, citems: u32, prgitems: *const u32) -> ::windows::runtime::Result<()>3654 pub unsafe fn AddListContents(&self, dwlistcookie: u32, citems: u32, prgitems: *const u32) -> ::windows::runtime::Result<()> { 3655 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlistcookie), ::std::mem::transmute(citems), ::std::mem::transmute(prgitems)).ok() 3656 } ListContentsComplete(&self, dwlistcookie: u32, hrsuccess: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()>3657 pub unsafe fn ListContentsComplete(&self, dwlistcookie: u32, hrsuccess: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()> { 3658 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlistcookie), ::std::mem::transmute(hrsuccess)).ok() 3659 } 3660 #[cfg(feature = "Win32_Foundation")] SendMessageComplete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrmsg: Param0, bstrparam: Param1, bstrresult: Param2) -> ::windows::runtime::Result<()>3661 pub unsafe fn SendMessageComplete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrmsg: Param0, bstrparam: Param1, bstrresult: Param2) -> ::windows::runtime::Result<()> { 3662 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), bstrmsg.into_param().abi(), bstrparam.into_param().abi(), bstrresult.into_param().abi()).ok() 3663 } GetContentIDsInLibrary(&self, pccontentids: *mut u32, pprgids: *mut *mut u32) -> ::windows::runtime::Result<()>3664 pub unsafe fn GetContentIDsInLibrary(&self, pccontentids: *mut u32, pprgids: *mut *mut u32) -> ::windows::runtime::Result<()> { 3665 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(pccontentids), ::std::mem::transmute(pprgids)).ok() 3666 } RefreshLicenseComplete(&self, dwcookie: u32, contentid: u32, hrrefresh: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()>3667 pub unsafe fn RefreshLicenseComplete(&self, dwcookie: u32, contentid: u32, hrrefresh: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()> { 3668 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwcookie), ::std::mem::transmute(contentid), ::std::mem::transmute(hrrefresh)).ok() 3669 } 3670 #[cfg(feature = "Win32_Foundation")] ShowPopup<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, lindex: i32, bstrparameters: Param1) -> ::windows::runtime::Result<()>3671 pub unsafe fn ShowPopup<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, lindex: i32, bstrparameters: Param1) -> ::windows::runtime::Result<()> { 3672 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(lindex), bstrparameters.into_param().abi()).ok() 3673 } 3674 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] VerifyPermissionComplete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrpermission: Param0, pcontext: *const super::super::System::Com::VARIANT, hrpermission: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()>3675 pub unsafe fn VerifyPermissionComplete<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrpermission: Param0, pcontext: *const super::super::System::Com::VARIANT, hrpermission: ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()> { 3676 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), bstrpermission.into_param().abi(), ::std::mem::transmute(pcontext), ::std::mem::transmute(hrpermission)).ok() 3677 } 3678 } 3679 unsafe impl ::windows::runtime::Interface for IWMPContentPartnerCallback { 3680 type Vtable = IWMPContentPartnerCallback_abi; 3681 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2660203938, 1685, 16444, [182, 151, 218, 16, 250, 250, 166, 118]); 3682 } 3683 impl ::std::convert::From<IWMPContentPartnerCallback> for ::windows::runtime::IUnknown { from(value: IWMPContentPartnerCallback) -> Self3684 fn from(value: IWMPContentPartnerCallback) -> Self { 3685 unsafe { ::std::mem::transmute(value) } 3686 } 3687 } 3688 impl ::std::convert::From<&IWMPContentPartnerCallback> for ::windows::runtime::IUnknown { from(value: &IWMPContentPartnerCallback) -> Self3689 fn from(value: &IWMPContentPartnerCallback) -> Self { 3690 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3691 } 3692 } 3693 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPContentPartnerCallback { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3694 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3695 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3696 } 3697 } 3698 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPContentPartnerCallback { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3699 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3700 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3701 } 3702 } 3703 #[repr(C)] 3704 #[doc(hidden)] 3705 pub struct IWMPContentPartnerCallback_abi( 3706 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3707 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3708 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3709 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: WMPCallbackNotification, pcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT, 3710 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3711 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hrresult: ::windows::runtime::HRESULT, dwbuycookie: u32) -> ::windows::runtime::HRESULT, 3712 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cookie: u32, bstrtrackurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, dwservicetrackid: u32, bstrdownloadparams: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, hrdownload: ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT, 3713 #[cfg(not(feature = "Win32_Foundation"))] usize, 3714 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwversion: *mut u32, pdwschemaversion: *mut u32, plcid: *mut u32) -> ::windows::runtime::HRESULT, 3715 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrdevicename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3716 #[cfg(not(feature = "Win32_Foundation"))] usize, 3717 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrtype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrfilter: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3718 #[cfg(not(feature = "Win32_Foundation"))] usize, 3719 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlistcookie: u32, citems: u32, prgitems: *const u32) -> ::windows::runtime::HRESULT, 3720 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlistcookie: u32, hrsuccess: ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT, 3721 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrmsg: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrparam: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrresult: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3722 #[cfg(not(feature = "Win32_Foundation"))] usize, 3723 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pccontentids: *mut u32, pprgids: *mut *mut u32) -> ::windows::runtime::HRESULT, 3724 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwcookie: u32, contentid: u32, hrrefresh: ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT, 3725 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lindex: i32, bstrparameters: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3726 #[cfg(not(feature = "Win32_Foundation"))] usize, 3727 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrpermission: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pcontext: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, hrpermission: ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT, 3728 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3729 ); 3730 #[repr(transparent)] 3731 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3732 pub struct IWMPControls(::windows::runtime::IUnknown); 3733 impl IWMPControls { 3734 #[cfg(feature = "Win32_Foundation")] isAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pisavailable: *mut i16) -> ::windows::runtime::Result<()>3735 pub unsafe fn isAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pisavailable: *mut i16) -> ::windows::runtime::Result<()> { 3736 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), bstritem.into_param().abi(), ::std::mem::transmute(pisavailable)).ok() 3737 } play(&self) -> ::windows::runtime::Result<()>3738 pub unsafe fn play(&self) -> ::windows::runtime::Result<()> { 3739 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok() 3740 } stop(&self) -> ::windows::runtime::Result<()>3741 pub unsafe fn stop(&self) -> ::windows::runtime::Result<()> { 3742 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok() 3743 } pause(&self) -> ::windows::runtime::Result<()>3744 pub unsafe fn pause(&self) -> ::windows::runtime::Result<()> { 3745 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok() 3746 } fastForward(&self) -> ::windows::runtime::Result<()>3747 pub unsafe fn fastForward(&self) -> ::windows::runtime::Result<()> { 3748 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok() 3749 } fastReverse(&self) -> ::windows::runtime::Result<()>3750 pub unsafe fn fastReverse(&self) -> ::windows::runtime::Result<()> { 3751 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 3752 } currentPosition(&self, pdcurrentposition: *mut f64) -> ::windows::runtime::Result<()>3753 pub unsafe fn currentPosition(&self, pdcurrentposition: *mut f64) -> ::windows::runtime::Result<()> { 3754 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdcurrentposition)).ok() 3755 } SetcurrentPosition(&self, dcurrentposition: f64) -> ::windows::runtime::Result<()>3756 pub unsafe fn SetcurrentPosition(&self, dcurrentposition: f64) -> ::windows::runtime::Result<()> { 3757 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(dcurrentposition)).ok() 3758 } 3759 #[cfg(feature = "Win32_Foundation")] currentPositionString(&self, pbstrcurrentposition: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3760 pub unsafe fn currentPositionString(&self, pbstrcurrentposition: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3761 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrcurrentposition)).ok() 3762 } next(&self) -> ::windows::runtime::Result<()>3763 pub unsafe fn next(&self) -> ::windows::runtime::Result<()> { 3764 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok() 3765 } previous(&self) -> ::windows::runtime::Result<()>3766 pub unsafe fn previous(&self) -> ::windows::runtime::Result<()> { 3767 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok() 3768 } currentItem(&self) -> ::windows::runtime::Result<IWMPMedia>3769 pub unsafe fn currentItem(&self) -> ::windows::runtime::Result<IWMPMedia> { 3770 let mut result__: <IWMPMedia as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3771 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPMedia>(result__) 3772 } SetcurrentItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()>3773 pub unsafe fn SetcurrentItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()> { 3774 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), piwmpmedia.into_param().abi()).ok() 3775 } currentMarker(&self, plmarker: *mut i32) -> ::windows::runtime::Result<()>3776 pub unsafe fn currentMarker(&self, plmarker: *mut i32) -> ::windows::runtime::Result<()> { 3777 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(plmarker)).ok() 3778 } SetcurrentMarker(&self, lmarker: i32) -> ::windows::runtime::Result<()>3779 pub unsafe fn SetcurrentMarker(&self, lmarker: i32) -> ::windows::runtime::Result<()> { 3780 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmarker)).ok() 3781 } playItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()>3782 pub unsafe fn playItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()> { 3783 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), piwmpmedia.into_param().abi()).ok() 3784 } 3785 } 3786 unsafe impl ::windows::runtime::Interface for IWMPControls { 3787 type Vtable = IWMPControls_abi; 3788 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1958780418, 63528, 4562, [167, 75, 0, 160, 201, 5, 243, 110]); 3789 } 3790 impl ::std::convert::From<IWMPControls> for ::windows::runtime::IUnknown { from(value: IWMPControls) -> Self3791 fn from(value: IWMPControls) -> Self { 3792 unsafe { ::std::mem::transmute(value) } 3793 } 3794 } 3795 impl ::std::convert::From<&IWMPControls> for ::windows::runtime::IUnknown { from(value: &IWMPControls) -> Self3796 fn from(value: &IWMPControls) -> Self { 3797 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3798 } 3799 } 3800 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPControls { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3801 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3802 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3803 } 3804 } 3805 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPControls { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3806 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3807 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3808 } 3809 } 3810 #[cfg(feature = "Win32_System_Ole_Automation")] 3811 impl ::std::convert::From<IWMPControls> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPControls) -> Self3812 fn from(value: IWMPControls) -> Self { 3813 unsafe { ::std::mem::transmute(value) } 3814 } 3815 } 3816 #[cfg(feature = "Win32_System_Ole_Automation")] 3817 impl ::std::convert::From<&IWMPControls> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPControls) -> Self3818 fn from(value: &IWMPControls) -> Self { 3819 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3820 } 3821 } 3822 #[cfg(feature = "Win32_System_Ole_Automation")] 3823 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPControls { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3824 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 3825 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 3826 } 3827 } 3828 #[cfg(feature = "Win32_System_Ole_Automation")] 3829 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPControls { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3830 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 3831 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3832 } 3833 } 3834 #[repr(C)] 3835 #[doc(hidden)] 3836 pub struct IWMPControls_abi( 3837 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3838 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3839 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3840 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3841 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3842 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3843 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3844 #[cfg(not(feature = "Win32_Foundation"))] usize, 3845 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3846 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3847 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3848 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstritem: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pisavailable: *mut i16) -> ::windows::runtime::HRESULT, 3849 #[cfg(not(feature = "Win32_Foundation"))] usize, 3850 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3851 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3852 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3853 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3854 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3855 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdcurrentposition: *mut f64) -> ::windows::runtime::HRESULT, 3856 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dcurrentposition: f64) -> ::windows::runtime::HRESULT, 3857 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrcurrentposition: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3858 #[cfg(not(feature = "Win32_Foundation"))] usize, 3859 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3860 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3861 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppiwmpmedia: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3862 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piwmpmedia: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3863 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmarker: *mut i32) -> ::windows::runtime::HRESULT, 3864 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmarker: i32) -> ::windows::runtime::HRESULT, 3865 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piwmpmedia: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3866 ); 3867 #[repr(transparent)] 3868 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3869 pub struct IWMPControls2(::windows::runtime::IUnknown); 3870 impl IWMPControls2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>3871 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 3872 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3873 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 3874 } 3875 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>3876 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> { 3877 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3878 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__) 3879 } 3880 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>3881 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 3882 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 3883 } 3884 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>3885 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 3886 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 3887 } 3888 #[cfg(feature = "Win32_Foundation")] isAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pisavailable: *mut i16) -> ::windows::runtime::Result<()>3889 pub unsafe fn isAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pisavailable: *mut i16) -> ::windows::runtime::Result<()> { 3890 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), bstritem.into_param().abi(), ::std::mem::transmute(pisavailable)).ok() 3891 } play(&self) -> ::windows::runtime::Result<()>3892 pub unsafe fn play(&self) -> ::windows::runtime::Result<()> { 3893 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok() 3894 } stop(&self) -> ::windows::runtime::Result<()>3895 pub unsafe fn stop(&self) -> ::windows::runtime::Result<()> { 3896 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok() 3897 } pause(&self) -> ::windows::runtime::Result<()>3898 pub unsafe fn pause(&self) -> ::windows::runtime::Result<()> { 3899 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok() 3900 } fastForward(&self) -> ::windows::runtime::Result<()>3901 pub unsafe fn fastForward(&self) -> ::windows::runtime::Result<()> { 3902 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok() 3903 } fastReverse(&self) -> ::windows::runtime::Result<()>3904 pub unsafe fn fastReverse(&self) -> ::windows::runtime::Result<()> { 3905 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 3906 } currentPosition(&self, pdcurrentposition: *mut f64) -> ::windows::runtime::Result<()>3907 pub unsafe fn currentPosition(&self, pdcurrentposition: *mut f64) -> ::windows::runtime::Result<()> { 3908 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdcurrentposition)).ok() 3909 } SetcurrentPosition(&self, dcurrentposition: f64) -> ::windows::runtime::Result<()>3910 pub unsafe fn SetcurrentPosition(&self, dcurrentposition: f64) -> ::windows::runtime::Result<()> { 3911 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(dcurrentposition)).ok() 3912 } 3913 #[cfg(feature = "Win32_Foundation")] currentPositionString(&self, pbstrcurrentposition: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>3914 pub unsafe fn currentPositionString(&self, pbstrcurrentposition: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 3915 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrcurrentposition)).ok() 3916 } next(&self) -> ::windows::runtime::Result<()>3917 pub unsafe fn next(&self) -> ::windows::runtime::Result<()> { 3918 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok() 3919 } previous(&self) -> ::windows::runtime::Result<()>3920 pub unsafe fn previous(&self) -> ::windows::runtime::Result<()> { 3921 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok() 3922 } currentItem(&self) -> ::windows::runtime::Result<IWMPMedia>3923 pub unsafe fn currentItem(&self) -> ::windows::runtime::Result<IWMPMedia> { 3924 let mut result__: <IWMPMedia as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3925 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPMedia>(result__) 3926 } SetcurrentItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()>3927 pub unsafe fn SetcurrentItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()> { 3928 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), piwmpmedia.into_param().abi()).ok() 3929 } currentMarker(&self, plmarker: *mut i32) -> ::windows::runtime::Result<()>3930 pub unsafe fn currentMarker(&self, plmarker: *mut i32) -> ::windows::runtime::Result<()> { 3931 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(plmarker)).ok() 3932 } SetcurrentMarker(&self, lmarker: i32) -> ::windows::runtime::Result<()>3933 pub unsafe fn SetcurrentMarker(&self, lmarker: i32) -> ::windows::runtime::Result<()> { 3934 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmarker)).ok() 3935 } playItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()>3936 pub unsafe fn playItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()> { 3937 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), piwmpmedia.into_param().abi()).ok() 3938 } step(&self, lstep: i32) -> ::windows::runtime::Result<()>3939 pub unsafe fn step(&self, lstep: i32) -> ::windows::runtime::Result<()> { 3940 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(lstep)).ok() 3941 } 3942 } 3943 unsafe impl ::windows::runtime::Interface for IWMPControls2 { 3944 type Vtable = IWMPControls2_abi; 3945 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1862470949, 2192, 18447, [151, 117, 31, 126, 64, 171, 91, 142]); 3946 } 3947 impl ::std::convert::From<IWMPControls2> for ::windows::runtime::IUnknown { from(value: IWMPControls2) -> Self3948 fn from(value: IWMPControls2) -> Self { 3949 unsafe { ::std::mem::transmute(value) } 3950 } 3951 } 3952 impl ::std::convert::From<&IWMPControls2> for ::windows::runtime::IUnknown { from(value: &IWMPControls2) -> Self3953 fn from(value: &IWMPControls2) -> Self { 3954 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3955 } 3956 } 3957 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPControls2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3958 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3959 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 3960 } 3961 } 3962 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPControls2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3963 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 3964 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 3965 } 3966 } 3967 impl ::std::convert::From<IWMPControls2> for IWMPControls { from(value: IWMPControls2) -> Self3968 fn from(value: IWMPControls2) -> Self { 3969 unsafe { ::std::mem::transmute(value) } 3970 } 3971 } 3972 impl ::std::convert::From<&IWMPControls2> for IWMPControls { from(value: &IWMPControls2) -> Self3973 fn from(value: &IWMPControls2) -> Self { 3974 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3975 } 3976 } 3977 impl<'a> ::windows::runtime::IntoParam<'a, IWMPControls> for IWMPControls2 { into_param(self) -> ::windows::runtime::Param<'a, IWMPControls>3978 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPControls> { 3979 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPControls>::into(self)) 3980 } 3981 } 3982 impl<'a> ::windows::runtime::IntoParam<'a, IWMPControls> for &IWMPControls2 { into_param(self) -> ::windows::runtime::Param<'a, IWMPControls>3983 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPControls> { 3984 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPControls>::into(::std::clone::Clone::clone(self))) 3985 } 3986 } 3987 #[cfg(feature = "Win32_System_Ole_Automation")] 3988 impl ::std::convert::From<IWMPControls2> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPControls2) -> Self3989 fn from(value: IWMPControls2) -> Self { 3990 unsafe { ::std::mem::transmute(value) } 3991 } 3992 } 3993 #[cfg(feature = "Win32_System_Ole_Automation")] 3994 impl ::std::convert::From<&IWMPControls2> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPControls2) -> Self3995 fn from(value: &IWMPControls2) -> Self { 3996 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3997 } 3998 } 3999 #[cfg(feature = "Win32_System_Ole_Automation")] 4000 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPControls2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4001 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 4002 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 4003 } 4004 } 4005 #[cfg(feature = "Win32_System_Ole_Automation")] 4006 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPControls2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4007 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 4008 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 4009 } 4010 } 4011 #[repr(C)] 4012 #[doc(hidden)] 4013 pub struct IWMPControls2_abi( 4014 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4015 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4016 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4017 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 4018 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4019 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4020 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 4021 #[cfg(not(feature = "Win32_Foundation"))] usize, 4022 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4023 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 4024 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4025 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstritem: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pisavailable: *mut i16) -> ::windows::runtime::HRESULT, 4026 #[cfg(not(feature = "Win32_Foundation"))] usize, 4027 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4028 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4029 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4030 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4031 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4032 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdcurrentposition: *mut f64) -> ::windows::runtime::HRESULT, 4033 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dcurrentposition: f64) -> ::windows::runtime::HRESULT, 4034 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrcurrentposition: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4035 #[cfg(not(feature = "Win32_Foundation"))] usize, 4036 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4037 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4038 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppiwmpmedia: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4039 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piwmpmedia: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4040 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmarker: *mut i32) -> ::windows::runtime::HRESULT, 4041 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmarker: i32) -> ::windows::runtime::HRESULT, 4042 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piwmpmedia: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4043 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lstep: i32) -> ::windows::runtime::HRESULT, 4044 ); 4045 #[repr(transparent)] 4046 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4047 pub struct IWMPControls3(::windows::runtime::IUnknown); 4048 impl IWMPControls3 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>4049 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 4050 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4051 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 4052 } 4053 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>4054 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> { 4055 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4056 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__) 4057 } 4058 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>4059 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 4060 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 4061 } 4062 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>4063 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 4064 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 4065 } 4066 #[cfg(feature = "Win32_Foundation")] isAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pisavailable: *mut i16) -> ::windows::runtime::Result<()>4067 pub unsafe fn isAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pisavailable: *mut i16) -> ::windows::runtime::Result<()> { 4068 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), bstritem.into_param().abi(), ::std::mem::transmute(pisavailable)).ok() 4069 } play(&self) -> ::windows::runtime::Result<()>4070 pub unsafe fn play(&self) -> ::windows::runtime::Result<()> { 4071 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok() 4072 } stop(&self) -> ::windows::runtime::Result<()>4073 pub unsafe fn stop(&self) -> ::windows::runtime::Result<()> { 4074 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok() 4075 } pause(&self) -> ::windows::runtime::Result<()>4076 pub unsafe fn pause(&self) -> ::windows::runtime::Result<()> { 4077 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok() 4078 } fastForward(&self) -> ::windows::runtime::Result<()>4079 pub unsafe fn fastForward(&self) -> ::windows::runtime::Result<()> { 4080 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok() 4081 } fastReverse(&self) -> ::windows::runtime::Result<()>4082 pub unsafe fn fastReverse(&self) -> ::windows::runtime::Result<()> { 4083 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 4084 } currentPosition(&self, pdcurrentposition: *mut f64) -> ::windows::runtime::Result<()>4085 pub unsafe fn currentPosition(&self, pdcurrentposition: *mut f64) -> ::windows::runtime::Result<()> { 4086 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdcurrentposition)).ok() 4087 } SetcurrentPosition(&self, dcurrentposition: f64) -> ::windows::runtime::Result<()>4088 pub unsafe fn SetcurrentPosition(&self, dcurrentposition: f64) -> ::windows::runtime::Result<()> { 4089 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(dcurrentposition)).ok() 4090 } 4091 #[cfg(feature = "Win32_Foundation")] currentPositionString(&self, pbstrcurrentposition: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4092 pub unsafe fn currentPositionString(&self, pbstrcurrentposition: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4093 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrcurrentposition)).ok() 4094 } next(&self) -> ::windows::runtime::Result<()>4095 pub unsafe fn next(&self) -> ::windows::runtime::Result<()> { 4096 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok() 4097 } previous(&self) -> ::windows::runtime::Result<()>4098 pub unsafe fn previous(&self) -> ::windows::runtime::Result<()> { 4099 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok() 4100 } currentItem(&self) -> ::windows::runtime::Result<IWMPMedia>4101 pub unsafe fn currentItem(&self) -> ::windows::runtime::Result<IWMPMedia> { 4102 let mut result__: <IWMPMedia as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4103 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPMedia>(result__) 4104 } SetcurrentItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()>4105 pub unsafe fn SetcurrentItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()> { 4106 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), piwmpmedia.into_param().abi()).ok() 4107 } currentMarker(&self, plmarker: *mut i32) -> ::windows::runtime::Result<()>4108 pub unsafe fn currentMarker(&self, plmarker: *mut i32) -> ::windows::runtime::Result<()> { 4109 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(plmarker)).ok() 4110 } SetcurrentMarker(&self, lmarker: i32) -> ::windows::runtime::Result<()>4111 pub unsafe fn SetcurrentMarker(&self, lmarker: i32) -> ::windows::runtime::Result<()> { 4112 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmarker)).ok() 4113 } playItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()>4114 pub unsafe fn playItem<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, piwmpmedia: Param0) -> ::windows::runtime::Result<()> { 4115 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), piwmpmedia.into_param().abi()).ok() 4116 } step(&self, lstep: i32) -> ::windows::runtime::Result<()>4117 pub unsafe fn step(&self, lstep: i32) -> ::windows::runtime::Result<()> { 4118 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(lstep)).ok() 4119 } audioLanguageCount(&self, plcount: *mut i32) -> ::windows::runtime::Result<()>4120 pub unsafe fn audioLanguageCount(&self, plcount: *mut i32) -> ::windows::runtime::Result<()> { 4121 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(plcount)).ok() 4122 } getAudioLanguageID(&self, lindex: i32, pllangid: *mut i32) -> ::windows::runtime::Result<()>4123 pub unsafe fn getAudioLanguageID(&self, lindex: i32, pllangid: *mut i32) -> ::windows::runtime::Result<()> { 4124 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(lindex), ::std::mem::transmute(pllangid)).ok() 4125 } 4126 #[cfg(feature = "Win32_Foundation")] getAudioLanguageDescription(&self, lindex: i32, pbstrlangdesc: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4127 pub unsafe fn getAudioLanguageDescription(&self, lindex: i32, pbstrlangdesc: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4128 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(lindex), ::std::mem::transmute(pbstrlangdesc)).ok() 4129 } currentAudioLanguage(&self, pllangid: *mut i32) -> ::windows::runtime::Result<()>4130 pub unsafe fn currentAudioLanguage(&self, pllangid: *mut i32) -> ::windows::runtime::Result<()> { 4131 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(pllangid)).ok() 4132 } SetcurrentAudioLanguage(&self, llangid: i32) -> ::windows::runtime::Result<()>4133 pub unsafe fn SetcurrentAudioLanguage(&self, llangid: i32) -> ::windows::runtime::Result<()> { 4134 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(llangid)).ok() 4135 } currentAudioLanguageIndex(&self, plindex: *mut i32) -> ::windows::runtime::Result<()>4136 pub unsafe fn currentAudioLanguageIndex(&self, plindex: *mut i32) -> ::windows::runtime::Result<()> { 4137 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(plindex)).ok() 4138 } SetcurrentAudioLanguageIndex(&self, lindex: i32) -> ::windows::runtime::Result<()>4139 pub unsafe fn SetcurrentAudioLanguageIndex(&self, lindex: i32) -> ::windows::runtime::Result<()> { 4140 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(lindex)).ok() 4141 } 4142 #[cfg(feature = "Win32_Foundation")] getLanguageName(&self, llangid: i32, pbstrlangname: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4143 pub unsafe fn getLanguageName(&self, llangid: i32, pbstrlangname: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4144 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(llangid), ::std::mem::transmute(pbstrlangname)).ok() 4145 } 4146 #[cfg(feature = "Win32_Foundation")] currentPositionTimecode(&self, bstrtimecode: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4147 pub unsafe fn currentPositionTimecode(&self, bstrtimecode: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4148 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstrtimecode)).ok() 4149 } 4150 #[cfg(feature = "Win32_Foundation")] SetcurrentPositionTimecode<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrtimecode: Param0) -> ::windows::runtime::Result<()>4151 pub unsafe fn SetcurrentPositionTimecode<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrtimecode: Param0) -> ::windows::runtime::Result<()> { 4152 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), bstrtimecode.into_param().abi()).ok() 4153 } 4154 } 4155 unsafe impl ::windows::runtime::Interface for IWMPControls3 { 4156 type Vtable = IWMPControls3_abi; 4157 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2714833166, 54597, 18282, [154, 120, 172, 62, 76, 177, 230, 189]); 4158 } 4159 impl ::std::convert::From<IWMPControls3> for ::windows::runtime::IUnknown { from(value: IWMPControls3) -> Self4160 fn from(value: IWMPControls3) -> Self { 4161 unsafe { ::std::mem::transmute(value) } 4162 } 4163 } 4164 impl ::std::convert::From<&IWMPControls3> for ::windows::runtime::IUnknown { from(value: &IWMPControls3) -> Self4165 fn from(value: &IWMPControls3) -> Self { 4166 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4167 } 4168 } 4169 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPControls3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4170 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4171 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4172 } 4173 } 4174 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPControls3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4175 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4176 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4177 } 4178 } 4179 impl ::std::convert::From<IWMPControls3> for IWMPControls2 { from(value: IWMPControls3) -> Self4180 fn from(value: IWMPControls3) -> Self { 4181 unsafe { ::std::mem::transmute(value) } 4182 } 4183 } 4184 impl ::std::convert::From<&IWMPControls3> for IWMPControls2 { from(value: &IWMPControls3) -> Self4185 fn from(value: &IWMPControls3) -> Self { 4186 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4187 } 4188 } 4189 impl<'a> ::windows::runtime::IntoParam<'a, IWMPControls2> for IWMPControls3 { into_param(self) -> ::windows::runtime::Param<'a, IWMPControls2>4190 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPControls2> { 4191 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPControls2>::into(self)) 4192 } 4193 } 4194 impl<'a> ::windows::runtime::IntoParam<'a, IWMPControls2> for &IWMPControls3 { into_param(self) -> ::windows::runtime::Param<'a, IWMPControls2>4195 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPControls2> { 4196 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPControls2>::into(::std::clone::Clone::clone(self))) 4197 } 4198 } 4199 impl ::std::convert::From<IWMPControls3> for IWMPControls { from(value: IWMPControls3) -> Self4200 fn from(value: IWMPControls3) -> Self { 4201 unsafe { ::std::mem::transmute(value) } 4202 } 4203 } 4204 impl ::std::convert::From<&IWMPControls3> for IWMPControls { from(value: &IWMPControls3) -> Self4205 fn from(value: &IWMPControls3) -> Self { 4206 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4207 } 4208 } 4209 impl<'a> ::windows::runtime::IntoParam<'a, IWMPControls> for IWMPControls3 { into_param(self) -> ::windows::runtime::Param<'a, IWMPControls>4210 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPControls> { 4211 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPControls>::into(self)) 4212 } 4213 } 4214 impl<'a> ::windows::runtime::IntoParam<'a, IWMPControls> for &IWMPControls3 { into_param(self) -> ::windows::runtime::Param<'a, IWMPControls>4215 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPControls> { 4216 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPControls>::into(::std::clone::Clone::clone(self))) 4217 } 4218 } 4219 #[cfg(feature = "Win32_System_Ole_Automation")] 4220 impl ::std::convert::From<IWMPControls3> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPControls3) -> Self4221 fn from(value: IWMPControls3) -> Self { 4222 unsafe { ::std::mem::transmute(value) } 4223 } 4224 } 4225 #[cfg(feature = "Win32_System_Ole_Automation")] 4226 impl ::std::convert::From<&IWMPControls3> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPControls3) -> Self4227 fn from(value: &IWMPControls3) -> Self { 4228 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4229 } 4230 } 4231 #[cfg(feature = "Win32_System_Ole_Automation")] 4232 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPControls3 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4233 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 4234 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 4235 } 4236 } 4237 #[cfg(feature = "Win32_System_Ole_Automation")] 4238 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPControls3 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4239 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 4240 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 4241 } 4242 } 4243 #[repr(C)] 4244 #[doc(hidden)] 4245 pub struct IWMPControls3_abi( 4246 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4247 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4248 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4249 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 4250 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4251 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4252 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 4253 #[cfg(not(feature = "Win32_Foundation"))] usize, 4254 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4255 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 4256 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4257 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstritem: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pisavailable: *mut i16) -> ::windows::runtime::HRESULT, 4258 #[cfg(not(feature = "Win32_Foundation"))] usize, 4259 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4260 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4261 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4262 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4263 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4264 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdcurrentposition: *mut f64) -> ::windows::runtime::HRESULT, 4265 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dcurrentposition: f64) -> ::windows::runtime::HRESULT, 4266 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrcurrentposition: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4267 #[cfg(not(feature = "Win32_Foundation"))] usize, 4268 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4269 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4270 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppiwmpmedia: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4271 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piwmpmedia: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4272 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmarker: *mut i32) -> ::windows::runtime::HRESULT, 4273 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmarker: i32) -> ::windows::runtime::HRESULT, 4274 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piwmpmedia: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4275 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lstep: i32) -> ::windows::runtime::HRESULT, 4276 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plcount: *mut i32) -> ::windows::runtime::HRESULT, 4277 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lindex: i32, pllangid: *mut i32) -> ::windows::runtime::HRESULT, 4278 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lindex: i32, pbstrlangdesc: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4279 #[cfg(not(feature = "Win32_Foundation"))] usize, 4280 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pllangid: *mut i32) -> ::windows::runtime::HRESULT, 4281 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, llangid: i32) -> ::windows::runtime::HRESULT, 4282 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plindex: *mut i32) -> ::windows::runtime::HRESULT, 4283 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lindex: i32) -> ::windows::runtime::HRESULT, 4284 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, llangid: i32, pbstrlangname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4285 #[cfg(not(feature = "Win32_Foundation"))] usize, 4286 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrtimecode: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4287 #[cfg(not(feature = "Win32_Foundation"))] usize, 4288 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrtimecode: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4289 #[cfg(not(feature = "Win32_Foundation"))] usize, 4290 ); 4291 #[repr(transparent)] 4292 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4293 pub struct IWMPConvert(::windows::runtime::IUnknown); 4294 impl IWMPConvert { 4295 #[cfg(feature = "Win32_Foundation")] ConvertFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrinputfile: Param0, bstrdestinationfolder: Param1, pbstroutputfile: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4296 pub unsafe fn ConvertFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrinputfile: Param0, bstrdestinationfolder: Param1, pbstroutputfile: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4297 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), bstrinputfile.into_param().abi(), bstrdestinationfolder.into_param().abi(), ::std::mem::transmute(pbstroutputfile)).ok() 4298 } 4299 #[cfg(feature = "Win32_Foundation")] GetErrorURL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4300 pub unsafe fn GetErrorURL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4301 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrurl)).ok() 4302 } 4303 } 4304 unsafe impl ::windows::runtime::Interface for IWMPConvert { 4305 type Vtable = IWMPConvert_abi; 4306 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3598915119, 22484, 16648, [131, 115, 74, 150, 118, 209, 194, 233]); 4307 } 4308 impl ::std::convert::From<IWMPConvert> for ::windows::runtime::IUnknown { from(value: IWMPConvert) -> Self4309 fn from(value: IWMPConvert) -> Self { 4310 unsafe { ::std::mem::transmute(value) } 4311 } 4312 } 4313 impl ::std::convert::From<&IWMPConvert> for ::windows::runtime::IUnknown { from(value: &IWMPConvert) -> Self4314 fn from(value: &IWMPConvert) -> Self { 4315 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4316 } 4317 } 4318 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPConvert { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4319 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4320 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4321 } 4322 } 4323 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPConvert { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4324 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4325 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4326 } 4327 } 4328 #[repr(C)] 4329 #[doc(hidden)] 4330 pub struct IWMPConvert_abi( 4331 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4332 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4333 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4334 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrinputfile: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrdestinationfolder: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstroutputfile: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4335 #[cfg(not(feature = "Win32_Foundation"))] usize, 4336 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4337 #[cfg(not(feature = "Win32_Foundation"))] usize, 4338 ); 4339 #[repr(transparent)] 4340 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4341 pub struct IWMPCore(::windows::runtime::IUnknown); 4342 impl IWMPCore { close(&self) -> ::windows::runtime::Result<()>4343 pub unsafe fn close(&self) -> ::windows::runtime::Result<()> { 4344 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok() 4345 } 4346 #[cfg(feature = "Win32_Foundation")] URL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4347 pub unsafe fn URL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4348 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrurl)).ok() 4349 } 4350 #[cfg(feature = "Win32_Foundation")] SetURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()>4351 pub unsafe fn SetURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()> { 4352 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), bstrurl.into_param().abi()).ok() 4353 } openState(&self, pwmpos: *mut WMPOpenState) -> ::windows::runtime::Result<()>4354 pub unsafe fn openState(&self, pwmpos: *mut WMPOpenState) -> ::windows::runtime::Result<()> { 4355 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmpos)).ok() 4356 } playState(&self, pwmpps: *mut WMPPlayState) -> ::windows::runtime::Result<()>4357 pub unsafe fn playState(&self, pwmpps: *mut WMPPlayState) -> ::windows::runtime::Result<()> { 4358 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmpps)).ok() 4359 } controls(&self) -> ::windows::runtime::Result<IWMPControls>4360 pub unsafe fn controls(&self) -> ::windows::runtime::Result<IWMPControls> { 4361 let mut result__: <IWMPControls as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4362 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPControls>(result__) 4363 } settings(&self) -> ::windows::runtime::Result<IWMPSettings>4364 pub unsafe fn settings(&self) -> ::windows::runtime::Result<IWMPSettings> { 4365 let mut result__: <IWMPSettings as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4366 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPSettings>(result__) 4367 } currentMedia(&self) -> ::windows::runtime::Result<IWMPMedia>4368 pub unsafe fn currentMedia(&self) -> ::windows::runtime::Result<IWMPMedia> { 4369 let mut result__: <IWMPMedia as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4370 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPMedia>(result__) 4371 } SetcurrentMedia<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, pmedia: Param0) -> ::windows::runtime::Result<()>4372 pub unsafe fn SetcurrentMedia<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, pmedia: Param0) -> ::windows::runtime::Result<()> { 4373 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pmedia.into_param().abi()).ok() 4374 } mediaCollection(&self) -> ::windows::runtime::Result<IWMPMediaCollection>4375 pub unsafe fn mediaCollection(&self) -> ::windows::runtime::Result<IWMPMediaCollection> { 4376 let mut result__: <IWMPMediaCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4377 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPMediaCollection>(result__) 4378 } playlistCollection(&self) -> ::windows::runtime::Result<IWMPPlaylistCollection>4379 pub unsafe fn playlistCollection(&self) -> ::windows::runtime::Result<IWMPPlaylistCollection> { 4380 let mut result__: <IWMPPlaylistCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4381 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPPlaylistCollection>(result__) 4382 } 4383 #[cfg(feature = "Win32_Foundation")] versionInfo(&self, pbstrversioninfo: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4384 pub unsafe fn versionInfo(&self, pbstrversioninfo: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4385 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrversioninfo)).ok() 4386 } 4387 #[cfg(feature = "Win32_Foundation")] launchURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()>4388 pub unsafe fn launchURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()> { 4389 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrurl.into_param().abi()).ok() 4390 } network(&self) -> ::windows::runtime::Result<IWMPNetwork>4391 pub unsafe fn network(&self) -> ::windows::runtime::Result<IWMPNetwork> { 4392 let mut result__: <IWMPNetwork as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4393 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPNetwork>(result__) 4394 } currentPlaylist(&self) -> ::windows::runtime::Result<IWMPPlaylist>4395 pub unsafe fn currentPlaylist(&self) -> ::windows::runtime::Result<IWMPPlaylist> { 4396 let mut result__: <IWMPPlaylist as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4397 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPPlaylist>(result__) 4398 } SetcurrentPlaylist<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPPlaylist>>(&self, ppl: Param0) -> ::windows::runtime::Result<()>4399 pub unsafe fn SetcurrentPlaylist<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPPlaylist>>(&self, ppl: Param0) -> ::windows::runtime::Result<()> { 4400 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ppl.into_param().abi()).ok() 4401 } cdromCollection(&self) -> ::windows::runtime::Result<IWMPCdromCollection>4402 pub unsafe fn cdromCollection(&self) -> ::windows::runtime::Result<IWMPCdromCollection> { 4403 let mut result__: <IWMPCdromCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4404 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPCdromCollection>(result__) 4405 } closedCaption(&self) -> ::windows::runtime::Result<IWMPClosedCaption>4406 pub unsafe fn closedCaption(&self) -> ::windows::runtime::Result<IWMPClosedCaption> { 4407 let mut result__: <IWMPClosedCaption as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4408 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPClosedCaption>(result__) 4409 } isOnline(&self, pfonline: *mut i16) -> ::windows::runtime::Result<()>4410 pub unsafe fn isOnline(&self, pfonline: *mut i16) -> ::windows::runtime::Result<()> { 4411 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(pfonline)).ok() 4412 } error(&self) -> ::windows::runtime::Result<IWMPError>4413 pub unsafe fn error(&self) -> ::windows::runtime::Result<IWMPError> { 4414 let mut result__: <IWMPError as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4415 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPError>(result__) 4416 } 4417 #[cfg(feature = "Win32_Foundation")] status(&self, pbstrstatus: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4418 pub unsafe fn status(&self, pbstrstatus: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4419 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrstatus)).ok() 4420 } 4421 } 4422 unsafe impl ::windows::runtime::Interface for IWMPCore { 4423 type Vtable = IWMPCore_abi; 4424 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3628911257, 52450, 4562, [158, 204, 0, 0, 248, 8, 89, 129]); 4425 } 4426 impl ::std::convert::From<IWMPCore> for ::windows::runtime::IUnknown { from(value: IWMPCore) -> Self4427 fn from(value: IWMPCore) -> Self { 4428 unsafe { ::std::mem::transmute(value) } 4429 } 4430 } 4431 impl ::std::convert::From<&IWMPCore> for ::windows::runtime::IUnknown { from(value: &IWMPCore) -> Self4432 fn from(value: &IWMPCore) -> Self { 4433 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4434 } 4435 } 4436 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPCore { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4437 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4438 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4439 } 4440 } 4441 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPCore { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4442 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4443 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4444 } 4445 } 4446 #[cfg(feature = "Win32_System_Ole_Automation")] 4447 impl ::std::convert::From<IWMPCore> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPCore) -> Self4448 fn from(value: IWMPCore) -> Self { 4449 unsafe { ::std::mem::transmute(value) } 4450 } 4451 } 4452 #[cfg(feature = "Win32_System_Ole_Automation")] 4453 impl ::std::convert::From<&IWMPCore> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPCore) -> Self4454 fn from(value: &IWMPCore) -> Self { 4455 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4456 } 4457 } 4458 #[cfg(feature = "Win32_System_Ole_Automation")] 4459 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPCore { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4460 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 4461 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 4462 } 4463 } 4464 #[cfg(feature = "Win32_System_Ole_Automation")] 4465 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPCore { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4466 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 4467 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 4468 } 4469 } 4470 #[repr(C)] 4471 #[doc(hidden)] 4472 pub struct IWMPCore_abi( 4473 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4474 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4475 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4476 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 4477 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4478 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4479 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 4480 #[cfg(not(feature = "Win32_Foundation"))] usize, 4481 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4482 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 4483 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4484 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4485 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4486 #[cfg(not(feature = "Win32_Foundation"))] usize, 4487 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4488 #[cfg(not(feature = "Win32_Foundation"))] usize, 4489 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmpos: *mut WMPOpenState) -> ::windows::runtime::HRESULT, 4490 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmpps: *mut WMPPlayState) -> ::windows::runtime::HRESULT, 4491 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcontrol: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4492 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsettings: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4493 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppmedia: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4494 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmedia: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4495 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppmediacollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4496 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppplaylistcollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4497 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrversioninfo: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4498 #[cfg(not(feature = "Win32_Foundation"))] usize, 4499 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4500 #[cfg(not(feature = "Win32_Foundation"))] usize, 4501 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqni: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4502 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppl: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4503 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppl: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4504 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcdromcollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4505 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppclosedcaption: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4506 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfonline: *mut i16) -> ::windows::runtime::HRESULT, 4507 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pperror: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4508 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrstatus: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4509 #[cfg(not(feature = "Win32_Foundation"))] usize, 4510 ); 4511 #[repr(transparent)] 4512 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4513 pub struct IWMPCore2(::windows::runtime::IUnknown); 4514 impl IWMPCore2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>4515 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 4516 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4517 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 4518 } 4519 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>4520 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> { 4521 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4522 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__) 4523 } 4524 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>4525 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 4526 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 4527 } 4528 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>4529 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 4530 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 4531 } close(&self) -> ::windows::runtime::Result<()>4532 pub unsafe fn close(&self) -> ::windows::runtime::Result<()> { 4533 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok() 4534 } 4535 #[cfg(feature = "Win32_Foundation")] URL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4536 pub unsafe fn URL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4537 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrurl)).ok() 4538 } 4539 #[cfg(feature = "Win32_Foundation")] SetURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()>4540 pub unsafe fn SetURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()> { 4541 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), bstrurl.into_param().abi()).ok() 4542 } openState(&self, pwmpos: *mut WMPOpenState) -> ::windows::runtime::Result<()>4543 pub unsafe fn openState(&self, pwmpos: *mut WMPOpenState) -> ::windows::runtime::Result<()> { 4544 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmpos)).ok() 4545 } playState(&self, pwmpps: *mut WMPPlayState) -> ::windows::runtime::Result<()>4546 pub unsafe fn playState(&self, pwmpps: *mut WMPPlayState) -> ::windows::runtime::Result<()> { 4547 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmpps)).ok() 4548 } controls(&self) -> ::windows::runtime::Result<IWMPControls>4549 pub unsafe fn controls(&self) -> ::windows::runtime::Result<IWMPControls> { 4550 let mut result__: <IWMPControls as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4551 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPControls>(result__) 4552 } settings(&self) -> ::windows::runtime::Result<IWMPSettings>4553 pub unsafe fn settings(&self) -> ::windows::runtime::Result<IWMPSettings> { 4554 let mut result__: <IWMPSettings as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4555 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPSettings>(result__) 4556 } currentMedia(&self) -> ::windows::runtime::Result<IWMPMedia>4557 pub unsafe fn currentMedia(&self) -> ::windows::runtime::Result<IWMPMedia> { 4558 let mut result__: <IWMPMedia as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4559 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPMedia>(result__) 4560 } SetcurrentMedia<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, pmedia: Param0) -> ::windows::runtime::Result<()>4561 pub unsafe fn SetcurrentMedia<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, pmedia: Param0) -> ::windows::runtime::Result<()> { 4562 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pmedia.into_param().abi()).ok() 4563 } mediaCollection(&self) -> ::windows::runtime::Result<IWMPMediaCollection>4564 pub unsafe fn mediaCollection(&self) -> ::windows::runtime::Result<IWMPMediaCollection> { 4565 let mut result__: <IWMPMediaCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4566 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPMediaCollection>(result__) 4567 } playlistCollection(&self) -> ::windows::runtime::Result<IWMPPlaylistCollection>4568 pub unsafe fn playlistCollection(&self) -> ::windows::runtime::Result<IWMPPlaylistCollection> { 4569 let mut result__: <IWMPPlaylistCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4570 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPPlaylistCollection>(result__) 4571 } 4572 #[cfg(feature = "Win32_Foundation")] versionInfo(&self, pbstrversioninfo: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4573 pub unsafe fn versionInfo(&self, pbstrversioninfo: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4574 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrversioninfo)).ok() 4575 } 4576 #[cfg(feature = "Win32_Foundation")] launchURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()>4577 pub unsafe fn launchURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()> { 4578 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrurl.into_param().abi()).ok() 4579 } network(&self) -> ::windows::runtime::Result<IWMPNetwork>4580 pub unsafe fn network(&self) -> ::windows::runtime::Result<IWMPNetwork> { 4581 let mut result__: <IWMPNetwork as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4582 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPNetwork>(result__) 4583 } currentPlaylist(&self) -> ::windows::runtime::Result<IWMPPlaylist>4584 pub unsafe fn currentPlaylist(&self) -> ::windows::runtime::Result<IWMPPlaylist> { 4585 let mut result__: <IWMPPlaylist as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4586 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPPlaylist>(result__) 4587 } SetcurrentPlaylist<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPPlaylist>>(&self, ppl: Param0) -> ::windows::runtime::Result<()>4588 pub unsafe fn SetcurrentPlaylist<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPPlaylist>>(&self, ppl: Param0) -> ::windows::runtime::Result<()> { 4589 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ppl.into_param().abi()).ok() 4590 } cdromCollection(&self) -> ::windows::runtime::Result<IWMPCdromCollection>4591 pub unsafe fn cdromCollection(&self) -> ::windows::runtime::Result<IWMPCdromCollection> { 4592 let mut result__: <IWMPCdromCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4593 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPCdromCollection>(result__) 4594 } closedCaption(&self) -> ::windows::runtime::Result<IWMPClosedCaption>4595 pub unsafe fn closedCaption(&self) -> ::windows::runtime::Result<IWMPClosedCaption> { 4596 let mut result__: <IWMPClosedCaption as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4597 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPClosedCaption>(result__) 4598 } isOnline(&self, pfonline: *mut i16) -> ::windows::runtime::Result<()>4599 pub unsafe fn isOnline(&self, pfonline: *mut i16) -> ::windows::runtime::Result<()> { 4600 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(pfonline)).ok() 4601 } error(&self) -> ::windows::runtime::Result<IWMPError>4602 pub unsafe fn error(&self) -> ::windows::runtime::Result<IWMPError> { 4603 let mut result__: <IWMPError as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4604 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPError>(result__) 4605 } 4606 #[cfg(feature = "Win32_Foundation")] status(&self, pbstrstatus: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4607 pub unsafe fn status(&self, pbstrstatus: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4608 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrstatus)).ok() 4609 } dvd(&self) -> ::windows::runtime::Result<IWMPDVD>4610 pub unsafe fn dvd(&self) -> ::windows::runtime::Result<IWMPDVD> { 4611 let mut result__: <IWMPDVD as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4612 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPDVD>(result__) 4613 } 4614 } 4615 unsafe impl ::windows::runtime::Interface for IWMPCore2 { 4616 type Vtable = IWMPCore2_abi; 4617 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3155682743, 30049, 19480, [187, 144, 23, 212, 133, 119, 86, 89]); 4618 } 4619 impl ::std::convert::From<IWMPCore2> for ::windows::runtime::IUnknown { from(value: IWMPCore2) -> Self4620 fn from(value: IWMPCore2) -> Self { 4621 unsafe { ::std::mem::transmute(value) } 4622 } 4623 } 4624 impl ::std::convert::From<&IWMPCore2> for ::windows::runtime::IUnknown { from(value: &IWMPCore2) -> Self4625 fn from(value: &IWMPCore2) -> Self { 4626 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4627 } 4628 } 4629 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPCore2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4630 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4631 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4632 } 4633 } 4634 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPCore2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4635 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4636 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4637 } 4638 } 4639 impl ::std::convert::From<IWMPCore2> for IWMPCore { from(value: IWMPCore2) -> Self4640 fn from(value: IWMPCore2) -> Self { 4641 unsafe { ::std::mem::transmute(value) } 4642 } 4643 } 4644 impl ::std::convert::From<&IWMPCore2> for IWMPCore { from(value: &IWMPCore2) -> Self4645 fn from(value: &IWMPCore2) -> Self { 4646 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4647 } 4648 } 4649 impl<'a> ::windows::runtime::IntoParam<'a, IWMPCore> for IWMPCore2 { into_param(self) -> ::windows::runtime::Param<'a, IWMPCore>4650 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPCore> { 4651 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPCore>::into(self)) 4652 } 4653 } 4654 impl<'a> ::windows::runtime::IntoParam<'a, IWMPCore> for &IWMPCore2 { into_param(self) -> ::windows::runtime::Param<'a, IWMPCore>4655 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPCore> { 4656 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPCore>::into(::std::clone::Clone::clone(self))) 4657 } 4658 } 4659 #[cfg(feature = "Win32_System_Ole_Automation")] 4660 impl ::std::convert::From<IWMPCore2> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPCore2) -> Self4661 fn from(value: IWMPCore2) -> Self { 4662 unsafe { ::std::mem::transmute(value) } 4663 } 4664 } 4665 #[cfg(feature = "Win32_System_Ole_Automation")] 4666 impl ::std::convert::From<&IWMPCore2> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPCore2) -> Self4667 fn from(value: &IWMPCore2) -> Self { 4668 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4669 } 4670 } 4671 #[cfg(feature = "Win32_System_Ole_Automation")] 4672 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPCore2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4673 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 4674 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 4675 } 4676 } 4677 #[cfg(feature = "Win32_System_Ole_Automation")] 4678 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPCore2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4679 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 4680 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 4681 } 4682 } 4683 #[repr(C)] 4684 #[doc(hidden)] 4685 pub struct IWMPCore2_abi( 4686 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4687 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4688 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4689 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 4690 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4691 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4692 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 4693 #[cfg(not(feature = "Win32_Foundation"))] usize, 4694 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4695 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 4696 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4697 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4698 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4699 #[cfg(not(feature = "Win32_Foundation"))] usize, 4700 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4701 #[cfg(not(feature = "Win32_Foundation"))] usize, 4702 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmpos: *mut WMPOpenState) -> ::windows::runtime::HRESULT, 4703 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmpps: *mut WMPPlayState) -> ::windows::runtime::HRESULT, 4704 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcontrol: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4705 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsettings: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4706 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppmedia: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4707 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmedia: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4708 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppmediacollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4709 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppplaylistcollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4710 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrversioninfo: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4711 #[cfg(not(feature = "Win32_Foundation"))] usize, 4712 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4713 #[cfg(not(feature = "Win32_Foundation"))] usize, 4714 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqni: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4715 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppl: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4716 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppl: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4717 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcdromcollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4718 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppclosedcaption: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4719 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfonline: *mut i16) -> ::windows::runtime::HRESULT, 4720 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pperror: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4721 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrstatus: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4722 #[cfg(not(feature = "Win32_Foundation"))] usize, 4723 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdvd: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4724 ); 4725 #[repr(transparent)] 4726 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4727 pub struct IWMPCore3(::windows::runtime::IUnknown); 4728 impl IWMPCore3 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>4729 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 4730 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4731 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 4732 } 4733 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>4734 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> { 4735 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4736 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__) 4737 } 4738 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>4739 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 4740 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 4741 } 4742 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>4743 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 4744 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 4745 } close(&self) -> ::windows::runtime::Result<()>4746 pub unsafe fn close(&self) -> ::windows::runtime::Result<()> { 4747 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok() 4748 } 4749 #[cfg(feature = "Win32_Foundation")] URL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4750 pub unsafe fn URL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4751 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrurl)).ok() 4752 } 4753 #[cfg(feature = "Win32_Foundation")] SetURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()>4754 pub unsafe fn SetURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()> { 4755 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), bstrurl.into_param().abi()).ok() 4756 } openState(&self, pwmpos: *mut WMPOpenState) -> ::windows::runtime::Result<()>4757 pub unsafe fn openState(&self, pwmpos: *mut WMPOpenState) -> ::windows::runtime::Result<()> { 4758 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmpos)).ok() 4759 } playState(&self, pwmpps: *mut WMPPlayState) -> ::windows::runtime::Result<()>4760 pub unsafe fn playState(&self, pwmpps: *mut WMPPlayState) -> ::windows::runtime::Result<()> { 4761 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmpps)).ok() 4762 } controls(&self) -> ::windows::runtime::Result<IWMPControls>4763 pub unsafe fn controls(&self) -> ::windows::runtime::Result<IWMPControls> { 4764 let mut result__: <IWMPControls as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4765 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPControls>(result__) 4766 } settings(&self) -> ::windows::runtime::Result<IWMPSettings>4767 pub unsafe fn settings(&self) -> ::windows::runtime::Result<IWMPSettings> { 4768 let mut result__: <IWMPSettings as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4769 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPSettings>(result__) 4770 } currentMedia(&self) -> ::windows::runtime::Result<IWMPMedia>4771 pub unsafe fn currentMedia(&self) -> ::windows::runtime::Result<IWMPMedia> { 4772 let mut result__: <IWMPMedia as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4773 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPMedia>(result__) 4774 } SetcurrentMedia<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, pmedia: Param0) -> ::windows::runtime::Result<()>4775 pub unsafe fn SetcurrentMedia<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, pmedia: Param0) -> ::windows::runtime::Result<()> { 4776 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pmedia.into_param().abi()).ok() 4777 } mediaCollection(&self) -> ::windows::runtime::Result<IWMPMediaCollection>4778 pub unsafe fn mediaCollection(&self) -> ::windows::runtime::Result<IWMPMediaCollection> { 4779 let mut result__: <IWMPMediaCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4780 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPMediaCollection>(result__) 4781 } playlistCollection(&self) -> ::windows::runtime::Result<IWMPPlaylistCollection>4782 pub unsafe fn playlistCollection(&self) -> ::windows::runtime::Result<IWMPPlaylistCollection> { 4783 let mut result__: <IWMPPlaylistCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4784 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPPlaylistCollection>(result__) 4785 } 4786 #[cfg(feature = "Win32_Foundation")] versionInfo(&self, pbstrversioninfo: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4787 pub unsafe fn versionInfo(&self, pbstrversioninfo: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4788 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrversioninfo)).ok() 4789 } 4790 #[cfg(feature = "Win32_Foundation")] launchURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()>4791 pub unsafe fn launchURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<()> { 4792 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrurl.into_param().abi()).ok() 4793 } network(&self) -> ::windows::runtime::Result<IWMPNetwork>4794 pub unsafe fn network(&self) -> ::windows::runtime::Result<IWMPNetwork> { 4795 let mut result__: <IWMPNetwork as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4796 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPNetwork>(result__) 4797 } currentPlaylist(&self) -> ::windows::runtime::Result<IWMPPlaylist>4798 pub unsafe fn currentPlaylist(&self) -> ::windows::runtime::Result<IWMPPlaylist> { 4799 let mut result__: <IWMPPlaylist as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4800 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPPlaylist>(result__) 4801 } SetcurrentPlaylist<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPPlaylist>>(&self, ppl: Param0) -> ::windows::runtime::Result<()>4802 pub unsafe fn SetcurrentPlaylist<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPPlaylist>>(&self, ppl: Param0) -> ::windows::runtime::Result<()> { 4803 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ppl.into_param().abi()).ok() 4804 } cdromCollection(&self) -> ::windows::runtime::Result<IWMPCdromCollection>4805 pub unsafe fn cdromCollection(&self) -> ::windows::runtime::Result<IWMPCdromCollection> { 4806 let mut result__: <IWMPCdromCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4807 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPCdromCollection>(result__) 4808 } closedCaption(&self) -> ::windows::runtime::Result<IWMPClosedCaption>4809 pub unsafe fn closedCaption(&self) -> ::windows::runtime::Result<IWMPClosedCaption> { 4810 let mut result__: <IWMPClosedCaption as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4811 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPClosedCaption>(result__) 4812 } isOnline(&self, pfonline: *mut i16) -> ::windows::runtime::Result<()>4813 pub unsafe fn isOnline(&self, pfonline: *mut i16) -> ::windows::runtime::Result<()> { 4814 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(pfonline)).ok() 4815 } error(&self) -> ::windows::runtime::Result<IWMPError>4816 pub unsafe fn error(&self) -> ::windows::runtime::Result<IWMPError> { 4817 let mut result__: <IWMPError as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4818 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPError>(result__) 4819 } 4820 #[cfg(feature = "Win32_Foundation")] status(&self, pbstrstatus: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4821 pub unsafe fn status(&self, pbstrstatus: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4822 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrstatus)).ok() 4823 } dvd(&self) -> ::windows::runtime::Result<IWMPDVD>4824 pub unsafe fn dvd(&self) -> ::windows::runtime::Result<IWMPDVD> { 4825 let mut result__: <IWMPDVD as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4826 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPDVD>(result__) 4827 } 4828 #[cfg(feature = "Win32_Foundation")] newPlaylist<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstrurl: Param1) -> ::windows::runtime::Result<IWMPPlaylist>4829 pub unsafe fn newPlaylist<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstrurl: Param1) -> ::windows::runtime::Result<IWMPPlaylist> { 4830 let mut result__: <IWMPPlaylist as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4831 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), bstrurl.into_param().abi(), &mut result__).from_abi::<IWMPPlaylist>(result__) 4832 } 4833 #[cfg(feature = "Win32_Foundation")] newMedia<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<IWMPMedia>4834 pub unsafe fn newMedia<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<IWMPMedia> { 4835 let mut result__: <IWMPMedia as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 4836 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), bstrurl.into_param().abi(), &mut result__).from_abi::<IWMPMedia>(result__) 4837 } 4838 } 4839 unsafe impl ::windows::runtime::Interface for IWMPCore3 { 4840 type Vtable = IWMPCore3_abi; 4841 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1971832423, 25231, 18847, [136, 231, 106, 111, 78, 136, 132, 100]); 4842 } 4843 impl ::std::convert::From<IWMPCore3> for ::windows::runtime::IUnknown { from(value: IWMPCore3) -> Self4844 fn from(value: IWMPCore3) -> Self { 4845 unsafe { ::std::mem::transmute(value) } 4846 } 4847 } 4848 impl ::std::convert::From<&IWMPCore3> for ::windows::runtime::IUnknown { from(value: &IWMPCore3) -> Self4849 fn from(value: &IWMPCore3) -> Self { 4850 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4851 } 4852 } 4853 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPCore3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4854 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4855 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 4856 } 4857 } 4858 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPCore3 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4859 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 4860 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 4861 } 4862 } 4863 impl ::std::convert::From<IWMPCore3> for IWMPCore2 { from(value: IWMPCore3) -> Self4864 fn from(value: IWMPCore3) -> Self { 4865 unsafe { ::std::mem::transmute(value) } 4866 } 4867 } 4868 impl ::std::convert::From<&IWMPCore3> for IWMPCore2 { from(value: &IWMPCore3) -> Self4869 fn from(value: &IWMPCore3) -> Self { 4870 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4871 } 4872 } 4873 impl<'a> ::windows::runtime::IntoParam<'a, IWMPCore2> for IWMPCore3 { into_param(self) -> ::windows::runtime::Param<'a, IWMPCore2>4874 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPCore2> { 4875 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPCore2>::into(self)) 4876 } 4877 } 4878 impl<'a> ::windows::runtime::IntoParam<'a, IWMPCore2> for &IWMPCore3 { into_param(self) -> ::windows::runtime::Param<'a, IWMPCore2>4879 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPCore2> { 4880 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPCore2>::into(::std::clone::Clone::clone(self))) 4881 } 4882 } 4883 impl ::std::convert::From<IWMPCore3> for IWMPCore { from(value: IWMPCore3) -> Self4884 fn from(value: IWMPCore3) -> Self { 4885 unsafe { ::std::mem::transmute(value) } 4886 } 4887 } 4888 impl ::std::convert::From<&IWMPCore3> for IWMPCore { from(value: &IWMPCore3) -> Self4889 fn from(value: &IWMPCore3) -> Self { 4890 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4891 } 4892 } 4893 impl<'a> ::windows::runtime::IntoParam<'a, IWMPCore> for IWMPCore3 { into_param(self) -> ::windows::runtime::Param<'a, IWMPCore>4894 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPCore> { 4895 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPCore>::into(self)) 4896 } 4897 } 4898 impl<'a> ::windows::runtime::IntoParam<'a, IWMPCore> for &IWMPCore3 { into_param(self) -> ::windows::runtime::Param<'a, IWMPCore>4899 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPCore> { 4900 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPCore>::into(::std::clone::Clone::clone(self))) 4901 } 4902 } 4903 #[cfg(feature = "Win32_System_Ole_Automation")] 4904 impl ::std::convert::From<IWMPCore3> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPCore3) -> Self4905 fn from(value: IWMPCore3) -> Self { 4906 unsafe { ::std::mem::transmute(value) } 4907 } 4908 } 4909 #[cfg(feature = "Win32_System_Ole_Automation")] 4910 impl ::std::convert::From<&IWMPCore3> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPCore3) -> Self4911 fn from(value: &IWMPCore3) -> Self { 4912 ::std::convert::From::from(::std::clone::Clone::clone(value)) 4913 } 4914 } 4915 #[cfg(feature = "Win32_System_Ole_Automation")] 4916 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPCore3 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4917 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 4918 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 4919 } 4920 } 4921 #[cfg(feature = "Win32_System_Ole_Automation")] 4922 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPCore3 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4923 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 4924 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 4925 } 4926 } 4927 #[repr(C)] 4928 #[doc(hidden)] 4929 pub struct IWMPCore3_abi( 4930 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4931 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4932 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 4933 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 4934 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4935 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 4936 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 4937 #[cfg(not(feature = "Win32_Foundation"))] usize, 4938 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 4939 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 4940 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 4941 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4942 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4943 #[cfg(not(feature = "Win32_Foundation"))] usize, 4944 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4945 #[cfg(not(feature = "Win32_Foundation"))] usize, 4946 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmpos: *mut WMPOpenState) -> ::windows::runtime::HRESULT, 4947 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmpps: *mut WMPPlayState) -> ::windows::runtime::HRESULT, 4948 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcontrol: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4949 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsettings: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4950 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppmedia: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4951 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmedia: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4952 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppmediacollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4953 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppplaylistcollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4954 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrversioninfo: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4955 #[cfg(not(feature = "Win32_Foundation"))] usize, 4956 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4957 #[cfg(not(feature = "Win32_Foundation"))] usize, 4958 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppqni: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4959 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppl: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4960 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppl: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4961 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcdromcollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4962 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppclosedcaption: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4963 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfonline: *mut i16) -> ::windows::runtime::HRESULT, 4964 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pperror: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4965 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrstatus: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 4966 #[cfg(not(feature = "Win32_Foundation"))] usize, 4967 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdvd: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4968 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppplaylist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4969 #[cfg(not(feature = "Win32_Foundation"))] usize, 4970 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppmedia: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 4971 #[cfg(not(feature = "Win32_Foundation"))] usize, 4972 ); 4973 #[repr(transparent)] 4974 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 4975 pub struct IWMPDVD(::windows::runtime::IUnknown); 4976 impl IWMPDVD { 4977 #[cfg(feature = "Win32_Foundation")] isAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pisavailable: *mut i16) -> ::windows::runtime::Result<()>4978 pub unsafe fn isAvailable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritem: Param0, pisavailable: *mut i16) -> ::windows::runtime::Result<()> { 4979 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), bstritem.into_param().abi(), ::std::mem::transmute(pisavailable)).ok() 4980 } 4981 #[cfg(feature = "Win32_Foundation")] domain(&self, strdomain: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>4982 pub unsafe fn domain(&self, strdomain: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 4983 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(strdomain)).ok() 4984 } topMenu(&self) -> ::windows::runtime::Result<()>4985 pub unsafe fn topMenu(&self) -> ::windows::runtime::Result<()> { 4986 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok() 4987 } titleMenu(&self) -> ::windows::runtime::Result<()>4988 pub unsafe fn titleMenu(&self) -> ::windows::runtime::Result<()> { 4989 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok() 4990 } back(&self) -> ::windows::runtime::Result<()>4991 pub unsafe fn back(&self) -> ::windows::runtime::Result<()> { 4992 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok() 4993 } resume(&self) -> ::windows::runtime::Result<()>4994 pub unsafe fn resume(&self) -> ::windows::runtime::Result<()> { 4995 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 4996 } 4997 } 4998 unsafe impl ::windows::runtime::Interface for IWMPDVD { 4999 type Vtable = IWMPDVD_abi; 5000 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2376472198, 18024, 19036, [174, 93, 128, 49, 147, 41, 61, 190]); 5001 } 5002 impl ::std::convert::From<IWMPDVD> for ::windows::runtime::IUnknown { from(value: IWMPDVD) -> Self5003 fn from(value: IWMPDVD) -> Self { 5004 unsafe { ::std::mem::transmute(value) } 5005 } 5006 } 5007 impl ::std::convert::From<&IWMPDVD> for ::windows::runtime::IUnknown { from(value: &IWMPDVD) -> Self5008 fn from(value: &IWMPDVD) -> Self { 5009 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5010 } 5011 } 5012 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPDVD { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5013 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5014 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 5015 } 5016 } 5017 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPDVD { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5018 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5019 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 5020 } 5021 } 5022 #[cfg(feature = "Win32_System_Ole_Automation")] 5023 impl ::std::convert::From<IWMPDVD> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPDVD) -> Self5024 fn from(value: IWMPDVD) -> Self { 5025 unsafe { ::std::mem::transmute(value) } 5026 } 5027 } 5028 #[cfg(feature = "Win32_System_Ole_Automation")] 5029 impl ::std::convert::From<&IWMPDVD> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPDVD) -> Self5030 fn from(value: &IWMPDVD) -> Self { 5031 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5032 } 5033 } 5034 #[cfg(feature = "Win32_System_Ole_Automation")] 5035 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPDVD { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5036 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5037 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 5038 } 5039 } 5040 #[cfg(feature = "Win32_System_Ole_Automation")] 5041 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPDVD { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5042 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5043 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 5044 } 5045 } 5046 #[repr(C)] 5047 #[doc(hidden)] 5048 pub struct IWMPDVD_abi( 5049 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5050 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5051 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5052 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 5053 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5054 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 5055 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 5056 #[cfg(not(feature = "Win32_Foundation"))] usize, 5057 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 5058 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 5059 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 5060 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstritem: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pisavailable: *mut i16) -> ::windows::runtime::HRESULT, 5061 #[cfg(not(feature = "Win32_Foundation"))] usize, 5062 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strdomain: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5063 #[cfg(not(feature = "Win32_Foundation"))] usize, 5064 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5065 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5066 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5067 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5068 ); 5069 #[repr(transparent)] 5070 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5071 pub struct IWMPDownloadCollection(::windows::runtime::IUnknown); 5072 impl IWMPDownloadCollection { id(&self, plid: *mut i32) -> ::windows::runtime::Result<()>5073 pub unsafe fn id(&self, plid: *mut i32) -> ::windows::runtime::Result<()> { 5074 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(plid)).ok() 5075 } count(&self, plcount: *mut i32) -> ::windows::runtime::Result<()>5076 pub unsafe fn count(&self, plcount: *mut i32) -> ::windows::runtime::Result<()> { 5077 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(plcount)).ok() 5078 } item(&self, litem: i32) -> ::windows::runtime::Result<IWMPDownloadItem2>5079 pub unsafe fn item(&self, litem: i32) -> ::windows::runtime::Result<IWMPDownloadItem2> { 5080 let mut result__: <IWMPDownloadItem2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 5081 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(litem), &mut result__).from_abi::<IWMPDownloadItem2>(result__) 5082 } 5083 #[cfg(feature = "Win32_Foundation")] startDownload<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsourceurl: Param0, bstrtype: Param1) -> ::windows::runtime::Result<IWMPDownloadItem2>5084 pub unsafe fn startDownload<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrsourceurl: Param0, bstrtype: Param1) -> ::windows::runtime::Result<IWMPDownloadItem2> { 5085 let mut result__: <IWMPDownloadItem2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 5086 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), bstrsourceurl.into_param().abi(), bstrtype.into_param().abi(), &mut result__).from_abi::<IWMPDownloadItem2>(result__) 5087 } removeItem(&self, litem: i32) -> ::windows::runtime::Result<()>5088 pub unsafe fn removeItem(&self, litem: i32) -> ::windows::runtime::Result<()> { 5089 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(litem)).ok() 5090 } Clear(&self) -> ::windows::runtime::Result<()>5091 pub unsafe fn Clear(&self) -> ::windows::runtime::Result<()> { 5092 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 5093 } 5094 } 5095 unsafe impl ::windows::runtime::Interface for IWMPDownloadCollection { 5096 type Vtable = IWMPDownloadCollection_abi; 5097 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(171023487, 34297, 17260, [184, 142, 130, 253, 136, 0, 14, 28]); 5098 } 5099 impl ::std::convert::From<IWMPDownloadCollection> for ::windows::runtime::IUnknown { from(value: IWMPDownloadCollection) -> Self5100 fn from(value: IWMPDownloadCollection) -> Self { 5101 unsafe { ::std::mem::transmute(value) } 5102 } 5103 } 5104 impl ::std::convert::From<&IWMPDownloadCollection> for ::windows::runtime::IUnknown { from(value: &IWMPDownloadCollection) -> Self5105 fn from(value: &IWMPDownloadCollection) -> Self { 5106 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5107 } 5108 } 5109 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPDownloadCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5110 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5111 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 5112 } 5113 } 5114 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPDownloadCollection { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5115 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5116 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 5117 } 5118 } 5119 #[cfg(feature = "Win32_System_Ole_Automation")] 5120 impl ::std::convert::From<IWMPDownloadCollection> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPDownloadCollection) -> Self5121 fn from(value: IWMPDownloadCollection) -> Self { 5122 unsafe { ::std::mem::transmute(value) } 5123 } 5124 } 5125 #[cfg(feature = "Win32_System_Ole_Automation")] 5126 impl ::std::convert::From<&IWMPDownloadCollection> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPDownloadCollection) -> Self5127 fn from(value: &IWMPDownloadCollection) -> Self { 5128 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5129 } 5130 } 5131 #[cfg(feature = "Win32_System_Ole_Automation")] 5132 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPDownloadCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5133 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5134 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 5135 } 5136 } 5137 #[cfg(feature = "Win32_System_Ole_Automation")] 5138 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPDownloadCollection { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5139 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5140 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 5141 } 5142 } 5143 #[repr(C)] 5144 #[doc(hidden)] 5145 pub struct IWMPDownloadCollection_abi( 5146 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5147 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5148 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5149 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 5150 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5151 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 5152 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 5153 #[cfg(not(feature = "Win32_Foundation"))] usize, 5154 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 5155 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 5156 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 5157 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plid: *mut i32) -> ::windows::runtime::HRESULT, 5158 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plcount: *mut i32) -> ::windows::runtime::HRESULT, 5159 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, litem: i32, ppdownload: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5160 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrsourceurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrtype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppdownload: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5161 #[cfg(not(feature = "Win32_Foundation"))] usize, 5162 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, litem: i32) -> ::windows::runtime::HRESULT, 5163 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5164 ); 5165 #[repr(transparent)] 5166 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5167 pub struct IWMPDownloadItem(::windows::runtime::IUnknown); 5168 impl IWMPDownloadItem { 5169 #[cfg(feature = "Win32_Foundation")] sourceURL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>5170 pub unsafe fn sourceURL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5171 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrurl)).ok() 5172 } size(&self, plsize: *mut i32) -> ::windows::runtime::Result<()>5173 pub unsafe fn size(&self, plsize: *mut i32) -> ::windows::runtime::Result<()> { 5174 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(plsize)).ok() 5175 } 5176 #[cfg(feature = "Win32_Foundation")] 5177 pub unsafe fn r#type(&self, pbstrtype: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5178 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrtype)).ok() 5179 } progress(&self, plprogress: *mut i32) -> ::windows::runtime::Result<()>5180 pub unsafe fn progress(&self, plprogress: *mut i32) -> ::windows::runtime::Result<()> { 5181 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(plprogress)).ok() 5182 } downloadState(&self, pwmpsdls: *mut WMPSubscriptionDownloadState) -> ::windows::runtime::Result<()>5183 pub unsafe fn downloadState(&self, pwmpsdls: *mut WMPSubscriptionDownloadState) -> ::windows::runtime::Result<()> { 5184 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmpsdls)).ok() 5185 } pause(&self) -> ::windows::runtime::Result<()>5186 pub unsafe fn pause(&self) -> ::windows::runtime::Result<()> { 5187 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 5188 } resume(&self) -> ::windows::runtime::Result<()>5189 pub unsafe fn resume(&self) -> ::windows::runtime::Result<()> { 5190 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self)).ok() 5191 } cancel(&self) -> ::windows::runtime::Result<()>5192 pub unsafe fn cancel(&self) -> ::windows::runtime::Result<()> { 5193 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self)).ok() 5194 } 5195 } 5196 unsafe impl ::windows::runtime::Interface for IWMPDownloadItem { 5197 type Vtable = IWMPDownloadItem_abi; 5198 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3376877198, 16235, 18089, [160, 169, 69, 40, 21, 195, 66, 151]); 5199 } 5200 impl ::std::convert::From<IWMPDownloadItem> for ::windows::runtime::IUnknown { from(value: IWMPDownloadItem) -> Self5201 fn from(value: IWMPDownloadItem) -> Self { 5202 unsafe { ::std::mem::transmute(value) } 5203 } 5204 } 5205 impl ::std::convert::From<&IWMPDownloadItem> for ::windows::runtime::IUnknown { from(value: &IWMPDownloadItem) -> Self5206 fn from(value: &IWMPDownloadItem) -> Self { 5207 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5208 } 5209 } 5210 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPDownloadItem { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5211 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5212 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 5213 } 5214 } 5215 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPDownloadItem { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5216 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5217 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 5218 } 5219 } 5220 #[cfg(feature = "Win32_System_Ole_Automation")] 5221 impl ::std::convert::From<IWMPDownloadItem> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPDownloadItem) -> Self5222 fn from(value: IWMPDownloadItem) -> Self { 5223 unsafe { ::std::mem::transmute(value) } 5224 } 5225 } 5226 #[cfg(feature = "Win32_System_Ole_Automation")] 5227 impl ::std::convert::From<&IWMPDownloadItem> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPDownloadItem) -> Self5228 fn from(value: &IWMPDownloadItem) -> Self { 5229 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5230 } 5231 } 5232 #[cfg(feature = "Win32_System_Ole_Automation")] 5233 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPDownloadItem { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5234 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5235 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 5236 } 5237 } 5238 #[cfg(feature = "Win32_System_Ole_Automation")] 5239 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPDownloadItem { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5240 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5241 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 5242 } 5243 } 5244 #[repr(C)] 5245 #[doc(hidden)] 5246 pub struct IWMPDownloadItem_abi( 5247 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5248 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5249 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5250 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 5251 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5252 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 5253 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 5254 #[cfg(not(feature = "Win32_Foundation"))] usize, 5255 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 5256 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 5257 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 5258 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5259 #[cfg(not(feature = "Win32_Foundation"))] usize, 5260 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsize: *mut i32) -> ::windows::runtime::HRESULT, 5261 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtype: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5262 #[cfg(not(feature = "Win32_Foundation"))] usize, 5263 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plprogress: *mut i32) -> ::windows::runtime::HRESULT, 5264 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmpsdls: *mut WMPSubscriptionDownloadState) -> ::windows::runtime::HRESULT, 5265 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5266 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5267 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5268 ); 5269 #[repr(transparent)] 5270 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5271 pub struct IWMPDownloadItem2(::windows::runtime::IUnknown); 5272 impl IWMPDownloadItem2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>5273 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 5274 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 5275 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 5276 } 5277 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>5278 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> { 5279 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 5280 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__) 5281 } 5282 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>5283 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 5284 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 5285 } 5286 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>5287 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 5288 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 5289 } 5290 #[cfg(feature = "Win32_Foundation")] sourceURL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>5291 pub unsafe fn sourceURL(&self, pbstrurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5292 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrurl)).ok() 5293 } size(&self, plsize: *mut i32) -> ::windows::runtime::Result<()>5294 pub unsafe fn size(&self, plsize: *mut i32) -> ::windows::runtime::Result<()> { 5295 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(plsize)).ok() 5296 } 5297 #[cfg(feature = "Win32_Foundation")] 5298 pub unsafe fn r#type(&self, pbstrtype: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5299 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrtype)).ok() 5300 } progress(&self, plprogress: *mut i32) -> ::windows::runtime::Result<()>5301 pub unsafe fn progress(&self, plprogress: *mut i32) -> ::windows::runtime::Result<()> { 5302 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(plprogress)).ok() 5303 } downloadState(&self, pwmpsdls: *mut WMPSubscriptionDownloadState) -> ::windows::runtime::Result<()>5304 pub unsafe fn downloadState(&self, pwmpsdls: *mut WMPSubscriptionDownloadState) -> ::windows::runtime::Result<()> { 5305 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwmpsdls)).ok() 5306 } pause(&self) -> ::windows::runtime::Result<()>5307 pub unsafe fn pause(&self) -> ::windows::runtime::Result<()> { 5308 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok() 5309 } resume(&self) -> ::windows::runtime::Result<()>5310 pub unsafe fn resume(&self) -> ::windows::runtime::Result<()> { 5311 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self)).ok() 5312 } cancel(&self) -> ::windows::runtime::Result<()>5313 pub unsafe fn cancel(&self) -> ::windows::runtime::Result<()> { 5314 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self)).ok() 5315 } 5316 #[cfg(feature = "Win32_Foundation")] getItemInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritemname: Param0, pbstrval: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>5317 pub unsafe fn getItemInfo<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstritemname: Param0, pbstrval: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5318 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), bstritemname.into_param().abi(), ::std::mem::transmute(pbstrval)).ok() 5319 } 5320 } 5321 unsafe impl ::windows::runtime::Interface for IWMPDownloadItem2 { 5322 type Vtable = IWMPDownloadItem2_abi; 5323 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2679845686, 28067, 18333, [184, 255, 103, 212, 110, 32, 169, 135]); 5324 } 5325 impl ::std::convert::From<IWMPDownloadItem2> for ::windows::runtime::IUnknown { from(value: IWMPDownloadItem2) -> Self5326 fn from(value: IWMPDownloadItem2) -> Self { 5327 unsafe { ::std::mem::transmute(value) } 5328 } 5329 } 5330 impl ::std::convert::From<&IWMPDownloadItem2> for ::windows::runtime::IUnknown { from(value: &IWMPDownloadItem2) -> Self5331 fn from(value: &IWMPDownloadItem2) -> Self { 5332 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5333 } 5334 } 5335 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPDownloadItem2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5336 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5337 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 5338 } 5339 } 5340 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPDownloadItem2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5341 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5342 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 5343 } 5344 } 5345 impl ::std::convert::From<IWMPDownloadItem2> for IWMPDownloadItem { from(value: IWMPDownloadItem2) -> Self5346 fn from(value: IWMPDownloadItem2) -> Self { 5347 unsafe { ::std::mem::transmute(value) } 5348 } 5349 } 5350 impl ::std::convert::From<&IWMPDownloadItem2> for IWMPDownloadItem { from(value: &IWMPDownloadItem2) -> Self5351 fn from(value: &IWMPDownloadItem2) -> Self { 5352 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5353 } 5354 } 5355 impl<'a> ::windows::runtime::IntoParam<'a, IWMPDownloadItem> for IWMPDownloadItem2 { into_param(self) -> ::windows::runtime::Param<'a, IWMPDownloadItem>5356 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPDownloadItem> { 5357 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPDownloadItem>::into(self)) 5358 } 5359 } 5360 impl<'a> ::windows::runtime::IntoParam<'a, IWMPDownloadItem> for &IWMPDownloadItem2 { into_param(self) -> ::windows::runtime::Param<'a, IWMPDownloadItem>5361 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPDownloadItem> { 5362 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPDownloadItem>::into(::std::clone::Clone::clone(self))) 5363 } 5364 } 5365 #[cfg(feature = "Win32_System_Ole_Automation")] 5366 impl ::std::convert::From<IWMPDownloadItem2> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPDownloadItem2) -> Self5367 fn from(value: IWMPDownloadItem2) -> Self { 5368 unsafe { ::std::mem::transmute(value) } 5369 } 5370 } 5371 #[cfg(feature = "Win32_System_Ole_Automation")] 5372 impl ::std::convert::From<&IWMPDownloadItem2> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPDownloadItem2) -> Self5373 fn from(value: &IWMPDownloadItem2) -> Self { 5374 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5375 } 5376 } 5377 #[cfg(feature = "Win32_System_Ole_Automation")] 5378 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPDownloadItem2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5379 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5380 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 5381 } 5382 } 5383 #[cfg(feature = "Win32_System_Ole_Automation")] 5384 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPDownloadItem2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5385 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5386 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 5387 } 5388 } 5389 #[repr(C)] 5390 #[doc(hidden)] 5391 pub struct IWMPDownloadItem2_abi( 5392 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5393 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5394 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5395 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 5396 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5397 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 5398 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 5399 #[cfg(not(feature = "Win32_Foundation"))] usize, 5400 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 5401 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 5402 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 5403 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5404 #[cfg(not(feature = "Win32_Foundation"))] usize, 5405 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsize: *mut i32) -> ::windows::runtime::HRESULT, 5406 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtype: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5407 #[cfg(not(feature = "Win32_Foundation"))] usize, 5408 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plprogress: *mut i32) -> ::windows::runtime::HRESULT, 5409 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwmpsdls: *mut WMPSubscriptionDownloadState) -> ::windows::runtime::HRESULT, 5410 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5411 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5412 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5413 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstritemname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbstrval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5414 #[cfg(not(feature = "Win32_Foundation"))] usize, 5415 ); 5416 #[repr(transparent)] 5417 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5418 pub struct IWMPDownloadManager(::windows::runtime::IUnknown); 5419 impl IWMPDownloadManager { getDownloadCollection(&self, lcollectionid: i32) -> ::windows::runtime::Result<IWMPDownloadCollection>5420 pub unsafe fn getDownloadCollection(&self, lcollectionid: i32) -> ::windows::runtime::Result<IWMPDownloadCollection> { 5421 let mut result__: <IWMPDownloadCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 5422 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(lcollectionid), &mut result__).from_abi::<IWMPDownloadCollection>(result__) 5423 } createDownloadCollection(&self) -> ::windows::runtime::Result<IWMPDownloadCollection>5424 pub unsafe fn createDownloadCollection(&self) -> ::windows::runtime::Result<IWMPDownloadCollection> { 5425 let mut result__: <IWMPDownloadCollection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 5426 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IWMPDownloadCollection>(result__) 5427 } 5428 } 5429 unsafe impl ::windows::runtime::Interface for IWMPDownloadManager { 5430 type Vtable = IWMPDownloadManager_abi; 5431 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3781073617, 36640, 19652, [158, 199, 26, 50, 140, 168, 106, 13]); 5432 } 5433 impl ::std::convert::From<IWMPDownloadManager> for ::windows::runtime::IUnknown { from(value: IWMPDownloadManager) -> Self5434 fn from(value: IWMPDownloadManager) -> Self { 5435 unsafe { ::std::mem::transmute(value) } 5436 } 5437 } 5438 impl ::std::convert::From<&IWMPDownloadManager> for ::windows::runtime::IUnknown { from(value: &IWMPDownloadManager) -> Self5439 fn from(value: &IWMPDownloadManager) -> Self { 5440 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5441 } 5442 } 5443 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPDownloadManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5444 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5445 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 5446 } 5447 } 5448 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPDownloadManager { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5449 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5450 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 5451 } 5452 } 5453 #[cfg(feature = "Win32_System_Ole_Automation")] 5454 impl ::std::convert::From<IWMPDownloadManager> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPDownloadManager) -> Self5455 fn from(value: IWMPDownloadManager) -> Self { 5456 unsafe { ::std::mem::transmute(value) } 5457 } 5458 } 5459 #[cfg(feature = "Win32_System_Ole_Automation")] 5460 impl ::std::convert::From<&IWMPDownloadManager> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPDownloadManager) -> Self5461 fn from(value: &IWMPDownloadManager) -> Self { 5462 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5463 } 5464 } 5465 #[cfg(feature = "Win32_System_Ole_Automation")] 5466 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPDownloadManager { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5467 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5468 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 5469 } 5470 } 5471 #[cfg(feature = "Win32_System_Ole_Automation")] 5472 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPDownloadManager { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5473 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5474 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 5475 } 5476 } 5477 #[repr(C)] 5478 #[doc(hidden)] 5479 pub struct IWMPDownloadManager_abi( 5480 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5481 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5482 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5483 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 5484 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5485 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 5486 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 5487 #[cfg(not(feature = "Win32_Foundation"))] usize, 5488 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 5489 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 5490 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 5491 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lcollectionid: i32, ppcollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5492 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcollection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5493 ); 5494 #[repr(transparent)] 5495 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5496 pub struct IWMPEffects(::windows::runtime::IUnknown); 5497 impl IWMPEffects { 5498 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] Render<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, plevels: *mut TimedLevel, hdc: Param1, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::Result<()>5499 pub unsafe fn Render<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, plevels: *mut TimedLevel, hdc: Param1, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::Result<()> { 5500 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(plevels), hdc.into_param().abi(), ::std::mem::transmute(prc)).ok() 5501 } 5502 #[cfg(feature = "Win32_Foundation")] MediaInfo<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, lchannelcount: i32, lsamplerate: i32, bstrtitle: Param2) -> ::windows::runtime::Result<()>5503 pub unsafe fn MediaInfo<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, lchannelcount: i32, lsamplerate: i32, bstrtitle: Param2) -> ::windows::runtime::Result<()> { 5504 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lchannelcount), ::std::mem::transmute(lsamplerate), bstrtitle.into_param().abi()).ok() 5505 } GetCapabilities(&self, pdwcapabilities: *mut u32) -> ::windows::runtime::Result<()>5506 pub unsafe fn GetCapabilities(&self, pdwcapabilities: *mut u32) -> ::windows::runtime::Result<()> { 5507 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdwcapabilities)).ok() 5508 } 5509 #[cfg(feature = "Win32_Foundation")] GetTitle(&self, bstrtitle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>5510 pub unsafe fn GetTitle(&self, bstrtitle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5511 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstrtitle)).ok() 5512 } 5513 #[cfg(feature = "Win32_Foundation")] GetPresetTitle(&self, npreset: i32, bstrpresettitle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>5514 pub unsafe fn GetPresetTitle(&self, npreset: i32, bstrpresettitle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5515 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(npreset), ::std::mem::transmute(bstrpresettitle)).ok() 5516 } GetPresetCount(&self, pnpresetcount: *mut i32) -> ::windows::runtime::Result<()>5517 pub unsafe fn GetPresetCount(&self, pnpresetcount: *mut i32) -> ::windows::runtime::Result<()> { 5518 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pnpresetcount)).ok() 5519 } SetCurrentPreset(&self, npreset: i32) -> ::windows::runtime::Result<()>5520 pub unsafe fn SetCurrentPreset(&self, npreset: i32) -> ::windows::runtime::Result<()> { 5521 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(npreset)).ok() 5522 } GetCurrentPreset(&self, pnpreset: *mut i32) -> ::windows::runtime::Result<()>5523 pub unsafe fn GetCurrentPreset(&self, pnpreset: *mut i32) -> ::windows::runtime::Result<()> { 5524 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(pnpreset)).ok() 5525 } 5526 #[cfg(feature = "Win32_Foundation")] DisplayPropertyPage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndowner: Param0) -> ::windows::runtime::Result<()>5527 pub unsafe fn DisplayPropertyPage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndowner: Param0) -> ::windows::runtime::Result<()> { 5528 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), hwndowner.into_param().abi()).ok() 5529 } 5530 #[cfg(feature = "Win32_Foundation")] GoFullscreen<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ffullscreen: Param0) -> ::windows::runtime::Result<()>5531 pub unsafe fn GoFullscreen<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ffullscreen: Param0) -> ::windows::runtime::Result<()> { 5532 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ffullscreen.into_param().abi()).ok() 5533 } RenderFullScreen(&self, plevels: *mut TimedLevel) -> ::windows::runtime::Result<()>5534 pub unsafe fn RenderFullScreen(&self, plevels: *mut TimedLevel) -> ::windows::runtime::Result<()> { 5535 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(plevels)).ok() 5536 } 5537 } 5538 unsafe impl ::windows::runtime::Interface for IWMPEffects { 5539 type Vtable = IWMPEffects_abi; 5540 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3549973523, 50123, 18658, [139, 229, 81, 104, 52, 11, 79, 53]); 5541 } 5542 impl ::std::convert::From<IWMPEffects> for ::windows::runtime::IUnknown { from(value: IWMPEffects) -> Self5543 fn from(value: IWMPEffects) -> Self { 5544 unsafe { ::std::mem::transmute(value) } 5545 } 5546 } 5547 impl ::std::convert::From<&IWMPEffects> for ::windows::runtime::IUnknown { from(value: &IWMPEffects) -> Self5548 fn from(value: &IWMPEffects) -> Self { 5549 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5550 } 5551 } 5552 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPEffects { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5553 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5554 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 5555 } 5556 } 5557 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPEffects { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5558 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5559 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 5560 } 5561 } 5562 #[repr(C)] 5563 #[doc(hidden)] 5564 pub struct IWMPEffects_abi( 5565 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5566 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5567 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5568 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plevels: *mut TimedLevel, hdc: super::super::Graphics::Gdi::HDC, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT, 5569 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] usize, 5570 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lchannelcount: i32, lsamplerate: i32, bstrtitle: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5571 #[cfg(not(feature = "Win32_Foundation"))] usize, 5572 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwcapabilities: *mut u32) -> ::windows::runtime::HRESULT, 5573 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrtitle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5574 #[cfg(not(feature = "Win32_Foundation"))] usize, 5575 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, npreset: i32, bstrpresettitle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5576 #[cfg(not(feature = "Win32_Foundation"))] usize, 5577 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnpresetcount: *mut i32) -> ::windows::runtime::HRESULT, 5578 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, npreset: i32) -> ::windows::runtime::HRESULT, 5579 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnpreset: *mut i32) -> ::windows::runtime::HRESULT, 5580 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndowner: super::super::Foundation::HWND) -> ::windows::runtime::HRESULT, 5581 #[cfg(not(feature = "Win32_Foundation"))] usize, 5582 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ffullscreen: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT, 5583 #[cfg(not(feature = "Win32_Foundation"))] usize, 5584 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plevels: *mut TimedLevel) -> ::windows::runtime::HRESULT, 5585 ); 5586 #[repr(transparent)] 5587 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5588 pub struct IWMPEffects2(::windows::runtime::IUnknown); 5589 impl IWMPEffects2 { 5590 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] Render<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, plevels: *mut TimedLevel, hdc: Param1, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::Result<()>5591 pub unsafe fn Render<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, plevels: *mut TimedLevel, hdc: Param1, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::Result<()> { 5592 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(plevels), hdc.into_param().abi(), ::std::mem::transmute(prc)).ok() 5593 } 5594 #[cfg(feature = "Win32_Foundation")] MediaInfo<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, lchannelcount: i32, lsamplerate: i32, bstrtitle: Param2) -> ::windows::runtime::Result<()>5595 pub unsafe fn MediaInfo<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, lchannelcount: i32, lsamplerate: i32, bstrtitle: Param2) -> ::windows::runtime::Result<()> { 5596 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lchannelcount), ::std::mem::transmute(lsamplerate), bstrtitle.into_param().abi()).ok() 5597 } GetCapabilities(&self, pdwcapabilities: *mut u32) -> ::windows::runtime::Result<()>5598 pub unsafe fn GetCapabilities(&self, pdwcapabilities: *mut u32) -> ::windows::runtime::Result<()> { 5599 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdwcapabilities)).ok() 5600 } 5601 #[cfg(feature = "Win32_Foundation")] GetTitle(&self, bstrtitle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>5602 pub unsafe fn GetTitle(&self, bstrtitle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5603 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstrtitle)).ok() 5604 } 5605 #[cfg(feature = "Win32_Foundation")] GetPresetTitle(&self, npreset: i32, bstrpresettitle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>5606 pub unsafe fn GetPresetTitle(&self, npreset: i32, bstrpresettitle: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5607 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(npreset), ::std::mem::transmute(bstrpresettitle)).ok() 5608 } GetPresetCount(&self, pnpresetcount: *mut i32) -> ::windows::runtime::Result<()>5609 pub unsafe fn GetPresetCount(&self, pnpresetcount: *mut i32) -> ::windows::runtime::Result<()> { 5610 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pnpresetcount)).ok() 5611 } SetCurrentPreset(&self, npreset: i32) -> ::windows::runtime::Result<()>5612 pub unsafe fn SetCurrentPreset(&self, npreset: i32) -> ::windows::runtime::Result<()> { 5613 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(npreset)).ok() 5614 } GetCurrentPreset(&self, pnpreset: *mut i32) -> ::windows::runtime::Result<()>5615 pub unsafe fn GetCurrentPreset(&self, pnpreset: *mut i32) -> ::windows::runtime::Result<()> { 5616 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(pnpreset)).ok() 5617 } 5618 #[cfg(feature = "Win32_Foundation")] DisplayPropertyPage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndowner: Param0) -> ::windows::runtime::Result<()>5619 pub unsafe fn DisplayPropertyPage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndowner: Param0) -> ::windows::runtime::Result<()> { 5620 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), hwndowner.into_param().abi()).ok() 5621 } 5622 #[cfg(feature = "Win32_Foundation")] GoFullscreen<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ffullscreen: Param0) -> ::windows::runtime::Result<()>5623 pub unsafe fn GoFullscreen<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ffullscreen: Param0) -> ::windows::runtime::Result<()> { 5624 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ffullscreen.into_param().abi()).ok() 5625 } RenderFullScreen(&self, plevels: *mut TimedLevel) -> ::windows::runtime::Result<()>5626 pub unsafe fn RenderFullScreen(&self, plevels: *mut TimedLevel) -> ::windows::runtime::Result<()> { 5627 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(plevels)).ok() 5628 } SetCore<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPCore>>(&self, pplayer: Param0) -> ::windows::runtime::Result<()>5629 pub unsafe fn SetCore<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPCore>>(&self, pplayer: Param0) -> ::windows::runtime::Result<()> { 5630 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), pplayer.into_param().abi()).ok() 5631 } 5632 #[cfg(feature = "Win32_Foundation")] Create<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndparent: Param0) -> ::windows::runtime::Result<()>5633 pub unsafe fn Create<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndparent: Param0) -> ::windows::runtime::Result<()> { 5634 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), hwndparent.into_param().abi()).ok() 5635 } Destroy(&self) -> ::windows::runtime::Result<()>5636 pub unsafe fn Destroy(&self) -> ::windows::runtime::Result<()> { 5637 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok() 5638 } NotifyNewMedia<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, pmedia: Param0) -> ::windows::runtime::Result<()>5639 pub unsafe fn NotifyNewMedia<'a, Param0: ::windows::runtime::IntoParam<'a, IWMPMedia>>(&self, pmedia: Param0) -> ::windows::runtime::Result<()> { 5640 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), pmedia.into_param().abi()).ok() 5641 } 5642 #[cfg(feature = "Win32_Foundation")] OnWindowMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, msg: u32, wparam: Param1, lparam: Param2, plresultparam: *mut super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()>5643 pub unsafe fn OnWindowMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, msg: u32, wparam: Param1, lparam: Param2, plresultparam: *mut super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()> { 5644 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(msg), wparam.into_param().abi(), lparam.into_param().abi(), ::std::mem::transmute(plresultparam)).ok() 5645 } 5646 #[cfg(feature = "Win32_Foundation")] RenderWindowed<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pdata: *mut TimedLevel, frequiredrender: Param1) -> ::windows::runtime::Result<()>5647 pub unsafe fn RenderWindowed<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pdata: *mut TimedLevel, frequiredrender: Param1) -> ::windows::runtime::Result<()> { 5648 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdata), frequiredrender.into_param().abi()).ok() 5649 } 5650 } 5651 unsafe impl ::windows::runtime::Interface for IWMPEffects2 { 5652 type Vtable = IWMPEffects2_abi; 5653 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1767081708, 43580, 17944, [165, 225, 221, 154, 139, 152, 118, 50]); 5654 } 5655 impl ::std::convert::From<IWMPEffects2> for ::windows::runtime::IUnknown { from(value: IWMPEffects2) -> Self5656 fn from(value: IWMPEffects2) -> Self { 5657 unsafe { ::std::mem::transmute(value) } 5658 } 5659 } 5660 impl ::std::convert::From<&IWMPEffects2> for ::windows::runtime::IUnknown { from(value: &IWMPEffects2) -> Self5661 fn from(value: &IWMPEffects2) -> Self { 5662 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5663 } 5664 } 5665 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPEffects2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5666 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5667 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 5668 } 5669 } 5670 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPEffects2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5671 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5672 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 5673 } 5674 } 5675 impl ::std::convert::From<IWMPEffects2> for IWMPEffects { from(value: IWMPEffects2) -> Self5676 fn from(value: IWMPEffects2) -> Self { 5677 unsafe { ::std::mem::transmute(value) } 5678 } 5679 } 5680 impl ::std::convert::From<&IWMPEffects2> for IWMPEffects { from(value: &IWMPEffects2) -> Self5681 fn from(value: &IWMPEffects2) -> Self { 5682 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5683 } 5684 } 5685 impl<'a> ::windows::runtime::IntoParam<'a, IWMPEffects> for IWMPEffects2 { into_param(self) -> ::windows::runtime::Param<'a, IWMPEffects>5686 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPEffects> { 5687 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPEffects>::into(self)) 5688 } 5689 } 5690 impl<'a> ::windows::runtime::IntoParam<'a, IWMPEffects> for &IWMPEffects2 { into_param(self) -> ::windows::runtime::Param<'a, IWMPEffects>5691 fn into_param(self) -> ::windows::runtime::Param<'a, IWMPEffects> { 5692 ::windows::runtime::Param::Owned(::std::convert::Into::<IWMPEffects>::into(::std::clone::Clone::clone(self))) 5693 } 5694 } 5695 #[repr(C)] 5696 #[doc(hidden)] 5697 pub struct IWMPEffects2_abi( 5698 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5699 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5700 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5701 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plevels: *mut TimedLevel, hdc: super::super::Graphics::Gdi::HDC, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT, 5702 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] usize, 5703 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lchannelcount: i32, lsamplerate: i32, bstrtitle: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5704 #[cfg(not(feature = "Win32_Foundation"))] usize, 5705 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwcapabilities: *mut u32) -> ::windows::runtime::HRESULT, 5706 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrtitle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5707 #[cfg(not(feature = "Win32_Foundation"))] usize, 5708 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, npreset: i32, bstrpresettitle: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5709 #[cfg(not(feature = "Win32_Foundation"))] usize, 5710 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnpresetcount: *mut i32) -> ::windows::runtime::HRESULT, 5711 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, npreset: i32) -> ::windows::runtime::HRESULT, 5712 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnpreset: *mut i32) -> ::windows::runtime::HRESULT, 5713 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndowner: super::super::Foundation::HWND) -> ::windows::runtime::HRESULT, 5714 #[cfg(not(feature = "Win32_Foundation"))] usize, 5715 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ffullscreen: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT, 5716 #[cfg(not(feature = "Win32_Foundation"))] usize, 5717 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plevels: *mut TimedLevel) -> ::windows::runtime::HRESULT, 5718 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pplayer: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5719 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndparent: super::super::Foundation::HWND) -> ::windows::runtime::HRESULT, 5720 #[cfg(not(feature = "Win32_Foundation"))] usize, 5721 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5722 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmedia: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5723 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, plresultparam: *mut super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT, 5724 #[cfg(not(feature = "Win32_Foundation"))] usize, 5725 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdata: *mut TimedLevel, frequiredrender: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT, 5726 #[cfg(not(feature = "Win32_Foundation"))] usize, 5727 ); 5728 #[repr(transparent)] 5729 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5730 pub struct IWMPError(::windows::runtime::IUnknown); 5731 impl IWMPError { clearErrorQueue(&self) -> ::windows::runtime::Result<()>5732 pub unsafe fn clearErrorQueue(&self) -> ::windows::runtime::Result<()> { 5733 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok() 5734 } errorCount(&self, plnumerrors: *mut i32) -> ::windows::runtime::Result<()>5735 pub unsafe fn errorCount(&self, plnumerrors: *mut i32) -> ::windows::runtime::Result<()> { 5736 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(plnumerrors)).ok() 5737 } item(&self, dwindex: i32) -> ::windows::runtime::Result<IWMPErrorItem>5738 pub unsafe fn item(&self, dwindex: i32) -> ::windows::runtime::Result<IWMPErrorItem> { 5739 let mut result__: <IWMPErrorItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 5740 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwindex), &mut result__).from_abi::<IWMPErrorItem>(result__) 5741 } webHelp(&self) -> ::windows::runtime::Result<()>5742 pub unsafe fn webHelp(&self) -> ::windows::runtime::Result<()> { 5743 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok() 5744 } 5745 } 5746 unsafe impl ::windows::runtime::Interface for IWMPError { 5747 type Vtable = IWMPError_abi; 5748 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2704134013, 5291, 19483, [168, 205, 99, 144, 159, 6, 2, 91]); 5749 } 5750 impl ::std::convert::From<IWMPError> for ::windows::runtime::IUnknown { from(value: IWMPError) -> Self5751 fn from(value: IWMPError) -> Self { 5752 unsafe { ::std::mem::transmute(value) } 5753 } 5754 } 5755 impl ::std::convert::From<&IWMPError> for ::windows::runtime::IUnknown { from(value: &IWMPError) -> Self5756 fn from(value: &IWMPError) -> Self { 5757 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5758 } 5759 } 5760 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPError { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5761 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5762 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 5763 } 5764 } 5765 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPError { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5766 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5767 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 5768 } 5769 } 5770 #[cfg(feature = "Win32_System_Ole_Automation")] 5771 impl ::std::convert::From<IWMPError> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPError) -> Self5772 fn from(value: IWMPError) -> Self { 5773 unsafe { ::std::mem::transmute(value) } 5774 } 5775 } 5776 #[cfg(feature = "Win32_System_Ole_Automation")] 5777 impl ::std::convert::From<&IWMPError> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPError) -> Self5778 fn from(value: &IWMPError) -> Self { 5779 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5780 } 5781 } 5782 #[cfg(feature = "Win32_System_Ole_Automation")] 5783 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPError { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5784 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5785 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 5786 } 5787 } 5788 #[cfg(feature = "Win32_System_Ole_Automation")] 5789 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPError { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5790 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5791 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 5792 } 5793 } 5794 #[repr(C)] 5795 #[doc(hidden)] 5796 pub struct IWMPError_abi( 5797 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5798 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5799 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5800 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 5801 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5802 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 5803 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 5804 #[cfg(not(feature = "Win32_Foundation"))] usize, 5805 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 5806 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 5807 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 5808 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5809 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plnumerrors: *mut i32) -> ::windows::runtime::HRESULT, 5810 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwindex: i32, pperroritem: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5811 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5812 ); 5813 #[repr(transparent)] 5814 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5815 pub struct IWMPErrorItem(::windows::runtime::IUnknown); 5816 impl IWMPErrorItem { errorCode(&self, phr: *mut i32) -> ::windows::runtime::Result<()>5817 pub unsafe fn errorCode(&self, phr: *mut i32) -> ::windows::runtime::Result<()> { 5818 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(phr)).ok() 5819 } 5820 #[cfg(feature = "Win32_Foundation")] errorDescription(&self, pbstrdescription: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>5821 pub unsafe fn errorDescription(&self, pbstrdescription: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5822 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrdescription)).ok() 5823 } 5824 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] errorContext(&self, pvarcontext: *mut super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>5825 pub unsafe fn errorContext(&self, pvarcontext: *mut super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> { 5826 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvarcontext)).ok() 5827 } remedy(&self, plremedy: *mut i32) -> ::windows::runtime::Result<()>5828 pub unsafe fn remedy(&self, plremedy: *mut i32) -> ::windows::runtime::Result<()> { 5829 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(plremedy)).ok() 5830 } 5831 #[cfg(feature = "Win32_Foundation")] customUrl(&self, pbstrcustomurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>5832 pub unsafe fn customUrl(&self, pbstrcustomurl: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5833 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrcustomurl)).ok() 5834 } 5835 } 5836 unsafe impl ::windows::runtime::Interface for IWMPErrorItem { 5837 type Vtable = IWMPErrorItem_abi; 5838 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(907331142, 15163, 19943, [168, 30, 147, 14, 63, 33, 39, 179]); 5839 } 5840 impl ::std::convert::From<IWMPErrorItem> for ::windows::runtime::IUnknown { from(value: IWMPErrorItem) -> Self5841 fn from(value: IWMPErrorItem) -> Self { 5842 unsafe { ::std::mem::transmute(value) } 5843 } 5844 } 5845 impl ::std::convert::From<&IWMPErrorItem> for ::windows::runtime::IUnknown { from(value: &IWMPErrorItem) -> Self5846 fn from(value: &IWMPErrorItem) -> Self { 5847 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5848 } 5849 } 5850 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWMPErrorItem { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5851 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5852 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 5853 } 5854 } 5855 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWMPErrorItem { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5856 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 5857 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 5858 } 5859 } 5860 #[cfg(feature = "Win32_System_Ole_Automation")] 5861 impl ::std::convert::From<IWMPErrorItem> for super::super::System::Ole::Automation::IDispatch { from(value: IWMPErrorItem) -> Self5862 fn from(value: IWMPErrorItem) -> Self { 5863 unsafe { ::std::mem::transmute(value) } 5864 } 5865 } 5866 #[cfg(feature = "Win32_System_Ole_Automation")] 5867 impl ::std::convert::From<&IWMPErrorItem> for super::super::System::Ole::Automation::IDispatch { from(value: &IWMPErrorItem) -> Self5868 fn from(value: &IWMPErrorItem) -> Self { 5869 ::std::convert::From::from(::std::clone::Clone::clone(value)) 5870 } 5871 } 5872 #[cfg(feature = "Win32_System_Ole_Automation")] 5873 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IWMPErrorItem { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5874 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5875 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self)) 5876 } 5877 } 5878 #[cfg(feature = "Win32_System_Ole_Automation")] 5879 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IWMPErrorItem { into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5880 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> { 5881 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 5882 } 5883 } 5884 #[repr(C)] 5885 #[doc(hidden)] 5886 pub struct IWMPErrorItem_abi( 5887 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5888 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5889 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 5890 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 5891 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 5892 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 5893 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 5894 #[cfg(not(feature = "Win32_Foundation"))] usize, 5895 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 5896 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 5897 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 5898 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phr: *mut i32) -> ::windows::runtime::HRESULT, 5899 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdescription: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5900 #[cfg(not(feature = "Win32_Foundation"))] usize, 5901 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarcontext: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT, 5902 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 5903 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plremedy: *mut i32) -> ::windows::runtime::HRESULT, 5904 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrcustomurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 5905 #[cfg(not(feature = "Win32_Foundation"))] usize, 5906 ); 5907 #[repr(transparent)] 5908 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 5909 pub struct IWMPErrorItem2(::windows::runtime::IUnknown); 5910 impl IWMPErrorItem2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>5911 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 5912 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 5913 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 5914 } 5915 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo>5916 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::System::Ole::Automation::ITypeInfo> { 5917 let mut result__: <super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 5918 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::System::Ole::Automation::ITypeInfo>(result__) 5919 } 5920 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>5921 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 5922 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 5923 } 5924 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>5925 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 5926 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 5927 } errorCode(&self, phr: *mut i32) -> ::windows::runtime::Result<()>5928 pub unsafe fn errorCode(&self, phr: *mut i32) -> ::windows::runtime::Result<()> { 5929 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(phr)).ok() 5930 } 5931 #[cfg(feature = "Win32_Foundation")] errorDescription(&self, pbstrdescription: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>5932 pub unsafe fn errorDescription(&self, pbstrdescription: *mut super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> { 5933 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrdescription)).ok() 5934 } 5935 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] errorContext(&self, pvarcontext: *mut super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>5936 pub unsafe fn errorContext(&self, pvarcontext: *mut super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> { 5937 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvarcontext)).ok() 5938 } remedy(&self, plremedy: *mut i32) -> ::windows::runtime::Result<()>5939