Retrieves the number of scripts.
Syntax
HRESULT GetNumberOfScripts( UINT *pnScripts );
Parameters
- pnScripts
- [out] Address of an unsigned integer that receives the number of scripts.
Return Value
Returns S_OK if successful, or an error code otherwise.