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.

43 lines
902 B

  1. //... Prototypes of functions in resread.c that are used in other modules
  2. #ifndef _RESREAD_H_
  3. #define _RESREAD_H_
  4. int MyStrLen( TCHAR *psz);
  5. #ifdef _DEBUG
  6. PBYTE MyAlloc( DWORD size, LPSTR pszFile, WORD wLine);
  7. PBYTE MyReAlloc( BYTE *p, DWORD n, LPSTR pszFile, WORD wLine);
  8. #else
  9. PBYTE MyAlloc( DWORD n);
  10. PBYTE MyReAlloc( BYTE *p, DWORD n);
  11. #endif
  12. void MyFree( void *UNALIGNED*p);
  13. int InsDlgToks( CHAR * s1, CHAR * s2, WORD n);
  14. void FreeLangIDList( void);
  15. typedef struct _tagLangList
  16. {
  17. WORD wLang;
  18. struct _tagLangList *pNext;
  19. } LANGLIST, * PLANGLIST;
  20. #ifdef _DEBUG
  21. typedef struct _tagMemList
  22. {
  23. char szMemFile[ _MAX_PATH];
  24. WORD wMemLine;
  25. PBYTE pMem;
  26. struct _tagMemList *pNext;
  27. } MEMLIST, * PMEMLIST;
  28. void FreeMemList( FILE *pfFile);
  29. void FreeMemListItem( void *p, FILE *pfFile);
  30. #endif // _DEBUG
  31. #endif // _RESREAD_H_