Returns one of the standard script statistics.
Syntax
HRESULT GetStat(
DWORD stid,
ULONG* pluHi,
ULONG* pluLo
);
Parameters
stid
[in] Specifies which statistic to return. Must be the value:
| Constant | Value | Description |
|---|---|---|
| SCRIPTSTAT_STATEMENT_COUNT | 1 | Return the number of statements executed since the script started or the statistics were reset. |
pluHi
[out] The high 32 bits of a 64-bit unsigned integer representing the statistic.
pluLo
[out] The low 32 bits of a 64-bit unsigned integer representing the statistic.
Return Value
The method returns an HRESULT. Possible values include, but are not limited to the values in the following table.
| Value | Description |
|---|---|
S_OK |
The method succeeded. |
Remarks
This method returns one of the standard script statistics.