Windows error 0x88982F8C, -2003292276

Detailed Error Information

WINCODEC_ERR_INSUFFICIENTBUFFER[1]

MessageThe buffer allocated is insufficient.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)true
FacilityCode2200 (0x898)
NameFACILITY_WINCODEC_DWRITE_DWM[1]
Error Code12172 (0x2f8c)

Questions

3votes
1answer

"The buffer allocated is insufficient" exception while calling BitmapEncoder.SetPixelData

I want to create a white image run time in my Windows 8 app. I thought I will create a byte array and then will write onto file. But I am getting exception The buffer allocated is insufficient. (Exception from HRESULT: 0x88982F8C). What's wrong with my code? double dpi = [...] read more
c#
windows-8
windows-runtime
microsoft-metro
windows-store-apps

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0