- Timestamp:
- Sep 9, 1999, 5:44:24 PM (26 years ago)
- Location:
- trunk/src/shell32/new
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/new/shell32.def
r892 r894 1 ; $Id: shell32.def,v 1. 2 1999-09-09 11:33:18phaller Exp $1 ; $Id: shell32.def,v 1.3 1999-09-09 15:44:23 phaller Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 36 36 ; SHILCreateFromPath = _SHILCreateFromPath@12 @28 37 37 PathIsRoot = _PathIsRootAW@4 @29 38 PathBuildRoot = _PathBuildRoot AW@8@3038 PathBuildRoot = _PathBuildRoot@8 @30 39 39 PathFindExtension = _PathFindExtensionAW@4 @31 40 40 PathAddBackslash = _PathAddBackslashAW@4 @32 … … 51 51 PathIsExe = _PathIsExeAW@4 @43 52 52 DoEnvironmentSubstA = _DoEnvironmentSubstA@8 @44 53 PathFileExists = _PathFileExists AW@4@4553 PathFileExists = _PathFileExists@4 @45 54 54 PathMatchSpec = _PathMatchSpecAW@8 @46 55 55 ; PathMakeUniqueName = _PathMakeUniqueNameAW@20 @47 … … 125 125 ; FileMenu_DeleteItemByCmd = _FileMenu_DeleteItemByCmd@8 @117 126 126 ; FileMenu_Destroy = _FileMenu_Destroy@4 @118 127 IsLFNDrive = _IsLFNDrive @4@119127 IsLFNDrive = _IsLFNDriveA@4 @119 128 128 ; FileMenu_AbortInitMenu = _FileMenu_AbortInitMenu@0 @120 129 129 SHFlushClipboard = _SHFlushClipboard@0 @121 -
trunk/src/shell32/new/shell32_main.cpp
r857 r894 302 302 } 303 303 304 304 305 /************************************************************************* 305 306 * ExtractIconA [SHELL32.133] … … 307 308 HICON WINAPI ExtractIconA( HINSTANCE hInstance, LPCSTR lpszExeFileName, 308 309 UINT nIconIndex ) 309 { HGLOBAL16 handle = InternalExtractIcon16(hInstance,lpszExeFileName,nIconIndex, 1); 310 { 311 #if 0 312 //@@@PH 313 HGLOBAL handle = InternalExtractIconA(hInstance,lpszExeFileName,nIconIndex, 1); 310 314 TRACE_(shell)("\n"); 311 315 if( handle ) 312 316 { 313 HICON 16* ptr = (HICON16*)GlobalLock16(handle);314 HICON 16hIcon = *ptr;315 316 GlobalFree 16(handle);317 HICON* ptr = (HICON*)GlobalLock(handle); 318 HICON hIcon = *ptr; 319 320 GlobalFree(handle); 317 321 return hIcon; 318 322 } 323 #endif 319 324 return 0; 320 325 } … … 539 544 case WM_LBTRACKPOINT: 540 545 hWndCtl = GetDlgItem(hWnd, IDC_LISTBOX); 541 if( (INT 16)GetKeyState16( VK_CONTROL ) < 0 )546 if( (INT)GetKeyState( VK_CONTROL ) < 0 ) 542 547 { if( DragDetect( hWndCtl, *((LPPOINT)&lParam) ) ) 543 548 { INT idx = SendMessageA( hWndCtl, LB_GETCURSEL, 0, 0 ); 544 549 if( idx != -1 ) 545 550 { INT length = SendMessageA( hWndCtl, LB_GETTEXTLEN, (WPARAM)idx, 0 ); 546 HGLOBAL 16 hMemObj = GlobalAlloc16( GMEM_MOVEABLE, length + 1 );547 char* pstr = (char*)GlobalLock 16( hMemObj );551 HGLOBAL hMemObj = GlobalAlloc( GMEM_MOVEABLE, length + 1 ); 552 char* pstr = (char*)GlobalLock( hMemObj ); 548 553 549 554 if( pstr ) 550 { HCURSOR 16 hCursor = LoadCursor16( 0, MAKEINTRESOURCE16(OCR_DRAGOBJECT));555 { HCURSOR hCursor = LoadCursorA( 0, (LPCSTR)OCR_DRAGOBJECT ); 551 556 SendMessageA( hWndCtl, LB_GETTEXT, (WPARAM)idx, (LPARAM)pstr ); 552 557 SendMessageA( hWndCtl, LB_DELETESTRING, (WPARAM)idx, 0 ); 553 558 UpdateWindow( hWndCtl ); 554 if( !DragObject16((HWND16)hWnd, (HWND16)hWnd, DRAGOBJ_DATA, 0, (WORD)hMemObj, hCursor) ) 559 //@@@PH DragObject16 experimentally replaced by DragObject 560 if( !DragObject(hWnd, hWnd, DRAGOBJ_DATA, hMemObj, hCursor) ) 555 561 SendMessageA( hWndCtl, LB_ADDSTRING, (WPARAM)-1, (LPARAM)pstr ); 556 562 } 557 563 if( hMemObj ) 558 GlobalFree 16( hMemObj );564 GlobalFree( hMemObj ); 559 565 } 560 566 } … … 585 591 { LPDRAGINFO lpDragInfo = (LPDRAGINFO)PTR_SEG_TO_LIN((SEGPTR)lParam); 586 592 if( lpDragInfo && lpDragInfo->wFlags == DRAGOBJ_DATA && lpDragInfo->hList ) 587 { char* pstr = (char*)GlobalLock 16( (HGLOBAL16)(lpDragInfo->hList) );593 { char* pstr = (char*)GlobalLock( (HGLOBAL)(lpDragInfo->hList) ); 588 594 if( pstr ) 589 595 { static char __appendix_str[] = " with"; -
trunk/src/shell32/new/shlview.cpp
r815 r894 27 27 #include "wine/obj_dragdrop.h" 28 28 #include "wine/undocshell.h" 29 #include "docobj.h" 29 30 #include "shresdef.h" 30 31 #include "spy.h"
Note:
See TracChangeset
for help on using the changeset viewer.