There are many examples with C-APIs which require data preparation to call one function. I can't share any of my employer's code, but here are a couple of public examples similar to what I've worked on...
Look at the first method "DeviceHasBuffersInScope" in the first answer of this post:
This is basically "one" API call to get some data on an audio device. However, you need to call another function to get the parameter for the size of the data you're asking for. Removing blank lines would make it too dense; I find separation helps. Separating this into multiple functions would be pointless.
A similar API call, this "GetAudioDeviceInfo" function is already very sparing on the blank lines:
I don't know how much value you'd get from refactoring this.