"Error: no property `offsetof` for type `char*`"

MyNameHere MyNameHere at example.com
Fri Aug 19 12:27:42 UTC 2022

I am receiving this error:

Error: no property `offsetof` for type `char*`

from this snippet:

import core.sys.windows.setupapi;

void main() {
     uint Offset = DeviceInterfaceDetail.DevicePath.offsetof;

You may try this at https://run.dlang.io/, build with ```LDC```, 
with argument: ```-mtriple=x86_64-windows-msvc```.

More information about the Digitalmars-d-learn mailing list