Share via


GetEdgeSubscriptionFile Method of the IFPCSmtpProtectionStatus Interface

The GetEdgeSubscriptionFile method retrieves the contents of the edge subscription file.

Syntax

HRESULT GetEdgeSubscriptionFile(
  [out]      BYTE** ppbFileContent,
  [in, out]  LPDWORD lpdwContentLength
);

Parameters

  • ppbFileContent
    Address of a pointer that on return points to the BYTE at the beginning of the block of memory where the contents of the edge subscription file are stored.

  • lpdwContentLength
    LPDWORD.

    As an input parameter, it indicates the maximum buffer size (in bytes) of the data from the edge subscription file to return in the method call.

    On return, the parameter stores the actual buffer size (in bytes) of the data pointed at by ppbFileContent.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

This method can only be used in C and C++ programming languages.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCSmtpProtectionStatus

Send comments about this topic to Microsoft

Build date: 6/30/2010