GetNPPPatternFilterFromBlob function

The GetNPPPatternFilterFromBlob function retrieves the pattern match filter from a specific BLOB.

Syntax

DWORD GetNPPPatternFilterFromBlob(
  _In_  HBLOB        hBlob,
  _In_  LPEXPRESSION pExpression,
  _Out_ HBLOB        hErrorBlob
);

Parameters

hBlob [in]

Handle to the BLOB.

pExpression [in]

Pointer to the filter expression.

hErrorBlob [out]

Handle to an error BLOB that specifies where in the original BLOB the error (if any) occurred.

Return value

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

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

Remarks

The pattern match filter information is stored in the Config category of the BLOB.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h
Library
Npptools.lib
DLL
Npptools.dll

See also

SetNPPPatternFilterInBlob

GetBoolFromBlob

GetClassIDFromBlob

GetDwordFromBlob

GetMacAddressFromBlob

GetNetworkInfoFromBlob

GetNPPAddressFilterFromBlob

GetNPPTriggerFromBlob

GetStringFromBlob

GetStringsFromBlob