검색 결과


    아직 자원 봉사자들이 한국어로 현재 문서를 번역하지 않았습니다. 가입해서 이 문서가 번역되는 일에 함께 해 주세요!


    Represents a single instance of a plug-in. You specify one of these to any NPAPI function that needs to know which plug-in to work with.


    typedef struct _NPP
        void* pdata; /* plug-in private data */
        void* ndata; /* Mozilla private data */
    } NPP_t;
    typedef NPP_t*  NPP;


    The data structure has the following fields:

    A value, whose definition is up to the plug-in, that the plug-in can use to store a pointer to an internal data structure associated with the instance; this field isn't modified by the browser.
    A private value, owned by the browser, which is used to store data associated with the instance; this value should not be modified by the plug-in.


    Gecko creates an NPP structure for each plug-in instance and passes a pointer to it to NPP_New(). This pointer--which is an opaque instance handle of a plug-in--identifies the instance on which API calls should operate. NPP contains private instance data for both the plug-in and the browser.

    The NPP_Destroy() function informs the plug-in when the NPP instance is about to be deleted; after this call returns, the NPP pointer is no longer valid.

    See also

    문서 태그 및 공헌자

    Contributors to this page:
    최종 변경: kscarfone,