Enable nullable: System.Management.Automation.IDispatch#14185
Conversation
7e67866 to
a269af3
Compare
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
Don't know about this one -- COM isn't my area |
|
@daxian-dbw Could you please look? There is a difference with .Net Runtime
|
|
The relevant docs are here:
|
| COM.INVOKEKIND wFlags, | ||
| [In, Out][MarshalAs(UnmanagedType.LPArray)] COM.DISPPARAMS[] paramArray, | ||
| out object pVarResult, | ||
| out object? pVarResult, |
There was a problem hiding this comment.
VARIANT *pVarResult,
Pointer to the location where the result is to be stored, or NULL if the caller expects no result. This argument is ignored if DISPATCH_PROPERTYPUT or DISPATCH_PROPERTYPUTREF is specified.
| [In, Out][MarshalAs(UnmanagedType.LPArray)] COM.DISPPARAMS[] paramArray, | ||
| out object pVarResult, | ||
| out object? pVarResult, | ||
| out ComInvoker.EXCEPINFO pExcepInfo, |
There was a problem hiding this comment.
EXCEPINFO* pExcepInfo
Pointer to a structure that contains exception information. This structure should be filled in if DISP_E_EXCEPTION is returned. Can be NULL.
This can be null, but as we use a struct for ComInvoker.EXCEPTINFO, it shouldn't be marked as ?
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
ppTInfo can for sure be null. |
Tracking issue: #12631.