Searched refs:OLECHAR (Results 1 – 2 of 2) sorted by relevance
41 if (len >= (k_BstrSize_Max - sizeof(OLECHAR) - sizeof(OLECHAR) - sizeof(CBstrSizeType))) in SysAllocStringByteLen()44 UINT size = (len + sizeof(OLECHAR) + sizeof(OLECHAR) - 1) & ~(sizeof(OLECHAR) - 1); in SysAllocStringByteLen()57 BSTR SysAllocStringLen(const OLECHAR *s, UINT len) in SysAllocStringLen()59 if (len >= (k_BstrSize_Max - sizeof(OLECHAR) - sizeof(CBstrSizeType)) / sizeof(OLECHAR)) in SysAllocStringLen()62 UINT size = len * sizeof(OLECHAR); in SysAllocStringLen()63 void *p = AllocateForBSTR(size + sizeof(CBstrSizeType) + sizeof(OLECHAR)); in SysAllocStringLen()74 BSTR SysAllocString(const OLECHAR *s) in SysAllocString()78 const OLECHAR *s2 = s; in SysAllocString()101 return *((CBstrSizeType *)bstr - 1) / sizeof(OLECHAR); in SysStringLen()
57 typedef WCHAR OLECHAR; typedef59 typedef OLECHAR *BSTR;60 typedef const OLECHAR *LPCOLESTR;61 typedef OLECHAR *LPOLESTR;195 MY_EXTERN_C BSTR SysAllocStringLen(const OLECHAR *sz, UINT len);196 MY_EXTERN_C BSTR SysAllocString(const OLECHAR *sz);