[Freemint-list] XHDI extension proposal
Thorsten Otto
admin at tho-otto.de
Sun Feb 19 06:46:34 MSK 2017
On Friday 17 February 2017 13:46:01 Adam Klobukowski wrote:
> Bump XHDI protocol number version to 1.40
Is that really needed? The existing functions do not change, and the new
functions have to use new function numbers, anyway. If you try to call them
with an older driver that does not support them, you will get error -32
anyway.
Bumping the version might make programs that can't be newly compiled complain
about an incompatible interface.
>LONG XHGetCapacity2 (UWORD major, UWORD minor, ULONG *blocks,
> ULONG *blocksize, ULONGLONG* capacity);Like
>XHGetCapacity, just aditional parameter, ponter to ULONGLONG where it will
>put the capacity. Returns the same capacity if it fits 32 LONG or -1 if it
>does not.
Why use 2 output parameters for the same information?
More information about the Freemint-list
mailing list