Home
last modified time | relevance | path

Searched refs:bstr (Results 1 – 2 of 2) sorted by relevance

/PHP-8.2/ext/com_dotnet/
H A Dcom_olechar.c102 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 Dphp_com_dotnet_internal.h87 zend_string *php_com_bstr_to_string(BSTR bstr, int codepage);

Completed in 12 milliseconds