コード例 #1
0
NPError NPN_RequestRead(NPStream* stream, NPByteRange* rangeList)
{
    if(logger)
        logger->logCall(action_npn_request_read, (DWORD)stream, (DWORD)rangeList);

    NPError rv = NPNFuncs.requestread(stream, rangeList);

    if(logger)
        logger->logReturn();

    return rv;
}
コード例 #2
0
ファイル: wrapper.c プロジェクト: vishesh/kde-baseapps
static
NPError MyNPN_RequestRead(NPStream* stream, NPByteRange* rangeList)
{
	NPError err;	
	DEB(ef, "-> NPN_RequestRead( %x, 0x%x )\n", stream, rangeList );	
	DEB(ef, "rangeList->offset = %d\n", rangeList->offset);
	DEB(ef, "rangeList->length = %d\n", rangeList->length);
	DEB(ef, "rangeList->next = 0x%x\n", rangeList->next);
	
	err = gNetscapeFuncs.requestread( stream, rangeList );		
	DEB(ef, "<- NPN_RequestRead = %d\n", err);
	DEB(ef, "rangeList->offset = %d\n", rangeList->offset);
	DEB(ef, "rangeList->length = %d\n", rangeList->length);
	DEB(ef, "rangeList->next = 0x%x\n", rangeList->next);
	return err;
}
コード例 #3
0
NPError NPN_RequestRead(NPStream* stream, NPByteRange* rangeList)
{
  return NPNFuncs.requestread(stream, rangeList);
}