Share via


CreateNPPInterface

The CreateNPPInterface function uses the BLOB returned from the finder to create an NPP that the application can use.

DWORDCreateNPPInterface(HBLOBhBlob,
REFIIDiid,
void**ppvObject);

Parameters

  • hBlob
    [in] Handle to the BLOB returned from the finder.
  • iid
    [in] Identifier of the interface that you call from the NPP (IRTC or IDelaydC, for example).
  • ppvObject
    [out] Pointer to the returned pointer to the requested interface.

Return Values

If the function is successful, the return value is NMERR_SUCCESS.

If the function is unsuccessful, the return value is a NMERR value that describes the error.

Requirements

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.

Library

Link to Npptools.lib.

DLL Requires Npptools.dll.