Correct WIDL status pointer generation with explicit inner unique type
Rust development slice / linux (push) Failing after 7s
Rust development slice / linux (push) Failing after 7s
This commit is contained in:
@@ -31,6 +31,11 @@ typedef struct {
|
||||
unsigned long cEntries;
|
||||
[size_is(cEntries)] RMM_W32TIME_ENTRY *pEntries;
|
||||
} RMM_W32TIME_STATUS;
|
||||
/* Microsoft declares PW32TIME_STATUS_INFO separately. Keep the inner pointer
|
||||
* explicitly unique; the out parameter's outer pointer defaults to ref.
|
||||
* WIDL 7 propagates a parameter-level [ref] through a direct ** declaration.
|
||||
*/
|
||||
typedef [unique] RMM_W32TIME_STATUS *RMM_PW32TIME_STATUS;
|
||||
[uuid(8fb6d884-2388-11d0-8c35-00c04fda2795), version(4.1), pointer_default(unique)]
|
||||
interface RmmW32Time {
|
||||
unsigned long RmmUnusedSlot0([in] handle_t binding);
|
||||
@@ -39,5 +44,5 @@ interface RmmW32Time {
|
||||
unsigned long RmmUnusedSlot3([in] handle_t binding);
|
||||
unsigned long RmmUnusedSlot4([in] handle_t binding);
|
||||
unsigned long RmmUnusedSlot5([in] handle_t binding);
|
||||
unsigned long RmmW32TimeQueryStatus([in] handle_t binding, [out, ref] RMM_W32TIME_STATUS **status);
|
||||
unsigned long RmmW32TimeQueryStatus([in] handle_t binding, [out] RMM_PW32TIME_STATUS *status);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user