--- mstools/mfc/include/afxwin.h 2018/08/09 18:21:01 1.1.1.1 +++ mstools/mfc/include/afxwin.h 2018/08/09 18:22:45 1.1.1.2 @@ -153,7 +153,11 @@ extern "C" { #define EXPORT __export #endif #ifdef _WINDLL -#define AFX_EXPORT __loadds +#ifndef _NTWIN +#define AFX_EXPORT __loadds +#else +#define AFX_EXPORT APIENTRY +#endif #else #define AFX_EXPORT EXPORT #endif @@ -1668,6 +1672,7 @@ public: void SetModify(BOOL bModified = TRUE); void GetRect(LPRECT lpRect) const; DWORD GetSel() const; + void GetSel(int& nStartChar, int& nEndChar) const; HANDLE GetHandle() const; void SetHandle(HANDLE hBuffer);