Searched refs:bstr (Results 1 – 2 of 2) sorted by relevance
/PHP-8.2/ext/com_dotnet/ |
H A D | com_olechar.c | 102 BSTR bstr = NULL; in php_com_string_to_bstr() local 110 if ((bstr = SysAllocStringLen(NULL, (UINT)(wc_len - 1))) == NULL) { in php_com_string_to_bstr() 113 …if ((wc_len = MultiByteToWideChar(codepage, flags, ZSTR_VAL(string), (int)mb_len + 1, bstr, wc_len… in php_com_string_to_bstr() 116 return bstr; in php_com_string_to_bstr() 123 SysFreeString(bstr); in php_com_string_to_bstr() 127 zend_string *php_com_bstr_to_string(BSTR bstr, int codepage) in php_com_bstr_to_string() argument 130 UINT wc_len = SysStringLen(bstr); in php_com_bstr_to_string() 133 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, NULL, 0, NULL, NULL); in php_com_bstr_to_string() 136 mb_len = WideCharToMultiByte(codepage, 0, bstr, wc_len + 1, ZSTR_VAL(string), mb_len, NULL, NULL); in php_com_bstr_to_string()
|
H A D | php_com_dotnet_internal.h | 87 zend_string *php_com_bstr_to_string(BSTR bstr, int codepage);
|
Completed in 12 milliseconds