Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
934 B

  1. // apgtsmfc.h
  2. // Global Afx MFC functions.
  3. // + WinSocks function of convenience
  4. // Use the real MFC functions if you can - We can not. Oleg 09.01.98
  5. #include "apgtsstr.h"
  6. #include "apgtsECB.h"
  7. #include "time.h"
  8. int AfxLoadString(UINT nID, LPTSTR lpszBuf, UINT nMaxBuf);
  9. HINSTANCE AfxGetResourceHandle();
  10. #if 0
  11. // We've removed these because we are not using string resources. If we revive
  12. // string resources, we must revive these functions.
  13. void AfxFormatString1(CString& rString, UINT nIDS, LPCTSTR lpsz1);
  14. void AfxFormatString2(CString& rString, UINT nIDS, LPCTSTR lpsz1, LPCTSTR lpsz2);
  15. #endif
  16. namespace APGTS_nmspace
  17. {
  18. // functions of convenience - have nothing to do with MFC.
  19. bool GetServerVariable(CAbstractECB *pECB, LPCSTR var_name, CString& out);
  20. // Utility functions to URL encode and decode cookies.
  21. void CookieEncodeURL( CString& strURL );
  22. void CookieDecodeURL( CString& strURL );
  23. }