共用方式為


CAtlServiceModuleT::Uninstall

Stops and removes the service.

BOOL Uninstall( ) throw( );

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

Stops the service from running and removes it from the Service Control Manager database.

Requirements

Header: atlbase.h

See Also

Reference

CAtlServiceModuleT Class

CAtlServiceModuleT::Install

Other Resources

CAtlServiceModuleT Members