Function hassle_rs::os::SysStringLen

source ·
pub unsafe fn SysStringLen(p: BSTR) -> UINT
Expand description

Returns the size of p in characters, excluding terminating NULL character

Safety

p must be a valid pointer to a BSTR with size-prefix in the 4 leading bytes, or null.

https://docs.microsoft.com/en-us/previous-versions/windows/desktop/automat/bstr#remarks