CHttpServer::TerminateExtension

BOOL TerminateExtension( DWORD dwFlags );

Return Value

If dwFlags is set to HSE_TERM_ADVISORY_UNLOAD, your override of this function can return TRUE to indicate that it can safely exit or FALSE to indicate that it is not ready to unload. If dwFlags is set to HSE_TERM_MUST_UNLOAD, the server is forcing the extension out of memory and the return value is ignored.

Parameters

dwFlags

A bitfield consisting of the following values:

Remarks

TerminateExtension gives you a safe way to clean up threads and complete other shutdown activities.

CHttpServer OverviewClass MembersHierarchy Chart