The AppUnLoad method unloads an application that is running.
HRESULT AppUnLoad( void );
The method returns an HRESULT. Possible values include, but are not limited to, S_OK, which indicates that the method succeeded.
All of the application's resources are released and the application's process is terminated. If the application is running in-process, the application is released, if it is not being referenced by any other applications. Server component DLLs are not released from in-process applications, even if they aren't currently referenced by other applications.
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header: Declared in iiisext.h; include iisext_i.c.