Nikolay Sivov (@nsivov) commented about dlls/xmllite/writer.c:
- switch (This->state)
- {
- case XmlWriterState_Initial:
return E_UNEXPECTED;- case XmlWriterState_InvalidEncoding:
return MX_E_ENCODING;- case XmlWriterState_DocClosed:
return WR_E_INVALIDACTION;- default:
;- }
- return E_NOTIMPL;
-}
Please keep relative order of method functions the way they are in the vtable. If you need to move helpers on top, do that.