- Timestamp:
- Sep 9, 1999, 10:48:40 PM (26 years ago)
- Location:
- trunk/src/shell32/new
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/new/shell.cpp
r891 r898 32 32 //#include "syslevel.h" 33 33 #include "imagelist.h" 34 #include "shell32_main.h" 34 35 35 36 #include <heapstring.h> … … 182 183 GlobalUnlock(hDrop); 183 184 return i; 185 } 186 187 188 /***************************************************************************** 189 * Name : UINT DragQueryFileAorW 190 * Purpose : 191 * Parameters: HDROP hDrop - drop structure handle 192 * UINT iFile - index of file to query 193 * LPTSTR lpszFile - target buffer 194 * UINT cch - target buffer size 195 * Variables : 196 * Result : 197 * Remark : 198 * Status : UNTESTED STUB 199 * 200 * Author : Patrick Haller [Tue, 1999/06/09 20:00] 201 *****************************************************************************/ 202 203 UINT WIN32API DragQueryFileAorW(HDROP hDrop, 204 UINT iFile, 205 LPTSTR lpszFile, 206 UINT cch) 207 { 208 dprintf(("SHELL32: DragQueryFileAorW(%08xh,%08xh,%s,%08xh).\n", 209 hDrop, 210 iFile, 211 lpszFile, 212 cch)); 213 214 // @@@PH maybe they want automatic determination here 215 if (VERSION_OsIsUnicode()) 216 return DragQueryFileW(hDrop, iFile, (LPWSTR)lpszFile, cch); 217 else 218 return DragQueryFileA(hDrop, iFile, lpszFile, cch); 184 219 } 185 220 -
trunk/src/shell32/new/shell32.def
r897 r898 1 ; $Id: shell32.def,v 1. 4 1999-09-09 20:17:45phaller Exp $1 ; $Id: shell32.def,v 1.5 1999-09-09 20:48:40 phaller Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 78 78 ; SHCreateDefClassObject = _SHCreateDefClassObject@? @70 79 79 Shell_GetImageList = _Shell_GetImageList@8 @71 80 Shell_GetCachedImageIndex = _Shell_GetCachedImageIndex@12 @72 80 Shell_GetCachedImageIndex = _Shell_GetCachedImageIndexAW@12 @72 81 Shell_GetCachedImageIndexW = _Shell_GetCachedImageIndexW@12 82 Shell_GetCachedImageIndexA = _Shell_GetCachedImageIndexA@12 81 83 SHShellFolderView_Message = _SHShellFolderView_Message@12 @73 82 84 ; SHCreateStdEnumFmtEtc = _SHCreateStdEnumFmtEtc@? @74 -
trunk/src/shell32/new/shell32_main.cpp
r897 r898 396 396 #define DROP_FIELD_TOP (-15) 397 397 #define DROP_FIELD_HEIGHT 15 398 399 extern HICON hIconTitleFont;400 398 401 399 static BOOL __get_dropline( HWND hWnd, LPRECT lprect ) … … 467 465 * ShellExecuteA [SHELL32.245] 468 466 */ 467 469 468 HINSTANCE WINAPI ShellExecuteA( HWND hWnd, LPCSTR lpOperation, 470 469 LPCSTR lpFile, LPCSTR lpParameters, 471 470 LPCSTR lpDirectory, INT iShowCmd ) 472 { TRACE_(shell)("\n"); 473 return ShellExecute16( hWnd, lpOperation, lpFile, lpParameters, 474 lpDirectory, iShowCmd ); 475 } 471 { HINSTANCE retval=31; 472 char old_dir[1024]; 473 char cmd[256]; 474 475 TRACE_(shell)("(%04x,'%s','%s','%s','%s',%x)\n", 476 hWnd, lpOperation ? lpOperation:"<null>", lpFile ? lpFile:"<null>", 477 lpParameters ? lpParameters : "<null>", 478 lpDirectory ? lpDirectory : "<null>", iShowCmd); 479 480 if (lpFile==NULL) return 0; /* should not happen */ 481 if (lpOperation==NULL) /* default is open */ 482 lpOperation="open"; 483 484 if (lpDirectory) 485 { GetCurrentDirectoryA( sizeof(old_dir), old_dir ); 486 SetCurrentDirectoryA( lpDirectory ); 487 } 488 489 retval = SHELL_FindExecutable( lpFile, lpOperation, cmd ); 490 491 if (retval > 32) /* Found */ 492 { 493 if (lpParameters) 494 { 495 strcat(cmd," "); 496 strcat(cmd,lpParameters); 497 } 498 499 TRACE_(shell)("starting %s\n",cmd); 500 retval = WinExec( cmd, iShowCmd ); 501 } 502 if (lpDirectory) 503 SetCurrentDirectoryA( old_dir ); 504 return retval; 505 } 506 476 507 477 508 /************************************************************************* … … 518 549 hWndCtl = GetDlgItem(hWnd, IDC_LISTBOX); 519 550 SendMessageA( hWndCtl, WM_SETREDRAW, 0, 0 ); 520 SendMessageA( hWndCtl, WM_SETFONT, hIconTitleFont, 0 );521 551 while (*pstr) 522 552 { SendMessageA( hWndCtl, LB_ADDSTRING, (WPARAM)-1, (LPARAM)*pstr ); … … 685 715 686 716 /************************************************************************* 717 * Shell_NotifyIcon [SHELL32.297] 718 * FIXME 719 * This function is supposed to deal with the systray. 720 * Any ideas on how this is to be implimented? 721 */ 722 BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA pnid ) 723 { TRACE_(shell)("\n"); 724 return FALSE; 725 } 726 727 /************************************************************************* 728 * Shell_NotifyIcon [SHELL32.?] 729 * FIXME 730 * This function is supposed to deal with the systray. 731 * Any ideas on how this is to be implimented? 732 */ 733 BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW pnid ) 734 { TRACE_(shell)("\n"); 735 return FALSE; 736 } 737 738 739 /************************************************************************* 687 740 * Shell_NotifyIcon [SHELL32.296] 688 741 * FIXME … … 692 745 BOOL WINAPI Shell_NotifyIcon( DWORD dwMessage, PNOTIFYICONDATAA pnid ) 693 746 { TRACE_(shell)("\n"); 694 return FALSE; 695 } 696 697 /************************************************************************* 698 * Shell_NotifyIcon [SHELL32.297] 699 * FIXME 700 * This function is supposed to deal with the systray. 701 * Any ideas on how this is to be implimented? 702 */ 703 BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA pnid ) 704 { TRACE_(shell)("\n"); 705 return FALSE; 747 if (VERSION_OsIsUnicode()) 748 return(Shell_NotifyIconW(dwMessage,(PNOTIFYICONDATAW)pnid)); 749 else 750 return(Shell_NotifyIconA(dwMessage,pnid)); 706 751 } 707 752 -
trunk/src/shell32/new/shellguid.cpp
r860 r898 25 25 #include <wine/obj_extracticon.h> 26 26 #include <wine/obj_shellextinit.h> 27 //#include <docobj.h>27 #include <docobj.h> 28 28 29 29 /* -
trunk/src/shell32/new/shellord.cpp
r797 r898 864 864 } 865 865 /************************************************************************* 866 * SHRegQueryValueA [NT4.0:SHELL32.?] 867 * 868 */ 869 HRESULT WINAPI SHRegQueryValueA (HKEY hkey, LPSTR lpszSubKey, 870 LPSTR lpszData, LPDWORD lpcbData ) 871 { WARN("0x%04x %s %p %p semi-stub\n", 872 hkey, lpszSubKey, lpszData, lpcbData); 873 return RegQueryValueA( hkey, lpszSubKey, lpszData, (LPLONG)lpcbData ); 874 } 875 876 /************************************************************************* 866 877 * SHRegQueryValueExA [SHELL32.509] 867 878 * -
trunk/src/shell32/new/shlview.cpp
r897 r898 39 39 40 40 DEFAULT_DEBUG_CHANNEL(shell) 41 41 42 42 43 typedef struct
Note:
See TracChangeset
for help on using the changeset viewer.