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.

36 lines
698 B

  1. __foldwin32sstuff __foldwin32sstuff;
  2. //foldstyleinitialization = true;
  3. enablemapdirect3216 = true;
  4. flatthunks = true;
  5. #include "..\types.thk"
  6. //
  7. // thunks for COMCTL32.DLL (32) -> COMMCTRL.DLL (16)
  8. //
  9. // 1st function is the 16 bit name
  10. // 2nd is the 32 bit name
  11. //
  12. typedef HANDLE32 HPROPSHEETPAGE16;
  13. BOOL DestroyPropertySheetPage16(HPROPSHEETPAGE16 hpage)
  14. {
  15. target = DestroyPropertySheetPage;
  16. }
  17. HWND CreatePage16(HPROPSHEETPAGE16 hpage, HWND hwndParent)
  18. {
  19. target = CreatePage;
  20. }
  21. typedef UINT *PHICON;
  22. BOOL GetPageInfo16(HPROPSHEETPAGE16 hpage, LPSTR pszCaption, int cbCaption, LPPOINT ppt, PHICON phIcon)
  23. {
  24. target = GetPageInfo;
  25. ppt = output;
  26. phIcon = output;
  27. pszCaption = output;
  28. }