Поделиться через


TerminateExtension (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Web Server Functions

Other Resources

httpextn Component