File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -261,6 +261,14 @@ struct IDxcLibrary : public IUnknown {
261261 // Renamed from GetBlobAsUtf16 to GetBlobAsWide
262262 virtual HRESULT STDMETHODCALLTYPE GetBlobAsWide (
263263 _In_ IDxcBlob *pBlob, _COM_Outptr_ IDxcBlobEncoding **pBlobEncoding) = 0 ;
264+
265+ #ifdef _WIN32
266+ // Alias to GetBlobAsWide on Win32
267+ inline HRESULT GetBlobAsUtf16 (
268+ _In_ IDxcBlob *pBlob, _COM_Outptr_ IDxcBlobEncoding **pBlobEncoding) {
269+ return this ->GetBlobAsWide (pBlob, pBlobEncoding);
270+ }
271+ #endif
264272};
265273
266274// NOTE: IDxcResult replaces IDxcOperationResult
@@ -418,6 +426,14 @@ struct IDxcUtils : public IUnknown {
418426 virtual HRESULT STDMETHODCALLTYPE GetBlobAsWide (
419427 _In_ IDxcBlob *pBlob, _COM_Outptr_ IDxcBlobWide **pBlobEncoding) = 0 ;
420428
429+ #ifdef _WIN32
430+ // Alias to GetBlobAsWide on Win32
431+ inline HRESULT GetBlobAsUtf16 (
432+ _In_ IDxcBlob *pBlob, _COM_Outptr_ IDxcBlobWide **pBlobEncoding) {
433+ return this ->GetBlobAsWide (pBlob, pBlobEncoding);
434+ }
435+ #endif
436+
421437 virtual HRESULT STDMETHODCALLTYPE GetDxilContainerPart (
422438 _In_ const DxcBuffer *pShader,
423439 _In_ UINT32 DxcPart,
You can’t perform that action at this time.
0 commit comments