ITcPlcProject::GenerateBootProject

Builds the local boot project (BuildLocalBootPrj). If bActivate = VARIANT_TRUE, it is also activated.

Signature

HRESULT GenerateBootProject([in, defaultvalue(-1)] VARIANT_BOOL bActivate);

Parameter

Name

Type

Description

bActivate

VARIANT_BOOL

[in, defaultvalue(-1)] VARIANT_TRUE activates the generated boot project.

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code. Passes the HRESULT from BuildLocalBootPrj.

Error codes