GetNPPEtypeSapFilter
The GetNPPEtypeSapFilter function retrieves the Etype/Sap filter from a given BLOB.
DWORDGetNPPEtypeSapFilter(HBLOBhBlob,
WORD*pnSaps,
WORD*pnEtypes,
LPBYTE*ppSapTable,
LPWORD*ppEtypeTable,
DWORD*pFilterFlags,
HBLOBhErrorBlob);
Parameters
- hBlob
[in] Handle to the BLOB. - pnSaps
[out] Pointer to the returned number of protocols in the SAP table. - pnEtypes
[out] Pointer to the returned number of Etypes in the Etype table. - ppSapTable
[out] Pointer to the returned SAP table. - ppEtypeTable
[out] Pointer to the returned Etype table. - pFilterFlags
[out] Pointer to the returned filter flags. - hErrorBlob
[out] Handle to an error BLOB, which specifies the location in the original BLOB where the error (if any) occurred.
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 indicates the error.
Remarks
The Etype/Sap information is stored in the Config category of the NPP Owner section.
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. |