[Windows Phone 7 Development and Hacking] Martin7Pro:
TRACE Output example. MFC integrated to ATL for WP7, registry export to file.

This is output from registry exporting wiht MFC using. Without tracing it woud be very difficult to tune to a flawless running:

'UI Task' (Managed): Loaded 'C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\mscorlib.dll'

'UI Task' (Managed): Loaded 'System.Windows.RuntimeHost.dll'

'UI Task' (Managed): Loaded 'System.dll'

'UI Task' (Managed): Loaded 'System.Windows.dll'

'UI Task' (Managed): Loaded 'System.Net.dll'

'UI Task' (Managed): Loaded 'System.Core.dll'

'UI Task' (Managed): Loaded 'System.Xml.dll'

'UI Task' (Managed): Loaded '\Applications\Install\8F4EF9C1-BE29-4252-BE77-EAD8CE2E9D4E\Install\Phonmander.dll', Symbols loaded.

'UI Task' (Managed): Loaded 'Microsoft.Phone.dll'

'UI Task' (Managed): Loaded 'Microsoft.Phone.Interop.dll'

'UI Task' (Managed): Loaded '\Applications\Install\8F4EF9C1-BE29-4252-BE77-EAD8CE2E9D4E\Install\NativeDebug2010.dll', Symbols loaded.

'UI Task' (Managed): Loaded 'Microsoft.Phone.InteropServices.dll'

'UI Task' (Managed): Loaded '\Applications\Install\8F4EF9C1-BE29-4252-BE77-EAD8CE2E9D4E\Install\wxNativeCOM.dll', Symbols loaded.

'UI Task' (Managed): Loaded '\Applications\Install\8F4EF9C1-BE29-4252-BE77-EAD8CE2E9D4E\Install\wlCoreWp7.dll'

Managed ==> Native

RegGetStringSimple dwKey = 80000002, szSubKey = Pokus2012, szValueName = ValStr, lpszValue = 35EF09C

RegGetDwordSimple RegQueryValueEx returns 80070057 Parametr není správný.

RegExportKeySimple(DWORD dwKey = 80000002, LPCWSTR szSubKey = HARDWARE\DEVICEMAP, LPCWSTR szFileName = \Pokus2012.txt)

ExportRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP, CFile &out = 45FFFC48)

ExportRegKey BOM

ExportRegKey Editor Version

DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP, CFile &out = 45FFFC48)

RegEnumValueW returns 103 No more data is available.

DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\TOUCH, CFile &out = 45FFFC48)

RegEnumValueW returns 0 The operation completed successfully. DriverName

RegEnumValueW returns 103 No more data is available.

DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\TOUCH\BUTTONS, CFile &out = 45FFFC48)

RegEnumValueW returns 0 The operation completed successfully. Count

RegEnumValueW returns 0 The operation completed successfully. Area

RegEnumValueW returns 103 No more data is available.

DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\TOUCH\BUTTONS\3, CFile &out = 45FFFC48)

RegEnumValueW returns 0 The operation completed successfully. VKey

RegEnumValueW returns 0 The operation completed successfully. VKeyPuvodni

RegEnumValueW returns 0 The operation completed successfully. Area

RegEnumValueW returns 0 The operation completed successfully. Name

RegEnumValueW returns 103 No more data is available.

DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\TOUCH\BUTTONS\2, CFile &out = 45FFFC48)

RegEnumValueW returns 0 The operation completed successfully. VKey

RegEnumValueW returns 0 The operation completed successfully. Name

RegEnumValueW returns 0 The operation completed successfully. Area

RegEnumValueW returns 103 No more data is available.

DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\TOUCH\BUTTONS\1, CFile &out = 45FFFC48)

RegEnumValueW returns 0 The operation completed successfully. VKey

RegEnumValueW returns 0 The operation completed successfully. Name

RegEnumValueW returns 0 The operation completed successfully. Area

RegEnumValueW returns 103 No more data is available.

DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\KEYBD, CFile &out = 45FFFC48)

RegEnumValueW returns 0 The operation completed successfully. Status

RegEnumValueW returns 0 The operation completed successfully. CurLang

RegEnumValueW returns 0 The operation completed successfully. RingerState

RegEnumValueW returns 103 No more data is available.

RegExportKeySimple ExportRegKey lRes = 1)

...