Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

CeFindFirstRegChange (coredll)
 

coredll is for smart devices, not desktop Windows. Therefore, this information only applies to code using the .NET Compact Framework. To see if information for CeFindFirstRegChange in other DLLs exists, click on Find References to the right.

.
Summary
This function creates a change notification handle and sets up initial change notification filter conditions. A wait on a notification handle succeeds when a change matching the filter conditions occurs in the specified registry key or subkeys.
Summary
TODO - a short description

C# Signature:

[DllImport("coredll.dll", SetLastError=true)]
static extern TODO CeFindFirstRegChange(TODO);

VB Signature:

<DllImport("coredll.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _
Private Shared Function CeFindFirstRegChange(ByVal hKey As IntPtr, <MarshalAs(UnmanagedType.Bool)> ByVal bWatchSubtree As Boolean, ByVal dwNotifyFilter As RegNotifyFilter) As IntPtr
End Function

User-Defined Types:

<Flags()> Public Enum RegNotifyFilter
REG_NOTIFY_CHANGE_NAME = 1      '   Notify the caller if a subkey is added or deleted.
REG_NOTIFY_CHANGE_LAST_SET = 4      '   Notify the caller of changes to a value of the key. This can include adding or deleting a value or changing an existing value.
End Enum

<Flags()> _

Public Enum RegNotifyFilter As Integer

REG_NOTIFY_CHANGE_NAME = 1 ' Notify the caller if a subkey is added or deleted.

REG_NOTIFY_CHANGE_LAST_SET = 4 ' Notify the caller of changes to a value of the key. This can include adding or deleting a value or changing an existing value.

End Enum

Alternative Managed API:

Do you know one? Please contribute it!

<DllImport("coredll.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _

Private Shared Function CeFindFirstRegChange(ByVal hKey As IntPtr, <MarshalAs(UnmanagedType.Bool)> ByVal bWatchSubtree As Boolean, ByVal dwNotifyFilter As RegNotifyFilter) As IntPtr

End Function

User-Defined Types:

Notes:

None.

Tips & Tricks:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Sample Code:

Please add some!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions