It's great to have winmd metadata available 🎉 but a few type annotations are missing.
IDStorageFactory::SetDebugFlags::flags should be DSTORAGE_DEBUG. And IDStorageQueue has non-optional output pointers, that don't seem to be properly represented in the metadata and cause windows-rs to generate a by-mutable-reference getter rather than allocating and returning the object.
All of that is solved with the following mapping.
--memberRemap
IDStorageFactory::SetDebugFlags::flags=[AssociatedEnum("DSTORAGE_DEBUG")]
IDStorageQueue::RetrieveErrorRecord::record=[RetVal]
IDStorageQueue::Query::info=[RetVal]
Tsukisoft/direct-storage-rs@6a7f8c5
It's great to have
winmdmetadata available 🎉 but a few type annotations are missing.IDStorageFactory::SetDebugFlags::flagsshould beDSTORAGE_DEBUG. AndIDStorageQueuehas non-optional output pointers, that don't seem to be properly represented in the metadata and causewindows-rsto generate a by-mutable-reference getter rather than allocating and returning the object.All of that is solved with the following mapping.
Tsukisoft/direct-storage-rs@6a7f8c5