Changeset 256:02962e389917 for dwt

Show
Ignore:
Timestamp:
07/19/08 10:18:28 (1 month ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Fix build for non-TANGOSVN and protos for AssocQueryString? link error, thanks torhu for the patch.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/internal/win32/WINAPI.d

    r253 r256  
    1212 
    1313version(TANGOSVN){ 
     14    import tango.sys.win32.Types; 
    1415} 
    1516else{ // !TANGOSVN 
     
    17561757//////////////////////////////////////////////////////////////////////////////////////// 
    17571758 
    1758     HRESULT AssocQueryStringA(ASSOCF flags, int str, LPCTSTR pszAssoc, LPCTSTR pszExtra, LPTSTR pszOut, DWORD *pcchOut); 
    1759     HRESULT AssocQueryStringW(ASSOCF flags, int str, LPCTSTR pszAssoc, LPCTSTR pszExtra, LPTSTR pszOut, DWORD *pcchOut); 
    17601759alias HANDLE HPAINTBUFFER; 
    17611760 
    17621761extern (Windows){ 
     1762HRESULT AssocQueryStringA(ASSOCF flags, int str, LPCSTR pszAssoc, LPCSTR pszExtra, LPSTR pszOut, DWORD *pcchOut); 
     1763HRESULT AssocQueryStringW(ASSOCF flags, int str, LPCWSTR pszAssoc, LPCWSTR pszExtra, LPWSTR pszOut, DWORD *pcchOut); 
    17631764int AddFontResourceExA(char* lpszFilename, int fl, void* pdv); 
    17641765int AddFontResourceExW(wchar* lpszFilename, int fl, void* pdv);