- Reimplementation of the CommDlg ExtendedError mechanism using TLS.
- Some header inclusion cleanup.

diff --git a/include/commdlg.h b/include/commdlg.h
index 4d1b162..eeac606 100644
--- a/include/commdlg.h
+++ b/include/commdlg.h
@@ -645,6 +645,9 @@
 LRESULT WINAPI FormatCharDlgProcA(HWND,UINT,WPARAM,LPARAM);
 LRESULT WINAPI FormatCharDlgProcW(HWND,UINT,WPARAM,LPARAM);
 #define FormatCharDlgProc WINELIB_NAME_AW(FormatCharDlgProc)
+
+void COMDLG32_SetCommDlgExtendedError(DWORD err); 
+
 #ifdef __cplusplus
 }
 #endif