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.

25 lines
771 B

  1. //
  2. // This file contains definintions of WINUTIL helper functions that are
  3. // exported from SHELL32.DLL. These functions are used only by WUTILS32
  4. // to deal with 16-bit CPL files. Note that SHELL32.DLL just provide
  5. // thunk layer for those functions whose bodies reside in SHELL.DLL.
  6. //
  7. // History:
  8. // 09-20-93 SatoNa Created
  9. //
  10. // This file is solely for Win9x 16-bit support
  11. //
  12. #ifndef WINNT
  13. #define ISVALIDHINST16(hinst16) ((UINT_PTR)hinst16 >= (UINT_PTR)32)
  14. //
  15. // protos for thunks. half is in shell32.dll, half in shell.dll
  16. //
  17. // Notes: CALLCPLEntry16 is defined in shsemip.h
  18. //
  19. DWORD WINAPI GetModuleFileName16(HINSTANCE hinst, LPTSTR szFileName, DWORD cbMax);
  20. HMODULE WINAPI GetModuleHandle16(LPCTSTR szName);
  21. #endif // WINNT