bool NPN_Enumerate(NPP npp, NPObject *obj, NPIdentifier **identifier,
                   uint32_t *count)
{
#if defined(NPVERS_HAS_NPOBJECT_ENUM) && (NP_VERSION_MINOR >= NPVERS_HAS_NPOBJECT_ENUM)
  if ((NPNFuncs.version & 0xFF) >= NPVERS_HAS_NPOBJECT_ENUM)
    return NPNFuncs.enumerate(npp, obj, identifier, count);
#endif
  return false;
}
示例#2
0
bool NPN_Enumerate(NPP id, NPObject* obj, NPIdentifier** identifier, uint32_t*val)
{
    char msg[1024];
    sprintf(msg, "NPN_Enumerate");
    logger->logMessage(msg);

    bool rv = NPNFuncs.enumerate(id, obj, identifier, val);

    sprintf(msg, "--Return: %x", rv);
    logger->logMessage(msg);

    return rv;
}
示例#3
0
bool NPN_Enumerate(NPP npp, NPObject *npobj, NPIdentifier **identifiers,
		uint32_t *identifierCount)
{
	return NPNFuncs.enumerate(npp, npobj, identifiers, identifierCount);
}
bool NPN_Enumerate(NPP npp, NPObject *obj, NPIdentifier **identifier,
                   uint32_t *count)
{
  return NPNFuncs.enumerate(npp, obj, identifier, count);
}