Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 409741 of Structures

  • Revision slug: Gecko_Plugin_API_Reference/Structures
  • Revision title: Structures
  • Revision id: 409741
  • Created:
  • Creator: Don.Dominic.mathew
  • Is current revision? No
  • Comment

Revision Content

{{ PreviousNext("Gecko Plugin API Reference/Scripting plugins", "Gecko Plugin API Reference/Constants") }} {{ Npapiref() }}

This chapter describes the data structures that are used to represent the various objects in the plug-in API.

Structure Summary

{{ Npapi("NPAnyCallbackStruct") }} Contains information required during embedded mode printing.
{{ Npapi("NPByteRange") }} Represents a particular range of bytes from a stream.
{{ Npapi("NPEmbedPrint") }} Substructure of NPPrint that contains platform-specific information used during embedded mode printing.
{{ Npapi("NPEvent") }} Represents an event passed by NPP_HandleEvent to a windowless plug-in.
{{ Npapi("NPFullPrint") }} Substructure of NPPrint that contains platform-specific information used during full-page mode printing.
{{ Npapi("NPP") }} Represents a single instance of a plug-in.
{{ Npapi("NP_Port") }} Contains information required by the window field of an NPWindow structure.
{{ Npapi("NPPrint") }} Contains information the plug-in needs to print itself in full-page or embedded mode.
{{ Npapi("NPPrintCallbackStruct") }} Contains information required by the platformPrint field of the NPEmbedPrint during embedded mode printing.
{{ Npapi("NPRect") }} Represents a rectangular area of a page.
{{ Npapi("NPRegion") }} Represents a platform-defined region of a page.
{{ Npapi("NPSavedData") }} Block of instance information saved after the plug-in is deleted; can be returned to the plug-in.
{{ Npapi("NPSetWindowCallbackStruct") }} Contains information about the plug-in's Unix window environment.
{{ Npapi("NPStream") }} Represents a stream of data either produced by the browser and consumed by the plug-in, or produced by the plug-in and consumed by the browser.
{{ Npapi("NPWindow") }} Contains information about the target into which the plug-in instance can draw.

{{ PreviousNext("Gecko Plugin API Reference/Scripting plugins", "Gecko Plugin API Reference/Constants") }}

Revision Source

<p>{{ PreviousNext("Gecko Plugin API Reference/Scripting plugins", "Gecko Plugin API Reference/Constants") }} {{ Npapiref() }}</p>
<p>This chapter describes the data structures that are used to represent the various objects in the plug-in API.</p>
<h3 id="Structure_Summary" name="Structure_Summary">Structure Summary</h3>
<table class="standard-table">
  <tbody>
    <tr>
      <td>{{ Npapi("NPAnyCallbackStruct") }}</td>
      <td>Contains information required during embedded mode printing.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPByteRange") }}</td>
      <td>Represents a particular range of bytes from a stream.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPEmbedPrint") }}</td>
      <td>Substructure of <code>NPPrint</code> that contains platform-specific information used during embedded mode printing.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPEvent") }}</td>
      <td>Represents an event passed by <code>NPP_HandleEvent</code> to a windowless plug-in.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPFullPrint") }}</td>
      <td>Substructure of <code>NPPrint</code> that contains platform-specific information used during full-page mode printing.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPP") }}</td>
      <td>Represents a single instance of a plug-in.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NP_Port") }}</td>
      <td>Contains information required by the window field of an NPWindow structure.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPPrint") }}</td>
      <td>Contains information the plug-in needs to print itself in full-page or embedded mode.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPPrintCallbackStruct") }}</td>
      <td>Contains information required by the platformPrint field of the <code>NPEmbedPrint</code> during embedded mode printing.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPRect") }}</td>
      <td>Represents a rectangular area of a page.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPRegion") }}</td>
      <td>Represents a platform-defined region of a page.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPSavedData") }}</td>
      <td>Block of instance information saved after the plug-in is deleted; can be returned to the plug-in.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPSetWindowCallbackStruct") }}</td>
      <td>Contains information about the plug-in's Unix window environment.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPStream") }}</td>
      <td>Represents a stream of data either produced by the browser and consumed by the plug-in, or produced by the plug-in and consumed by the browser.</td>
    </tr>
    <tr>
      <td>{{ Npapi("NPWindow") }}</td>
      <td>Contains information about the target into which the plug-in instance can draw.</td>
    </tr>
  </tbody>
</table>
<p>{{ PreviousNext("Gecko Plugin API Reference/Scripting plugins", "Gecko Plugin API Reference/Constants") }}</p>
Revert to this revision