Changeset 305

Show
Ignore:
Timestamp:
10/06/08 00:11:20 (2 months ago)
Author:
sleets
Message:

fixed use long as LONG in mshtml

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/win32/mshtml.d

    r302 r305  
    7878    HRESULT put_border(VARIANT); 
    7979    HRESULT get_border(VARIANT*); 
    80     HRESULT put_vspace(long); 
    81     HRESULT get_vspace(long*); 
    82     HRESULT put_hspace(long); 
    83     HRESULT get_hspace(long*); 
     80    HRESULT put_vspace(LONG); 
     81    HRESULT get_vspace(LONG*); 
     82    HRESULT put_hspace(LONG); 
     83    HRESULT get_hspace(LONG*); 
    8484    HRESULT put_alt(BSTR); 
    8585    HRESULT get_alt(BSTR*); 
     
    106106    HRESULT put_name(BSTR); 
    107107    HRESULT get_name(BSTR*); 
    108     HRESULT put_width(long); 
    109     HRESULT get_width(long*); 
    110     HRESULT put_height(long); 
    111     HRESULT get_height(long*); 
     108    HRESULT put_width(LONG); 
     109    HRESULT get_width(LONG*); 
     110    HRESULT put_height(LONG); 
     111    HRESULT get_height(LONG*); 
    112112    HRESULT put_start(BSTR); 
    113113    HRESULT get_start(BSTR*); 
     
    117117interface IHTMLElementCollection : public IDispatch { 
    118118    HRESULT toString(BSTR*); 
    119     HRESULT put_length(long); 
    120     HRESULT get_length(long*); 
     119    HRESULT put_length(LONG); 
     120    HRESULT get_length(LONG*); 
    121121    HRESULT get__newEnum(IUnknown*); 
    122122    HRESULT item(VARIANT,VARIANT,IDispatch* pDisp); 
     
    229229    HRESULT put_onselectstart(VARIANT); 
    230230    HRESULT get_onselectstart(VARIANT*); 
    231     HRESULT elementFromPoint(long,long,LPHTMLELEMENT*); 
     231    HRESULT elementFromPoint(LONG,LONG,LPHTMLELEMENT*); 
    232232    HRESULT get_parentWindow(LPHTMLWINDOW2*); 
    233233    HRESULT get_styleSheets(LPHTMLSTYLESHEETSCOLLECTION*); 
     
    237237    HRESULT get_onerrorupdate(VARIANT*); 
    238238    HRESULT toString(BSTR*); 
    239     HRESULT createStyleSheet(BSTR,long,LPHTMLSTYLESHEET*); 
     239    HRESULT createStyleSheet(BSTR,LONG,LPHTMLSTYLESHEET*); 
    240240} 
    241241 
     
    259259    HRESULT collapse(VARIANT_BOOL); 
    260260    HRESULT expand(BSTR,VARIANT_BOOL*); 
    261     HRESULT move(BSTR,long,long*); 
    262     HRESULT moveStart(BSTR,long,long*); 
    263     HRESULT moveEnd(BSTR,long,long*); 
     261    HRESULT move(BSTR,LONG,LONG*); 
     262    HRESULT moveStart(BSTR,LONG,LONG*); 
     263    HRESULT moveEnd(BSTR,LONG,LONG*); 
    264264    HRESULT select(); 
    265265    HRESULT pasteHTML(BSTR); 
    266266    HRESULT moveToElementText(LPHTMLELEMENT); 
    267267    HRESULT setEndPoint(BSTR,IHTMLTxtRange); 
    268     HRESULT compareEndPoints(BSTR,IHTMLTxtRange,long*); 
    269     HRESULT findText(BSTR,long,long,VARIANT_BOOL*); 
    270     HRESULT moveToPoint(long,long); 
     268    HRESULT compareEndPoints(BSTR,IHTMLTxtRange,LONG*); 
     269    HRESULT findText(BSTR,LONG,LONG,VARIANT_BOOL*); 
     270    HRESULT moveToPoint(LONG,LONG); 
    271271    HRESULT getBookmark(BSTR*); 
    272272    HRESULT moveToBookbark(BSTR,VARIANT_BOOL*); 
     
    323323    HRESULT scrollIntoView(VARIANT); 
    324324    HRESULT contains(LPHTMLELEMENT,VARIANT_BOOL*); 
    325     HRESULT get_source3Index(long*); 
     325    HRESULT get_source3Index(LONG*); 
    326326    HRESULT get_recordNumber(VARIANT*); 
    327327    HRESULT put_lang(BSTR); 
    328328    HRESULT get_lang(ref BSTR); 
    329     HRESULT get_offsetLeft(long*); 
    330     HRESULT get_offsetTop(long*); 
    331     HRESULT get_offsetWidth(long*); 
    332     HRESULT get_offsetHeight(long*); 
     329    HRESULT get_offsetLeft(LONG*); 
     330    HRESULT get_offsetTop(LONG*); 
     331    HRESULT get_offsetWidth(LONG*); 
     332    HRESULT get_offsetHeight(LONG*); 
    333333    HRESULT get_offsetParent(LPHTMLELEMENT*); 
    334334    HRESULT put_innerHTML(BSTR); 
    335     HRESULT get_innerHTML(out BSTR); 
     335    HRESULT get_innerHTML(ref BSTR); 
    336336    HRESULT put_innerText(BSTR); 
    337337    HRESULT get_innerText(ref BSTR); 
     
    374374interface IHTMLFramesCollection2 : public IDispatch { 
    375375    HRESULT item(VARIANT*,VARIANT*); 
    376     HRESULT get_length(long*); 
     376    HRESULT get_length(LONG*); 
    377377} 
    378378 
     
    383383    HRESULT put_status(BSTR); 
    384384    HRESULT get_status(BSTR*); 
    385     HRESULT setTimeout(BSTR,long,VARIANT*,long*); 
    386     HRESULT clearTimeout(long); 
     385    HRESULT setTimeout(BSTR,LONG,VARIANT*,LONG*); 
     386    HRESULT clearTimeout(LONG); 
    387387    HRESULT alert(BSTR); 
    388388    HRESULT confirm(BSTR,VARIANT_BOOL*); 
     
    439439    HRESULT execScript(BSTR,BSTR,VARIANT*); 
    440440    HRESULT toString(BSTR*); 
    441     HRESULT scrollBy(long,long); 
    442     HRESULT scrollTo(long,long); 
    443     HRESULT moveTo(long,long); 
    444     HRESULT moveBy(long,long); 
    445     HRESULT resizeTo(long,long); 
    446     HRESULT resizeBy(long,long); 
     441    HRESULT scrollBy(LONG,LONG); 
     442    HRESULT scrollTo(LONG,LONG); 
     443    HRESULT moveTo(LONG,LONG); 
     444    HRESULT moveBy(LONG,LONG); 
     445    HRESULT resizeTo(LONG,LONG); 
     446    HRESULT resizeBy(LONG,LONG); 
    447447    HRESULT get_external(IDispatch*); 
    448448}