Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function is an application-defined function. The Web Server calls this function immediately before it unloads the ISAPI DLL. The TerminateExtensionname for this function is a placeholder for the function name defined by the header.

Syntax

BOOL WINAPI TerminateExtension(
  DWORD 
dwFlags 
);

Parameters

dwFlags

[in] DWORDvalue that specifies whether the Web Server should shut down the extension. The following table shows the value.

Value Description

HSE_TERM_MUST_UNLOAD

The Web Server always passes this flag. ISAPIs must unload when TerminateExtensionis called.

Return Value

Returns TRUE if the function succeeds, and FALSE otherwise. This value is ignored by the Web Server.

Remarks

Because this function is only called by the Web Server when all outstanding requests have been processed, it is not necessary to include code to wait for outstanding requests within the function.

Requirements

Header httpext.h
Library Developer Implemented
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also

Other Resources