home *** CD-ROM | disk | FTP | other *** search
/ PCNet 2003 November / PCNET_2003_11_1.iso / toolkit / MPsetupXP.exe / wmpns.jar / WMPNS / IWMPError.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-10-15  |  903 b   |  51 lines

  1. package WMPNS;
  2.  
  3. public class IWMPError {
  4.    int m_pIWMPError = -1;
  5.    int m_hWnd = 0;
  6.  
  7.    private native boolean equalsNative(int var1, int var2, int var3);
  8.  
  9.    public void clearErrorQueue() {
  10.       this.clearErrorQueueNative(this.m_pIWMPError, this.m_hWnd);
  11.    }
  12.  
  13.    IWMPError() {
  14.    }
  15.  
  16.    public long getErrorCount() {
  17.       return this.getErrorCountNative(this.m_pIWMPError, this.m_hWnd);
  18.    }
  19.  
  20.    private native int itemNative(long var1, int var3, int var4);
  21.  
  22.    public boolean equals(IWMPError var1) {
  23.       return this.equalsNative(this.m_pIWMPError, var1.m_pIWMPError, this.m_hWnd);
  24.    }
  25.  
  26.    private native void webHelpNative(int var1, int var2);
  27.  
  28.    public IWMPErrorItem item(long var1) {
  29.       int var3 = this.itemNative(var1, this.m_pIWMPError, this.m_hWnd);
  30.       if (var3 >= 0) {
  31.          IWMPErrorItem var4 = new IWMPErrorItem();
  32.          if (var4 != null) {
  33.             var4.m_pIWMPErrorItem = var3;
  34.             var4.m_hWnd = this.m_hWnd;
  35.          }
  36.  
  37.          return var4;
  38.       } else {
  39.          return null;
  40.       }
  41.    }
  42.  
  43.    public void webHelp() {
  44.       this.webHelpNative(this.m_pIWMPError, this.m_hWnd);
  45.    }
  46.  
  47.    private native void clearErrorQueueNative(int var1, int var2);
  48.  
  49.    private native long getErrorCountNative(int var1, int var2);
  50. }
  51.