LPEVALCOMCALLBACK callback function (evalcom2.h)
The LPEVALCOMCALLBACK specification defines a callback function prototype. The IValidate::SetStatus method enables an authoring tool to receive information about the progress of validation through the registered callback function.
Syntax
LPEVALCOMCALLBACK Lpevalcomcallback;
BOOL Lpevalcomcallback(
[in] STATUSTYPES iStatus,
LPCWSTR szData,
LPVOID pContext
)
{...}
Parameters
[in] iStatus
Specifies the status message sent by evalcom2.
szData
A string value containing information appropriate to the status. The value of szwData should be the number of ICEs that are being run if iStatus is ieStatusICECount. The value of szwData should be the name of the ICE being run if iStatus is ieStatusRunICE. Otherwise, the value of szwData should be NULL. The callback function should accept NULL as a possible value for this parameter.
pContext
Pointer to an application context passed to the SetStatus method. This parameter can be used for error checking.
Return value
Return code/value | Description |
---|---|
|
Validation procedure should continue. |
|
Validation was canceled. The callback function return FALSE to stop validation. |
Remarks
The SetStatus method and LPEVALCOMCALLBACK can be used to provide progress information. For example, the ieStatusICECount message can provide the overall tick count for a progress bar. For each ieStatusRunICE message received, the caller can increment the progress bar one tick.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Evalcom2.dll version 3.0.3790.371 or later |
Target Platform | Windows |
Header | evalcom2.h |