EnableExplicit

CompilerIf #ctSSLayer_CompiledFeature_GetDeviceNameW
  ProcedureDLL.i ctSSLayer_GetDeviceNameW(DeviceID, *Flags)
    If ctSSLayer_GetDeviceNameA(DeviceID, *Flags)
      MakeUnicode()
      ProcedureReturn InfoStringW
      Else
      ProcedureReturn 0
      EndIf
    EndProcedure
  CompilerEndIf

; IDE Options = PureBasic 5.21 LTS (Windows - x64)
; CursorPosition = 3
; Folding = -
; DisableDebugger
; CompileSourceDirectory