編集

次の方法で共有


SetNPPTriggerInBlob function

The SetNPPTriggerInBlob function sets the BLOB trigger.

Syntax

DWORD SetNPPTriggerInBlob(
  _In_  HBLOB     hBlob,
  _In_  LPTRIGGER pTrigger,
  _Out_ HBLOB     hErrorBlob
);

Parameters

hBlob [in]

The handle to the BLOB.

pTrigger [in]

A pointer to the trigger value.

hErrorBlob [out]

The 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 value that indicates the error.

Remarks

This trigger data is stored in the Trigger 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

GetNPPTriggerFromBlob

SetBoolInBlob

SetClassIDInBlob

SetDwordInBlob

SetMacAddressInBlob

SetNetworkInfoInBlob

SetNPPAddressFilterInBlob

SetNPPPatternFilterInBlob

SetStringInBlob