次の方法で共有


FwpmCalloutGetById0 (Compact 2013)

3/26/2014

This function retrieves a callout object.

Syntax

DWORD WINAPI FwpmCalloutGetById0(
  __in   HANDLE engineHandle,
  __in   UINT32 id,
  __deref_out  FWPM_CALLOUT0 **callout
);

Parameters

  • engineHandle
    [in] Handle for an open session to the filter engine. Call FwpmEngineOpen0 to open a session to the filter engine.
  • id
    [in] Runtime identifier for the callout being removed from the system. This identifier was received from the system when the application called FwpmCalloutAdd0 for this object.
  • callout
    [deref, out] Pointer to an FWPM_CALLOUT0 structure containing the callout information.

Return Value

Value

Description

ERROR_SUCCESS
0

The callout was retrieved successfully.

FWP_E_* error code
0x80320001-0x80320039

A Windows Filtering Platform (WFP) specific error. See WFP Error Codes for details.

RPC_* error code
0x80010001-0x80010122

A Remote Procedure Call specific error. For more information see Winerror.h.

Remarks

The caller must free the returned object by a call to FwpmFreeMemory0.

Requirements

Header

fwpmu.h

Library

fwpuclnt.dll

See Also

Reference

WFP Callout Management
WFP Management Functions