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()
70 typedef WCHAR OLECHAR; typedef72 typedef OLECHAR *BSTR;73 typedef const OLECHAR *LPCOLESTR;74 typedef OLECHAR *LPOLESTR;210 MY_EXTERN_C BSTR SysAllocStringLen(const OLECHAR *sz, UINT len);211 MY_EXTERN_C BSTR SysAllocString(const OLECHAR *sz);