Source code of Windows XP (NT5)
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.

108 lines
1.7 KiB

  1. __foldwin32sstuff __foldwin32sstuff;
  2. //foldstyleinitialization = true;
  3. enablemapdirect3216 = true;
  4. flatthunks = true;
  5. #include "types.thk"
  6. //
  7. // thunks for 32 -> 16 calls
  8. //
  9. // these calls are implemented in shell.dll (16) and are
  10. // exported or called from shell32.dll (32)
  11. //
  12. // 1st function is the 16 bit name
  13. // 2nd is the 32 bit name
  14. //
  15. DWORD CallCPLEntry16(UINT hinst, DWORD lpfnEntry, HWND hwndCPL, UINT msg, DWORD lParam1, DWORD lParam2)
  16. {
  17. body = special;
  18. }
  19. //
  20. // The next 2 thunks are used by Copy.c
  21. //
  22. // This actually returns an HMODULE
  23. UINT GetModuleHandle16(LPSTR szName)
  24. {
  25. }
  26. INT GetModuleFileName16(UINT hinst, LPSTR szFileName, INT cbMax)
  27. {
  28. }
  29. BOOL RegisterShellHook(HWND hwnd, BOOL fInstall)
  30. {
  31. }
  32. BOOL CheckResourcesBeforeExec()
  33. {
  34. }
  35. typedef LPSTR LPPAGEARRAY;
  36. VOID CallAddPropSheetPages16(DWORD lpfn16, LPVOID hdrop, LPPAGEARRAY papg)
  37. {
  38. }
  39. typedef HANDLE HDRVR;
  40. HDRVR ShellGetNextDriverName(HDRVR hdrv, LPSTR pszName, int cbName)
  41. {
  42. }
  43. BOOL SHRestartWindows(DWORD dwReturn)
  44. {
  45. }
  46. VOID SHGetAboutInformation(LPWORD puSysResource, LPDWORD plMem)
  47. {
  48. }
  49. DWORD SHFormatDrive(HWND hwnd, UINT drive, UINT fmtID, UINT options)
  50. {
  51. }
  52. //
  53. // PIFMGR thunks
  54. //
  55. int PifMgr_OpenProperties(LPSTR lpszApp, LPSTR lpszPIF, int hInf, int flOpt)
  56. {
  57. }
  58. int PifMgr_GetProperties(int hProps, LPSTR lpszGroup, LPVOID lpProps, int cbProps, int flOpt)
  59. {
  60. }
  61. int PifMgr_SetProperties(int hProps, LPSTR lpszGroup, LPVOID lpProps, int cbProps, int flOpt)
  62. {
  63. }
  64. int PifMgr_CloseProperties(int hProps, int flOpt)
  65. {
  66. }
  67. //
  68. // Special DDE thunk just for WinFax Pro.
  69. //
  70. void SHGlobalDefect(DWORD dwHnd32)
  71. {
  72. }
  73. //
  74. // Thunk for RunDll32
  75. //
  76. typedef hinstance HINSTANCE;
  77. void RunDll_CallEntry16(DWORD pfn, HWND hwndStub, HINSTANCE hinst, LPSTR pszParam, int nCmdShow)
  78. {
  79. }