TerminateExtension (Windows CE 5.0)
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.
BOOL WINAPITerminateExtension(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 Values
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
Pocket PC: Pocket PC 2000 and later.
Smartphone: Smartphone 2002 and later.
OS Versions: Windows CE 3.0 and later.
Header: Httpext.h.
Link Library: Not applicable.
See Also
Send Feedback on this topic to the authors