Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
776 B

  1. //
  2. // scpapi.h
  3. //
  4. // Contains some functions which are externally defined, but defined
  5. // none the less. These are used within ActiveScripEngine and the
  6. // global object.
  7. //
  8. // Copyright (C) 2001 Microsoft Corporation
  9. //
  10. // Author: a-devjen (Devin Jenson)
  11. //
  12. #ifndef INC_SCPAPI_H
  13. #define INC_SCPAPI_H
  14. #include <windows.h>
  15. #include "tbscript.h"
  16. HANDLE SCPNewScriptEngine(BSTR LangName, TSClientData *DesiredData);
  17. BOOL SCPParseScript(HANDLE EngineHandle, BSTR Script);
  18. BOOL SCPParseScriptFile(HANDLE EngineHandle, BSTR FileName);
  19. BOOL SCPCallProcedure(HANDLE EngineHandle, BSTR ProcName);
  20. void SCPCloseScriptEngine(HANDLE EngineHandle);
  21. HRESULT SCPLoadTypeInfoFromThisModule(REFIID RefIID, ITypeInfo **TypeInfo);
  22. #endif // INC_SCPAPI_H