Called by the framework when it wants your component to start.

Syntax

int Start(ComponentEntry *pEntry);

Parameters

Pointer to the ComponentEntry object that is being asked to start.

Return Value

Return ERROR_SUCCESS (0) to indicate your component started successfully. Any other value indicates an error.

Remarks

None

Examples

int Start(ComponentEntry* Entry)
{
	if ( !ReadConfiguration() || !StartDatabase() )
	{
		return 1;
	}
	return ERROR_SUCCESS;
}

See Also