meaning, language, or formatting of the technical content. 7/12/2012 5.0 Major Updated and revised the technical content. 10/25/2012 5.0 None No changes to the meaning, language, or formatting of the technical content. 1/31/2013 5.0 None No changes to the meaning, language, or formatting of the technical content. 8/8/2013 6.0 Major Updated and revised the technical content. 11/14/2013 6.0 None No changes to the meaning, language, or formatting of the technical content. 2/13/2014 7.0 Major Updated and revised the technical content. 5/15/2014 7.0 None No changes to the meaning, language, or formatting
of the technical content. 6/30/2015 8.0 Major Significantly changed the technical content. 10/16/2015 8.0 None No changes to the meaning, language, or formatting of the technical content. 7/14/2016 8.0 None No changes to the meaning, language, or formatting of the technical content. 6/1/2017 9.0 Major Significantly changed the technical content.
Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol . This method SHOULD return the item at the given index in the List ADM element. IStringCollection::Item (Opnum 9) The IStringCollection::Item (opnum 9) method sets an item in the collection. HRESULT Item( [in] LONG index, [in] BSTR value ); index: The zero-based index of the item to modify. value: The new item to set in the collection. Return Values: The method MUST return information in an HRESULT data structure. The severity bit in the structure identifies the following conditions: If the severity bit is set to 0, the method completed successfully. If the severity bit is set to 1, the method failed and encountered a fatal error. If the index is less than 0x00000000 or greater than or equal to the number of items in the collection, the server SHOULD return WU_E_INVALIDINDEX (0x80240007). If the collection is read-only, the server SHOULD return WU_E_NOT_SUPPORTED (0x80240037). Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol . This method SHOULD set the item at the given index in the List ADM element list to the given value. IStringCollection::_NewEnum (Opnum 10) The IStringCollection::_NewEnum method retrieves an enumerator for the collection. HRESULT _NewEnum( [out, retval] IUnknown** retval ); retval: The IUnknown interface of an object that also implements the IEnumVARIANT interface, which can be used to enumerate the elements in the collection. Return Values: The method MUST return information in an HRESULT data structure. The severity bit in the structure identifies the following conditions: If the severity bit is set to 0, the method completed successfully. If the severity bit is set to 1, the method failed and encountered a error. Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol . This method SHOULD create a new object implementing the IEnumVARIANT interface, which enumerates the items in the List ADM element.
ServiceID: A string containing the unique identifier of the that provided the update for which the operation was performed. This is the string form of a UUID, as specified in section 3. UninstallationSteps: A string, in the language of the user who initiated the operation, containing the localized uninstallation steps for the update for which the operation was performed. UninstallationNotes: A string, in the language of the user who initiated the operation, containing the localized uninstallation notes for the update for which the operation was performed. SupportUrl: A string containing the URL of a document containing support information for the update for which the operation was performed. Categories: An ICategoryCollection instance containing a list of categories to the update for which the operation was performed belonged at the time of the operation. Once initialized, these data elements are not modified. Timers None. Initialization When the server is created, it SHOULD populate its ADM from persisted history data obtained from the through an implementation-dependent<34> interface. The Locale ADM element SHOULD be set to an LCID identifying the locale of the user that initiated the update operation recorded in the history entry, and localizable data elements SHOULD be localized to this locale. Message Processing Events and Sequencing Rules for IUpdateHistoryEntry This protocol MUST indicate to the RPC runtime that it is to perform a strict NDR data consistency at target level 5.0, as specified in section 3. This interface includes the following methods: Methods in RPC Opnum Order Method Description Retrieves the operation performed. Opnum: 8 ResultCode Describes the result of the operation. 9 Retrieves the HRESULT from the operation. Opnum: 10 Retrieves the date-time that the
[out, retval] VARIANT_BOOL* retval); [ id(0x60020004), propget ] HRESULT IsRegisteredWithAU( [out, retval] VARIANT_BOOL* retval); [ id(0x60020005), propget ] HRESULT IssueDate( [out, retval] DATE* retval); [ id(0x60020006), propget ] HRESULT OffersWindowsUpdates( [out, retval] VARIANT_BOOL* retval); [ id(0x60020007), propget ] HRESULT RedirectUrls( [out, retval] IStringCollection** retval); [ id(0x60020008), propget ] HRESULT ServiceID( [out, retval] BSTR* retval); [ id(0x6002000A), propget ] HRESULT IsScanPackageService( [out, retval] VARIANT_BOOL* retval); [ id(0x6002000B), propget ] HRESULT CanRegisterWithAU( [out, retval] VARIANT_BOOL* retval); [ id(0x6002000C), propget ] HRESULT ServiceUrl( [out, retval] BSTR* retval); [ id(0x6002000D), propget ] HRESULT SetupPrefix( [out, retval] BSTR* retval); } [ object, oleautomation, dual, nonextensible,
CanAutomaticallyUpgradeService method ( 145, 146) 164 51 79 18 Categories method ( 79, 136) 39 235 40 method ( 68, 114) Client abstract data model ( 34, 37, 43, 46, 49, 53, 57, 63, 70, 109, 115, 118, 121, 124, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 191) 37 37 34 43 46 49 53 57 70 109 109 109 109 109 118 118 121 124 127 137 137 140 142 158 158 158 167 170 177 181 63 63 63 109 109 109 109 109 189 191 initialization ( 34, 37, 43, 46, 50, 53, 57, 63, 71, 109, 116, 118, 121, 124, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 191) 37 37 34 43 46 50 53 57 71 109 109 109 109 109 118 118 121 124 127 137 137 140 142 158 158 158 167 170 177 181 63 63 63 109 109 109 109 109 189 191 local events ( 34, 37, 43, 46, 50, 53, 57, 64, 71, 109, 116, 119, 122, 125, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 192) 37 37 34 43 46 50 53 57 71 109 109 109 109 109 119 119 122 125 127 137 137 140 142 158 158 158
142 158 158 158 167 170 177 181 64 64 64 109 109 109 109 109 189 191 timers ( 34, 37, 43, 46, 50, 53, 57, 63, 71, 109, 115, 118, 121, 124, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 191) 37 37 34 43 46 50 53 57 71 109 109 109 109 109 118 118 121 124 127 137 137 140 142 158 158 158 167 170 177 181 63 63 63 109 109 109 109 109 189 191 ClientApplicationID method ( 59, 59, 133, 146, 147, 175, 175) 19 19 19 19 19 19 19 19 19 19 24 161 124 69 Count method ( 45, 67, 112, 121, 126, 139, 169, 188) 60 62 CveIDs method ( 97, 105) D Data model - abstract client ( 34, 37, 43, 46, 49, 53, 57, 63, 70, 109, 115, 118, 121, 124, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 191) 37 37 34 43 46 49 53 57 70 109 109 109 109 109 118 118 121 124 127 137 137 140 142 158 158 158 167 170 177 181 63 63 63 109 109 109 109 109 189
191 server ( 32, 34, 37, 44, 47, 50, 54, 57, 64, 72, 110, 116, 119, 122, 125, 128, 137, 140, 143, 158, 167, 170, 178, 181, 187, 190) 34 34 32 37 44 47 50 54 64 72 72 72 72 72 110 116 116 119 122 125 128 128 137 140 143 143 143 158 158 167 170 170 178 57 57 57 72 72 72 72 72 181 187 190 Data types 24 24 131 80 80 81 25 94 Description method ( 40, 81, 132) 35 DeviceProblemNumber method ( 103, 185) DeviceStatus method ( 103, 185) 95 25 94 117 DriverClass method ( 100, 182) DriverHardwareID method ( 101, 183) DriverManufacturer method ( 101, 183) DriverModel method ( 102, 184) DriverProvider method ( 102, 184) DriverVerDate method ( 102, 185) E 149 81 82 Events local client 37 37 34 43 46 50 53 57 71 109 109 109 109 109 119 119 122 125 127 137 137 140 142 158 158 158 167 170 177 181 64 64 64 109 109 109 109 109 189 192 server 37 37 34 43 46 49 53 56
70 109 109 109 109 109 118 118 121 124 127 137 137 140 142 157 157 157 166 166 170 177 177 180 63 63 63 109 109 109 109 109 186 189 191 - client ( 34, 37, 43, 46, 50, 53, 57, 64, 71, 109, 116, 119, 122, 125, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 192) local - server ( 34, 37, 43, 46, 49, 53, 56, 63, 70, 109, 115, 118, 121, 124, 127, 137, 140, 142, 157, 166, 170, 177, 180, 186, 189, 191) timer client 37 37 34 43 46 50 53 57 71 109 109 109 109 109 119 119 121 124 127 137 137 140 142 158 158 158 167 170 177 181 64 64 64 109 109 109 109 109 189 191 server 36 36 33 43 46 49 53 56 70 109 109 109 109 109 118 118 121 124 127 136 136 139 142 157 157 157 166 166 169 177 177 180 63 63 63 109 109 109 109 109 186 189 191
timer - client ( 34, 37, 43, 46, 50, 53, 57, 64, 71, 109, 116, 119, 121, 124, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 191) timer - server ( 33, 36, 43, 46, 49, 53, 56, 63, 70, 109, 115, 118, 121, 124, 127, 136, 139, 142, 157, 166, 169, 177, 180, 186, 189, 191) Examples 193 193 194 161 F 19 197 G 190 154 16 H 82 48 HResult method ( 123, 131) I 34 34 35 34 36 32 32 33 33 37 37 39 40 40 40 39 41 41 42 42 43 43 45 45 44 83 197 IgnoreDownloadPriority method ( 155, 156) 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 47 47 48 48 48 49 50 50 51 52 52 52 Image method ( 40, 83) 52 196 IncludePotentiallySupersededUpdates method ( 147, 148) 196 17 Initialization client ( 34, 37, 43, 46, 50, 53, 57, 63, 71, 109, 116, 118, 121, 124, 127, 137, 140,
142, 158, 167, 170, 177, 181, 186, 189, 191) 37 37 34 43 46 50 53 57 71 109 109 109 109 109 118 118 121 124 127 137 137 140 142 158 158 158 167 170 177 181 63 63 63 109 109 109 109 109 189 191 server ( 32, 35, 38, 44, 47, 51, 54, 58, 65, 75, 110, 116, 119, 122, 125, 129, 138, 141, 144, 159, 168, 171, 178, 182, 187, 190) 35 35 32 38 44 47 51 54 65 75 75 75 75 75 110 116 116 119 122 125 129 129 138 141 144 144 144 159 159 168 171 171 178 58 58 58 75 75 75 75 75 182 187 190 Insert method ( 69, 114) 84 24 24 Interfaces server 34 34 32 37 43 47 50 54 64 71 71 71 71 71 110 116 116 119 122 125 128 128 137 140 143 143 143 158 167 170 178 57 57 57
71 71 71 71 71 181 186 189 Interfaces - server 34 32 37 43 47 50 54 64 71 110 116 119 122 125 128 137 140 143 158 167 170 178 57 181 186 189 16 84 166 118 84 54 54 55 55 56 56 85 85 161 86 180 IsPresent method ( 96, 105) 162 164 162 64 64 67 68 68 69 67 69 66 66 67 70 86 Item method ( 44, 66, 66, 111, 112, 120, 126, 138, 168, 187) 71 71 78 78 79 79 80 80 81 94 81 95 94 81 82 82 83 83 84 84 84 85 85 86 86 94 86 87 87 88 88 89 89 89 90 90 91 91 92 78 92 93 92 93 71 97 96 96 71 97 71 98 71 99 99 110 110 112 113 114
112 114 111 112 113 115 116 116 117 116 118 119 119 120 121 120 122 122 124 123 123 125 125 126 126 126 128 128 133 131 132 131 130 130 134 134 135 132 135 134 133 131 128 136 137 137 139 139 138 140 140 141 141 143 143 145 146 146 147 149 154 147 148 153 153 149 150 148 149 154 155 143 155 156 143 157 157 158 158 164 161 161 161 162 164 162 160 163 163 164 165 165 166 167 167 169 169 168 170 170 173 172 173 172 174 176 175 175 176 178 178 180 179 180 179 57 57 59 59 60 59 57 61 61 57 62 62 71 103 103
100 101 101 102 102 102 71 105 105 104 71 106 71 107 107 71 108 108 181 181 185 185 182 183 183 184 184 185 186 186 188 188 187 189 189 190 K 94 L 86 87 33 33 Local events client ( 34, 37, 43, 46, 50, 53, 57, 64, 71, 109, 116, 119, 122, 125, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 192) 37 37 34 43 46 50 53 57 71 109 109 109 109 109 119 119 122 125 127 137 137 140 142 158 158 158 167 170 177 181 64 64 64 109 109 109 109 109 189 192 server ( 34, 37, 43, 46, 49, 53, 56, 63, 70, 109, 115, 118, 121, 124, 127, 137, 140, 142, 157, 166, 170, 177, 180, 186, 189, 191) 37 37 34 43 46 49 53 56 70 109 109 109 109 109 118 118 121 124 127 137 137 140 142 157 157 157 166 166 170 177 177 180 63 63
63 109 109 109 109 109 186 189 191 M 87 123 Message processing client ( 34, 37, 43, 46, 50, 53, 57, 64, 71, 109, 116, 118, 121, 124, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 191) 37 37 34 43 46 50 53 57 71 109 109 109 109 109 116 118 118 121 124 127 137 137 140 142 158 158 158 167 170 177 181 64 64 64 109 109 109 109 109 189 191 server ( 32, 35, 36, 38, 44, 47, 51, 54, 58, 60, 62, 65, 75, 95, 97, 98, 98, 100, 104, 106, 106, 108, 110, 117, 117, 119, 122, 125, 129, 136, 138, 141, 144, 155, 156, 159, 166, 168, 171, 174, 178, 182, 187, 190) 35 36 32 38 44 47 51 54 65 75 95 97 98 98 110 117 117 119 122 125 129 136 138 141 144 155 156 159 166 168 171 174 178 58 60 62 100 104 106 106 108 182 187 190 Messages 24 24 Methods 35 36 33 33 39 40 40 40 39 41 41 42 42 45 45
44 48 48 48 49 51 52 52 52 55 55 56 56 67 68 68 69 67 69 66 66 67 70 78 78 79 79 80 80 81 94 81 95 94 81 82 82 83 83 84 84 84 85 85 86 86 94 86 87 87 88 88 89 89 89 90 90 91 91 92 78 92 93 92 93 97 96 96 97 98 99 99 112 113 114 112 114 111 112 113 115 117 118 120 121 120 124 123 123 126 126 126 133 131 132 131 130 130 134 134 135 132 135 134 133 131 136 139 139 138 141 141 145 146 146 147 149 154 147 148 153 153 149 150 148 149 154 155 155 156
157 157 164 161 161 161 162 164 162 160 163 163 164 165 165 166 169 169 168 173 172 173 172 174 176 175 175 176 180 179 180 179 59 59 60 59 61 61 62 62 103 103 100 101 101 102 102 102 105 105 104 106 107 107 108 108 185 185 182 183 183 184 184 185 188 188 187 190 88 88 89 N Name method ( 39, 160) NewEnum method ( 45, 67, 112, 120, 126, 139, 169, 188) 17 O 163 Online method ( 153, 153) 130 27 41 18 P 196 41 194 PerUser method ( 98, 107) 18 18 230 Protocol Details 31 Q QueryHistory method ( 62, 149) 176 R ReadOnly method ( 59, 67, 113) 52 RebootRequired method ( 96, 104) 89 89 90 163 17 17 17 172 179 18 31 90 RemoveAt method ( 70, 115) 173 52 ResultCode method ( 55, 130) 36 141 55
S 150 28 SearchScope method ( 157, 157) Security 196 196 91 Sequencing rules client ( 34, 37, 43, 46, 50, 53, 57, 64, 71, 109, 116, 118, 121, 124, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 191) 37 37 34 43 46 50 53 57 71 109 109 109 109 109 116 118 118 121 124 127 137 137 140 142 158 158 158 167 170 177 181 64 64 64 109 109 109 109 109 189 191 server ( 32, 35, 36, 38, 44, 47, 51, 54, 58, 60, 62, 65, 75, 95, 97, 98, 98, 100, 104, 106, 106, 108, 110, 117, 117, 119, 122, 125, 129, 136, 138, 141, 144, 155, 156, 159, 166, 168, 171, 174, 178, 182, 187, 190) 35 36 32 38 44 47 51 54 65 75 95 97 98 98 110 117 117 119 122 125 129 136 138 141 144 155 156 159 166 168 171 174 178 58 60 62 100 104 106 106 108 182 187 190 Server abstract data model ( 32, 34, 37, 44, 47, 50, 54, 57, 64, 72, 110, 116, 119, 122, 125, 128, 137, 140, 143, 158, 167, 170, 178, 181, 187, 190) 34 34 32 37 44 47 50 54 64 72 72 72 72 72 110 116 116 119 122
125 128 128 137 140 143 143 143 158 158 167 170 170 178 57 57 57 72 72 72 72 72 181 187 190 34 34 35 34 36 32 32 33 33 37 37 39 40 40 40 39 41 41 42 42 43 43 45 45 44 47 47 48 48 48 49 50 50 51 52 52 52 initialization ( 32, 35, 38, 44, 47, 51, 54, 58, 65, 75, 110, 116, 119, 122, 125, 129, 138, 141, 144, 159, 168, 171, 178, 182, 187, 190) 35 35 32 38 44 47 51 54 65 75 75 75 75 75 110 116 116 119 122 125 129 129 138 141 144 144 144 159 159 168 171 171 178 58 58 58 75 75 75 75 75 182 187 190 54 54 55 55 56 56 64 64 67 68 68 69 67 69 66 66 67 70 71
71 78 78 79 79 80 80 81 94 81 95 94 81 82 82 83 83 84 84 84 85 85 86 86 94 86 87 87 88 88 89 89 89 90 90 91 91 92 78 92 93 92 93 71 97 96 96 71 97 71 98 71 99 99 110 110 112 113 114 112 114 111 112 113 115 116 116 117 116 118 119 119 120 121 120 122 122 124 123 123 125 125 126 126 126 128 128 133 131 132 131 130 130 134 134 135 132 135 134 133 131 128 136 137 137 139 139 138 140 140 141 141 143 143 145 146 146 147 149 154 147 148 153 153 149 150 148 149 154 155
180 63 63 63 109 109 109 109 109 186 189 191 message processing ( 32, 35, 36, 38, 44, 47, 51, 54, 58, 60, 62, 65, 75, 95, 97, 98, 98, 100, 104, 106, 106, 108, 110, 117, 117, 119, 122, 125, 129, 136, 138, 141, 144, 155, 156, 159, 166, 168, 171, 174, 178, 182, 187, 190) 35 36 32 38 44 47 51 54 65 75 95 97 98 98 110 117 117 119 122 125 129 136 138 141 144 155 156 159 166 168 171 174 178 58 60 62 100 104 106 106 108 182 187 190 overview ( 32, 34, 37, 43, 47, 50, 54, 57, 64, 71, 110, 116, 119, 122, 125, 128, 137, 140, 143, 158, 167, 170, 178, 181, 186, 189) 31 sequencing ( 32, 35, 36, 38, 44, 47, 51, 54, 58, 60, 62, 65, 75, 95, 97, 98, 98, 100, 104, 106, 106, 108, 110, 117, 117, 119, 122, 125, 129, 136, 138, 141, 144, 155, 156, 159, 166, 168, 171, 174, 178, 182, 187, 190) 35 36 32 38 44 47 51 54 65 75 95 97 98 98 110 117 117 119 122 125 129 136 138 141 144 155 156 159 166 168 171 174 178 58 60 62 100 104 106 106 108 182 187 190 timer events ( 33, 36, 43, 46, 49, 53, 56, 63, 70, 109, 115, 118, 121, 124, 127, 136, 139, 142, 157, 166, 169, 177, 180, 186, 189, 191) 36 36 33 43 46 49 53 56
70 109 109 109 109 109 118 118 121 124 127 136 136 139 142 157 157 157 166 166 169 177 177 180 63 63 63 109 109 109 109 109 186 189 191 timers ( 32, 35, 38, 44, 47, 50, 54, 58, 65, 74, 110, 116, 119, 122, 125, 129, 138, 141, 144, 159, 168, 171, 178, 182, 187, 190) 35 35 32 38 44 47 50 54 65 74 74 74 74 74 116 116 119 122 125 129 129 138 141 144 144 144 159 159 168 171 171 178 58 58 58 74 74 74 74 74 182 187 190 28 ServerSelection method ( 134, 148, 149) 180 ServiceID method ( 134, 154, 155, 164, 179) 172 165 174 165 48 19 91 SupportUrl method ( 92, 135) T Timer events client ( 34, 37, 43, 46, 50, 53, 57, 64, 71, 109, 116, 119, 121, 124, 127, 137, 140, 142, 158, 167, 170, 177, 181, 186, 189, 191) 37 37 34 43 46 50 53 57 71 109 109 109 109 109 119 119 121 124 127 137 137 140 142 158 158 158 167 170