Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DrtUnregisterKey function

The DrtUnregisterKey function deregisters a key from the DRT.

Syntax


VOID WINAPI DrtUnregisterKey(
  _In_ HKEYREGISTRATION hKeyRegistration
);

Parameters

hKeyRegistration [in]

The DRT handle returned by the DrtRegisterKey function specifying a registered key within the DRT.

Return value

This function does not return a value.

Remarks

A node can deregister a key anytime after registration. Additionally, if an application calls DrtClose, all keys are deregistered by the DRT infrastructure.

Only the application that registered they key may deregister it. An application can deregister a key from the local node. Upon completion the function triggers a DRT_EVENT_LEAFSET_KEY_CHANGE event; informing the application and other nodes participating in the DRT mesh of the deregistration.

Requirements

Minimum supported client

Windows 7 Professional [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Drt.h

Library

Drt.lib

DLL

Drt.dll

See also

DrtOpen
DrtClose
DrtRegisterKey

 

 

Community Additions

ADD
Show:
© 2015 Microsoft