php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
com_wrapper.c File Reference
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
#include "php_com_dotnet.h"
#include "php_com_dotnet_internal.h"

Go to the source code of this file.

Data Structures

struct  php_dispatchex
 

Macros

#define FETCH_DISP(methname)
 

Functions

PHP_COM_DOTNET_API IDispatch * php_com_wrapper_export_as_sink (zval *val, GUID *sinkid, HashTable *id_to_name)
 
PHP_COM_DOTNET_API IDispatch * php_com_wrapper_export (zval *val)
 

Macro Definition Documentation

◆ FETCH_DISP

#define FETCH_DISP ( methname)
Value:
php_dispatchex *disp = (php_dispatchex*)This; \
trace(" PHP Object:%p (name:unknown) %s\n", Z_OBJ(disp->object), methname); \
} else { \
trace(" PHP Object:%p (name:%s) %s\n", Z_OBJ(disp->object), ZSTR_VAL(Z_OBJCE(disp->object)->name), methname); \
} \
if (GetCurrentThreadId() != disp->engine_thread) { \
return RPC_E_WRONG_THREAD; \
}
#define COMG(v)
bool rshutdown_started
DWORD engine_thread
Definition com_wrapper.c:37
#define ZSTR_VAL(zstr)
Definition zend_string.h:68
#define Z_OBJCE(zval)
#define Z_OBJ(zval)
Definition zend_types.h:989

Definition at line 68 of file com_wrapper.c.

Function Documentation

◆ php_com_wrapper_export()

PHP_COM_DOTNET_API IDispatch * php_com_wrapper_export ( zval * val)

Definition at line 580 of file com_wrapper.c.

◆ php_com_wrapper_export_as_sink()

PHP_COM_DOTNET_API IDispatch * php_com_wrapper_export_as_sink ( zval * val,
GUID * sinkid,
HashTable * id_to_name )

Definition at line 544 of file com_wrapper.c.