Skip navigation links
JNA API 5.3.1
com.sun.jna.platform.win32

Class Cfgmgr32Util



  • public abstract class Cfgmgr32Util
    extends java.lang.Object
    Cfgmgr32 utility API.
    Author:
    widdis[at]gmail[dot]com
    • Constructor Summary

      Constructors 
      Constructor and Description
      Cfgmgr32Util() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String CM_Get_Device_ID(int devInst)
      Utility method to call Cfgmgr32's CM_Get_Device_ID that allocates the required memory for the Buffer parameter based on the type mapping used, calls to CM_Get_Device_ID, and returns the received string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Cfgmgr32Util

        public Cfgmgr32Util()
    • Method Detail

      • CM_Get_Device_ID

        public static java.lang.String CM_Get_Device_ID(int devInst)
                                                 throws Cfgmgr32Util.Cfgmgr32Exception
        Utility method to call Cfgmgr32's CM_Get_Device_ID that allocates the required memory for the Buffer parameter based on the type mapping used, calls to CM_Get_Device_ID, and returns the received string.
        Parameters:
        devInst - Caller-supplied device instance handle that is bound to the local machine.
        Returns:
        The device instance ID string.
        Throws:
        Cfgmgr32Util.Cfgmgr32Exception
JNA API 5.3.1

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.