本文整理汇总了C++中NPNetscapeFuncs::requestread方法的典型用法代码示例。如果您正苦于以下问题:C++ NPNetscapeFuncs::requestread方法的具体用法?C++ NPNetscapeFuncs::requestread怎么用?C++ NPNetscapeFuncs::requestread使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NPNetscapeFuncs
的用法示例。
在下文中一共展示了NPNetscapeFuncs::requestread方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: NPN_RequestRead
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: MyNPN_RequestRead
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: NPN_RequestRead
NPError NPN_RequestRead(NPStream* stream, NPByteRange* rangeList)
{
return NPNFuncs.requestread(stream, rangeList);
}