Changeset 21916 for trunk/src/shell32/shellord.c
- Timestamp:
 - Dec 18, 2011, 10:28:22 PM (14 years ago)
 - Location:
 - trunk
 - Files:
 - 
      
- 2 edited
 
- 
          
  . (modified) (2 props)
 - 
          
  src/shell32/shellord.c (modified) (4 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk
- Property svn:ignore
- 
      
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk  
 - 
      
 - 
Property       svn:mergeinfo
 set to       
/branches/gcc-kmk merged eligible  
 - Property svn:ignore
 - 
      
trunk/src/shell32/shellord.c
r10308 r21916 294 294 295 295 FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_STRING, 296 pszText, 0, 0, (LPWSTR)&pszTemp, 0, &args);296 pszText, 0, 0, (LPWSTR)&pszTemp, 0, (LPDWORD)&args); 297 297 298 298 va_end(args); … … 336 336 337 337 FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_STRING, 338 pszText, 0, 0, (LPSTR)&pszTemp, 0, &args);338 pszText, 0, 0, (LPSTR)&pszTemp, 0, (LPDWORD)&args); 339 339 340 340 va_end(args); … … 602 602 DWORD WINAPI SHAddToRecentDocs (UINT uFlags,LPCVOID pv) 603 603 { 604 605 /* FIXME: !!! move CREATEMRULIST and flags to header file !!! */ 606 /* !!! it is in both here and comctl32undoc.c !!! */ 607 typedef struct tagCREATEMRULIST 608 { 609 DWORD cbSize; /* size of struct */ 610 DWORD nMaxItems; /* max no. of items in list */ 611 DWORD dwFlags; /* see below */ 612 HKEY hKey; /* root reg. key under which list is saved */ 613 LPCSTR lpszSubKey; /* reg. subkey */ 614 PROC lpfnCompare; /* item compare proc */ 615 } CREATEMRULIST, *LPCREATEMRULIST; 616 617 /* dwFlags */ 618 #define MRUF_STRING_LIST 0 /* list will contain strings */ 619 #define MRUF_BINARY_LIST 1 /* list will contain binary data */ 620 #define MRUF_DELAYED_SAVE 2 /* only save list order to reg. is FreeMRUList */ 621 622 /* If list is a string list lpfnCompare has the following prototype 623 * int CALLBACK MRUCompareString(LPCSTR s1, LPCSTR s2) 624 * for binary lists the prototype is 625 * int CALLBACK MRUCompareBinary(LPCVOID data1, LPCVOID data2, DWORD cbData) 626 * where cbData is the no. of bytes to compare. 627 * Need to check what return value means identical - 0? 628 */ 629 604 /* If list is a string list lpfnCompare has the following prototype 605 * int CALLBACK MRUCompareString(LPCSTR s1, LPCSTR s2) 606 * for binary lists the prototype is 607 * int CALLBACK MRUCompareBinary(LPCVOID data1, LPCVOID data2, DWORD cbData) 608 * where cbData is the no. of bytes to compare. 609 * Need to check what return value means identical - 0? 610 */ 630 611 631 612 UINT olderrormode; … … 906 887 else 907 888 if (uFlags == SHARD_PATHW) 908 hres = IShellLinkW_SetPath( psl, (LPCWSTR) pv);889 hres = IShellLinkW_SetPath(((IShellLinkW *)psl), (LPCWSTR) pv); 909 890 else 910 hres = IShellLinkA_SetPath(psl, (LPC WSTR) pv);891 hres = IShellLinkA_SetPath(psl, (LPCSTR) pv); 911 892 #else 912 893  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  