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.

35 lines
788 B

  1. #ifndef PHP_COM_H
  2. #define PHP_COM_H
  3. #if PHP_WIN32
  4. BEGIN_EXTERN_C()
  5. extern PHP_MINIT_FUNCTION(COM);
  6. extern PHP_MSHUTDOWN_FUNCTION(COM);
  7. extern int php_COM_get_le_idispatch();
  8. extern zend_module_entry COM_module_entry;
  9. extern zend_class_entry com_class_entry;
  10. END_EXTERN_C()
  11. #ifdef __cplusplus
  12. extern pval php_COM_get_property_handler(zend_property_reference *property_reference);
  13. extern int php_COM_set_property_handler(zend_property_reference *property_reference, pval *value);
  14. extern char *php_COM_error_message(HRESULT hr);
  15. extern void php_COM_call_function_handler(INTERNAL_FUNCTION_PARAMETERS, zend_property_reference *property_reference);
  16. #endif
  17. #define COM_module_ptr &COM_module_entry
  18. #else
  19. #define COM_module_ptr NULL
  20. #endif /* PHP_WIN32 */
  21. #endif /* PHP_COM_H */