Header and Interface Definition Language Files

The Forefront TMG Software Development Kit (SDK) provides you with the header (.h) and interface definition language (.idl) files needed to create an application filter. These files are located in the Inc folder of the SDK. You need to include the appropriate SDK files in your project.

The SDK header and interface definition language files that can be used in application filters include:

Of these, Wspfwext.idl and Msfpccom.idl are of the greatest interest to filter developers.

Comenum.h

Defines the enumerated types used in the Forefront TMG administration COM objects. This file is included in Fpcimports.idl.

FpcErrorCodes.h

Contains error code definitions for the Forefront TMG administration COM objects. For more information about these error codes, see Administration Object Error Codes.

FpcEventGuids.h

Defines constants for the globally unique identifiers (GUIDs) of the predefined events that are installed with Forefront TMG.

FpcEventKeys.h

Defines the additional keys for the subevents of predefined events that are installed with Forefront TMG.

Fpcimports.h

Allows inclusion of standard system header files in an .idl file. Used to include the header file Comenum.h in Fpcimports.idl. For more information about how to include a standard system header in an .idl file, see Importing System Header Files in the Platform SDK documentation.

Fpcimports.idl

An .idl file that includes the header file Fpcimports.h. For more information about how to include a standard system header in an .idl file, see Importing System Header Files in the Platform SDK documentation.

FpcNodesGuids.h

Contains the GUIDs of the snap-in nodes that can be extended when writing extension snap-ins. For more information, see Extending Forefront TMG Management.

Msfpccom.idl

Contains the definitions of the Forefront TMG administration COM objects.

This file generates the Msfpccom.tlb file. To use properties and methods that return enumeration values without explicitly specifying the namespace, specify no-namespace when you import the Msfpccom.tlb file, as follows:

#import "msfpccom.tlb" no_namespace

Protocol_guids.h

Defines constants for the protocol GUIDs used in Forefront TMG.

Wpxhttpfilt.h

Contains the definitions of the structures, notifications, and functions used in the development of Web filters.

Wspfwerr.h

Contains error code definitions for the Microsoft Firewall service. For more information about these error codes, see Error Codes.

Wspfwext.idl

Contains the definitions and GUIDs of the filter object interfaces. When you first compile your project, the files Wspfwext.h and Wspfwext_i.c are generated from Wspfwext.idl.

Wspfwtyp.h

Defines Windows and Winsock structures for the Microsoft Interface Definition Language (MIDL) compiler, which compiles the .idl files.


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.