GetNoOfKeystrokes

Returns the number of keystrokes in the macro.

Declarations:

VC++

long GetNoOfKeyStrokes (_bstr_t pFileName, long * pKeyStrokes );

VISUAL BASIC:

GetNoOfKeyStrokes (ByVal pFileName As String, ByRef pKeyStrokes As String) As Long

Parameters:

Return Value:

Returns 1 if there is any kind of failure, or 0 if successful.