DrtUpdateKey function
The DrtUpdateKey function updates the application data associated with a registered key.
Syntax
HRESULT WINAPI DrtUpdateKey( _In_ HKEYREGISTRATION hKeyRegistration, _In_ DRT_DATA *pAppData );
Parameters
- hKeyRegistration [in]
-
The DRT handle returned by the DrtRegisterKey function specifying a registered key within the DRT instance.
- pAppData [in]
-
The new application data to associate with the key.
Return value
This function returns S_OK on success. Other possible values include:
| Return code | Description |
|---|---|
|
|
|
hKeyRegistration is an invalid handle. |
|
The system is out of memory. |
Requirements
|
Minimum supported client | Windows 7 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Build date: 10/26/2012