Compartilhar via


TerminateExtension (Compact 2013)

3/26/2014

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

Syntax

BOOL WINAPI TerminateExtension(
  DWORD dwFlags 
);

Parameters

  • dwFlags
    [in] DWORD value 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 TerminateExtension is 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

See Also

Reference

Web Server Functions