Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Querying classes with property of type ManagementBaseObject[] #36

Open
Pierre-Adrien opened this issue Aug 23, 2022 · 0 comments
Open

Comments

@Pierre-Adrien
Copy link

There is an unhandled case of mapping using the IWMIHelper : when the result contain an array of ManagementBaseObject.
I faced an error when I was querying "WmiMonitorListedSupportedSourceModes" (https://docs.microsoft.com/en-us/windows/win32/wmicoreprov/wmimonitorlistedsupportedsourcemodes). The class contain an array of "VideoModeDescriptor" but the mapping cannot be done in the "_SetPropertyValue" function because there isn't a case for "ManagementBaseObject[]".

@Pierre-Adrien Pierre-Adrien changed the title Querying classes with property of type ManagementBaseObject[] [BUG] Querying classes with property of type ManagementBaseObject[] Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant