Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method is called immediately before entering the message loop.
HRESULT PreMessageLoop(
int nShowCmd
) throw( );
Parameters
- nShowCmd
This parameter is passed to CAtlExeModuleT::PreMessageLoop.
Return Value
Returns S_OK on success, or an error HRESULT on failure.
Remarks
Override this method to add custom initialization code for the Service.
Requirements
Header: atlbase.h