Partager via


SetNPPPatternFilterInBlob

The SetNPPPatternFilterInBlob function sets the BLOB pattern match filter.

DWORDSetNPPPatternFilterInBlob(HBLOBhBlob,
LPEXPRESSIONpExpression,
HBLOBhErrorBlob);

Parameters

  • hBlob
    [in] The handle to the BLOB.
  • pExpression
    [in] A pointer to an EXPRESSION structure that defines the filter expression being set.
  • hErrorBlob
    [out] The handle to an error BLOB that specifies where in the original BLOB the error (if any) occurred.

Return Values

If the SetNPPPatternFilterInBlob 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 pattern match filter data stored in the Config category of the BLOB.

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.

See Also

GetNPPAddressFilterFromBlob, SetBoolInBlob, SetClassIDInBlob, SetDwordInBlob, SetMacAddressInBlob, SetNetworkInfoInBlob, SetNPPAddressFilterInBlob, SetNPPTriggerInBlob, SetStringInBlob