Share via


IFPCSmtpProtectionStatus::GetEdgeSubscriptionFile method

Applies to: desktop apps only

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

Syntax

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

Parameters

  • ppbFileContent [out]
    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 [in, out]
    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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCSmtpProtectionStatus

 

 

Build date: 7/12/2010