HRESULT AddService2( [in] BSTR serviceID, [in] LONG flags, [in] BSTR authorizationCabPath, [out, retval] IUpdateServiceRegistration** retval ); serviceID: A string identifying the service. flags: A bitmask created with values from the enumeration specifying options. authorizationCabPath: The filesystem path of the authorization cabinet file containing information required for a service registration. If this is NULL or the empty string, the server SHOULD search for the authorization cabinet file online when a network connection is available. retval: An IUpdateServiceRegistration instance. 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 thrown by the underlying RPC protocol . This method SHOULD trigger the update agent to add this update service through an interface. This method SHOULD add the given service to the Services ADM element maintained by the interface and return an IUpdateServiceRegistration instance that represents the service registration. Timer Events None. Other Local Events None. IUpdateServiceManager and IUpdateServiceManager2 Client Details Abstract Data Model None. Timers None. Initialization None.
_ _NewEnum method ( 45, 67, 112, 120, 126, 139, 169, 188) A Abstract data model 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 Add method ( 68, 113) 193 193 173 176 29 48 18 AutoDownload method ( 99, 109) 26 AutoSelection method ( 99, 108) 26 78 B BrowseOnly method ( 97, 106) 78 C CanAutomaticallyUpgradeService method ( 146, 146) 164
51 79 18 Categories method ( 79, 136) 39 235 40 Clear 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, 110, 116, 119, 122, 125, 128, 137, 140, 143, 158, 167, 170, 177, 181, 186, 189, 192) 37 37 34 43 46 50 53 57 71 110 110 110 110 110 119 119 122 125 128 137 137 140 143 158 158 158 167 170 177
158 167 170 177 181 64 64 64 110 110 110 110 110 189 192 timers ( 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 ClientApplicationID method ( 59, 59, 133, 147, 147, 175, 175) 19 19 19 19 19 19 19 19 19 19 24 161 124 69 Count method ( 45, 67, 113, 121, 127, 139, 169, 188) 60 62 CveIDs method ( 97, 105) D Data - 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 ( 104, 185) 95 25 95 117 DriverClass method ( 100, 183) DriverHardwareID method ( 101, 183) DriverManufacturer method ( 101, 183) DriverModel method ( 102, 184) DriverProvider method ( 102, 184) DriverVerDate method ( 103, 185) E 149 81 82 Events client 37 37 34 43 46 50 53 57 71 110 110 110 110 110 119 119 122 125 128 137 137 140 143 158 158 158 167 170 177 181 64 64 64 110 110 110 110 110 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 158 158 158 166 166 170 177 177 180 63 63 63 109 109 109 109 109 186 189 191 local - client ( 34, 37, 43, 46, 50, 53, 57, 64, 71, 110, 116, 119, 122, 125, 128, 137, 140, 143, 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, 158, 166, 170, 177, 180, 186, 189, 191) timer client 37 37 34 43 46 50 53 57 71 110 110 110 110 110 119 119 122 125 128 137 137 140 143 158 158 158 167 170 177 181 64 64 64 110 110 110 110 110 189 192 server 36 36 33 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 169 177 177 180 63 63 63 109 109 109 109 109 186 189 191 - client ( 34, 37, 43, 46, 50, 53, 57, 64, 71, 110, 116, 119, 122, 125, 128, 137, 140, 143, 158, 167, 170, 177, 181, 186, 189, 192)
timer - server ( 33, 36, 43, 46, 49, 53, 56, 63, 70, 109, 115, 118, 121, 124, 127, 137, 140, 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 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
71 181 187 190 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 187 190 16 84 166 118 84 54 54 55 55 56 56 85 85 162 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 95 81 82 82 83 83 84 84 84 85 85 86 86 94 87 87 87 88 88 89 89 90 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 113 114 111
112 113 115 116 116 117 116 118 119 119 120 121 120 122 122 124 123 123 125 125 126 127 126 128 128 133 131 132 131 130 130 134 134 135 132 135 135 133 132 128 136 137 137 139 139 138 140 140 141 142 143 143 146 146 147 147 149 154 147 148 153 153 150 150 148 149 154 155 143 155 156 143 157 157 158 158 164 161 161 162 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 104 100 101 101
109 109 109 186 189 191 M 87 123 Message processing 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 116 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 ( 32, 35, 36, 38, 44, 47, 51, 54, 58, 60, 62, 65, 75, 95, 97, 98, 99, 100, 104, 106, 107, 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 99 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 107 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 95 81 82 82 83 83 84 84 84 85 85 86 86 94 87 87 87 88 88 89 89 90 90 90 91 91 92 78 92 93 92 93 97 96 96 97 98 99 99 112 113 114 113 114 111 112 113 115 117 118 120 121 120 124 123 123 126 127 126 133 131 132 131 130 130 134 134 135 132 135 135 133 132 136 139 139 138 141 142 146 146 147 147 149 154 147 148 153 153 150 150 148 149 154 155 155 156 157 157 164 161
161 162 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 104 100 101 101 102 102 103 105 105 105 106 107 107 109 108 185 185 183 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, 150) 176 R ReadOnly method ( 59, 67, 113) 52 RebootRequired method ( 96, 105) 89 90 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, 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 116 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 ( 32, 35, 36, 38, 44, 47, 51, 54, 58, 60, 62, 65, 75, 95, 97, 98, 99, 100, 104, 106, 107, 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 99 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 107 108 182 187 190 Server abstract data ( 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, 117, 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 117 117 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 95 81 82 82 83 83 84 84 84 85 85 86 86 94 87 87 87 88 88 89 89 90 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 113 114 111 112 113 115 116 116 117 116 118 119 119 120 121 120 122 122 124 123 123 125 125 126 127 126 128 128 133 131 132 131 130 130 134 134 135 132 135 135 133 132 128 136 137 137 139 139 138 140 140 141 142 143 143 146 146 147 147 149 154 147 148 153 153 150 150 148 149 154 155 143 155 156 143 157
157 158 158 164 161 161 162 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 104 100 101 101 102 102 103 71 105 105 105 71 106 71 107 107 71 109 108 181 181 185 185 183 183 183 184 184 185 187 187 188 188 187 190 190 190 local events ( 34, 37, 43, 46, 49, 53, 56, 63, 70, 109, 115, 118, 121, 124, 127, 137, 140, 142, 158, 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 158 158 158 166 166 170 177 177 180 63 63 63 109
118 118 121 124 127 137 137 140 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) Timer events client ( 34, 37, 43, 46, 50, 53, 57, 64, 71, 110, 116, 119, 122, 125, 128, 137, 140, 143, 158, 167, 170, 177, 181, 186, 189, 192) 37 37 34 43 46 50 53 57 71 110 110 110 110 110 119 119 122 125 128 137 137 140 143 158 158 158 167 170 177 181 64 64 64 110