EnableExplicit

CompilerIf #ctSSLayer_CompiledFeature_GetDeviceFromSSLIDW
  ProcedureDLL.i ctSSLayer_GetDeviceFromSSLIDW(*SSLID)
    If *SSLID
      Define.s xChar1
      xChar1 = PeekS(*SSLID, -1, #PB_Unicode)
      ProcedureReturn ctSSLayer_GetDeviceFromSSLIDA(@xChar1)
      EndIf
    ProcedureReturn -1
    EndProcedure
  CompilerEndIf

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