c
wStream sbuffer = { 0 };
if (!Stream_EnsureCapacity(&sbuffer, SrcSize)) {
    // Handle allocation failure
    return ERROR_OUTOFMEMORY;
}
