1 Reply Latest reply on Jan 12, 2012 9:49 AM by Felix_M

    Using IoGetDeviceInterfaces

    Community Member

      Im using GetDeviceInterfaces to get information from the device, but is giving error as (identifier not found in IoGetDeviceInterfaces and STATUS_SICCESS as undeclared identifier).

       

      PWSTR symbolicLinkList=NULL;
        NTSTATUS status = IoGetDeviceInterfaces ((LPGUID)&GUID_DEVINTERFACE_IOHGPIO,NULL,0,&symbolicLinkList);
        if(status!=STATUS_SUCCESS){
        }

       

      I've used the includes that are available, but they are not found

        Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

       

       

      Thank you.