comparison src/intl-auto-encap-win32.c @ 778:2923009caf47

[xemacs-hg @ 2002-03-16 10:38:59 by ben] cm.c, file-coding.c: fix warnings. .cvsignore: Those pesky *.tmp files. mule\arabic.el, mule\canna-leim.el, mule\china-util.el, mule\chinese.el, mule\cyril-util.el, mule\cyrillic.el, mule\devan-util.el, mule\devanagari.el, mule\english.el, mule\ethio-util.el, mule\ethiopic.el, mule\european.el, mule\greek.el, mule\hebrew.el, mule\indian.el, mule\japan-util.el, mule\japanese.el, mule\korea-util.el, mule\korean.el, mule\lao-util.el, mule\lao.el, mule\misc-lang.el, mule\mule-charset.el, mule\mule-cmds.el, mule\thai-util.el, mule\thai.el, mule\tibet-util.el, mule\tibetan.el, mule\viet-util.el, mule\vietnamese.el, unicode.el: Fix lots of warnings. Sync up some files to FSF 21.1. Copy over all charset definitions from FSF 21.1, convert them to our format, and stick them in the relevant files. Eventually we will actually be able to dump these files (though they may not quite work). autoload.el: Support defun*, defmacro*. mule/mule-composite.el, mule/mule-composite-stub.el: New file, stubs for nonexistent composition funs/vars. mule/viet-chars.el, dumped-lisp.el: Account for these changes. font.el, mouse.el, msw-font-menu.el, printer.el, startup.el: fix warnings.
author ben
date Sat, 16 Mar 2002 10:39:19 +0000
parents 943eaba38521
children 1f5108485fe7
comparison
equal deleted inserted replaced
777:e65d9cf16707 778:2923009caf47
2483 return mciGetDeviceIDA ((LPCSTR) pszDevice); 2483 return mciGetDeviceIDA ((LPCSTR) pszDevice);
2484 } 2484 }
2485 2485
2486 #if !defined (MINGW) 2486 #if !defined (MINGW)
2487 2487
2488 MCIDEVICEID 2488 /* Error if mciGetDeviceIDFromElementID used: missing from Win98se version of ADVAPI32.dll */
2489 qxemciGetDeviceIDFromElementID (DWORD dwElementID, const Extbyte * lpstrType)
2490 {
2491 if (XEUNICODE_P)
2492 return mciGetDeviceIDFromElementIDW (dwElementID, (LPCWSTR) lpstrType);
2493 else
2494 return mciGetDeviceIDFromElementIDA (dwElementID, (LPCSTR) lpstrType);
2495 }
2496 2489
2497 #endif /* !defined (MINGW) */ 2490 #endif /* !defined (MINGW) */
2498 2491
2499 BOOL 2492 BOOL
2500 qxemciGetErrorString (MCIERROR mcierr, Extbyte * pszText, UINT cchText) 2493 qxemciGetErrorString (MCIERROR mcierr, Extbyte * pszText, UINT cchText)
2573 return CreateMailslotA ((LPCSTR) lpName, nMaxMessageSize, lReadTimeout, lpSecurityAttributes); 2566 return CreateMailslotA ((LPCSTR) lpName, nMaxMessageSize, lReadTimeout, lpSecurityAttributes);
2574 } 2567 }
2575 2568
2576 #if !defined (CYGWIN_HEADERS) 2569 #if !defined (CYGWIN_HEADERS)
2577 2570
2578 BOOL 2571 /* Error if EncryptFile used: Win2K+ only */
2579 qxeEncryptFile (const Extbyte * lpFileName)
2580 {
2581 if (XEUNICODE_P)
2582 return EncryptFileW ((LPCWSTR) lpFileName);
2583 else
2584 return EncryptFileA ((LPCSTR) lpFileName);
2585 }
2586 2572
2587 #endif /* !defined (CYGWIN_HEADERS) */ 2573 #endif /* !defined (CYGWIN_HEADERS) */
2588 2574
2589 #if !defined (CYGWIN_HEADERS) 2575 #if !defined (CYGWIN_HEADERS)
2590 2576
2591 BOOL 2577 /* Error if DecryptFile used: Win2K+ only */
2592 qxeDecryptFile (const Extbyte * lpFileName, DWORD dwReserved)
2593 {
2594 if (XEUNICODE_P)
2595 return DecryptFileW ((LPCWSTR) lpFileName, dwReserved);
2596 else
2597 return DecryptFileA ((LPCSTR) lpFileName, dwReserved);
2598 }
2599 2578
2600 #endif /* !defined (CYGWIN_HEADERS) */ 2579 #endif /* !defined (CYGWIN_HEADERS) */
2601 2580
2602 /* Error if OpenRaw used: error "The procedure entry point OpenRawW could not be located in the dynamic link library ADVAPI32.dll." */ 2581 /* Error if OpenRaw used: error "The procedure entry point OpenRawW could not be located in the dynamic link library ADVAPI32.dll." */
2603 2582
3787 return SHGetPathFromIDListW (pidl, (LPWSTR) pszPath); 3766 return SHGetPathFromIDListW (pidl, (LPWSTR) pszPath);
3788 else 3767 else
3789 return SHGetPathFromIDListA (pidl, (LPSTR) pszPath); 3768 return SHGetPathFromIDListA (pidl, (LPSTR) pszPath);
3790 } 3769 }
3791 3770
3792 /* Skipping SHGetSpecialFolderPath because error in Cygwin prototype */ 3771 /* Skipping SHGetSpecialFolderPath because error in Cygwin prototype, missing from Cygwin libraries */
3793 3772
3794 /* Skipping SHBrowseForFolder because need to intercept callback for SendMessage */ 3773 /* Skipping SHBrowseForFolder because need to intercept callback for SendMessage */
3795 3774
3796 /* Skipping SHGetDataFromIDList because split-sized WIN32_FIND_DATA or split-simple NETRESOURCE */ 3775 /* Skipping SHGetDataFromIDList because split-sized WIN32_FIND_DATA or split-simple NETRESOURCE, missing from Cygwin libraries */
3797 3776
3798 3777
3799 /*----------------------------------------------------------------------*/ 3778 /*----------------------------------------------------------------------*/
3800 /* Processing file IME.H */ 3779 /* Processing file IME.H */
3801 /*----------------------------------------------------------------------*/ 3780 /*----------------------------------------------------------------------*/