php-src/ext/rpc/com/php_com.h
Harald Radi 256d799809 @Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls
@and even COM calls much faster.
@All ini settings are now prefixed by 'com.'.
@Now you need not provide a path to the file containing the typelib, you can
@also provide the GUID of the TypeLib - entry or an IID for preloading
@type - information. (phanto)
memory leak was reportet, i'm not sure that it is fixed by now, but it should be.
2001-03-20 22:35:30 +00:00

30 lines
744 B
C

#ifndef PHP_COM_H
#define PHP_COM_H
#if PHP_WIN32
#include "com.h"
extern PHP_MINIT_FUNCTION(COM);
extern PHP_MSHUTDOWN_FUNCTION(COM);
extern int php_COM_get_le_idispatch();
extern zend_module_entry COM_module_entry;
extern zend_class_entry com_class_entry;
extern pval php_COM_get_property_handler(zend_property_reference *property_reference);
extern int php_COM_set_property_handler(zend_property_reference *property_reference, pval *value);
extern char *php_COM_error_message(HRESULT hr);
extern void php_COM_call_function_handler(INTERNAL_FUNCTION_PARAMETERS, zend_property_reference *property_reference);
#define COM_module_ptr &COM_module_entry
#else
#define COM_module_ptr NULL
#endif /* PHP_WIN32 */
#endif /* PHP_COM_H */