353 lines
18 KiB
Plaintext
353 lines
18 KiB
Plaintext
unit F_SSOLib_TLB;
|
|
{$IFDEF _CJ_}
|
|
|
|
// ************************************************************************ //
|
|
// WARNING
|
|
// -------
|
|
// The types declared in this file were generated from data read from a
|
|
// Type Library. If this type library is explicitly or indirectly (via
|
|
// another type library referring to this type library) re-imported, or the
|
|
// 'Refresh' command of the Type Library Editor activated while editing the
|
|
// Type Library, the contents of this file will be regenerated and all
|
|
// manual modifications will be lost.
|
|
// ************************************************************************ //
|
|
|
|
// $Rev: 98336 $
|
|
// File generated on 2020-12-17 오후 2:05:20 from Type Library described below.
|
|
|
|
// ************************************************************************ //
|
|
// Type Lib: C:\taskSunk\Sunk.Module\FasooDRM\DRM_Key\f_sso_cj_group_fsn.dll (1)
|
|
// LIBID: {B4A95053-FACC-475C-B4D0-2C088102B67A}
|
|
// LCID: 0
|
|
// Helpfile:
|
|
// HelpString: f_sso 1.0 Type Library
|
|
// DepndLst:
|
|
// (1) v2.0 stdole, (C:\Windows\SysWOW64\stdole2.tlb)
|
|
// SYS_KIND: SYS_WIN32
|
|
// ************************************************************************ //
|
|
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
|
|
{$WARN SYMBOL_PLATFORM OFF}
|
|
{$WRITEABLECONST ON}
|
|
{$VARPROPSETTER ON}
|
|
{$ALIGN 4}
|
|
|
|
interface
|
|
|
|
uses Winapi.Windows, System.Classes, System.Variants, System.Win.StdVCL, Vcl.Graphics, Vcl.OleServer, Winapi.ActiveX;
|
|
|
|
|
|
// *********************************************************************//
|
|
// GUIDS declared in the TypeLibrary. Following prefixes are used:
|
|
// Type Libraries : LIBID_xxxx
|
|
// CoClasses : CLASS_xxxx
|
|
// DISPInterfaces : DIID_xxxx
|
|
// Non-DISP interfaces: IID_xxxx
|
|
// *********************************************************************//
|
|
const
|
|
// TypeLibrary Major and minor versions
|
|
F_SSOLibMajorVersion = 1;
|
|
F_SSOLibMinorVersion = 0;
|
|
|
|
LIBID_F_SSOLib: TGUID = '{B4A95053-FACC-475C-B4D0-2C088102B67A}';
|
|
|
|
IID_IxSSO: TGUID = '{297141A5-424F-452D-9976-67AC98EC81B9}';
|
|
IID_IxFCustomInfo: TGUID = '{80FB062C-3D5D-11D6-A031-00D0B7909B4D}';
|
|
IID_IxFCustomInfo2: TGUID = '{F9EC8483-161B-4C60-A24E-1ABBBA7CA8C1}';
|
|
IID_IxFCustomInfo3: TGUID = '{659AAEF6-B512-4440-93E9-5E3B0E1B314C}';
|
|
CLASS_FasooSSO: TGUID = '{B1008C48-DB4F-4DA1-A62A-F58853DB061B}';
|
|
IID_IAuthSSO: TGUID = '{0E84DD9D-9F1A-4072-9014-EE1F6B655B01}';
|
|
CLASS_AuthSSO: TGUID = '{C381D71C-F02C-4099-88C8-FC75ECECF283}';
|
|
type
|
|
|
|
// *********************************************************************//
|
|
// Forward declaration of types defined in TypeLibrary
|
|
// *********************************************************************//
|
|
IxSSO = interface;
|
|
IxSSODisp = dispinterface;
|
|
IxFCustomInfo = interface;
|
|
IxFCustomInfoDisp = dispinterface;
|
|
IxFCustomInfo2 = interface;
|
|
IxFCustomInfo2Disp = dispinterface;
|
|
IxFCustomInfo3 = interface;
|
|
IxFCustomInfo3Disp = dispinterface;
|
|
IAuthSSO = interface;
|
|
IAuthSSODisp = dispinterface;
|
|
|
|
// *********************************************************************//
|
|
// Declaration of CoClasses defined in Type Library
|
|
// (NOTE: Here we map each CoClass to its Default Interface)
|
|
// *********************************************************************//
|
|
FasooSSO = IxSSO;
|
|
AuthSSO = IAuthSSO;
|
|
|
|
|
|
// *********************************************************************//
|
|
// Interface: IxSSO
|
|
// Flags: (4416) Dual OleAutomation Dispatchable
|
|
// GUID: {297141A5-424F-452D-9976-67AC98EC81B9}
|
|
// *********************************************************************//
|
|
IxSSO = interface(IDispatch)
|
|
['{297141A5-424F-452D-9976-67AC98EC81B9}']
|
|
function GetLastError: SYSUINT; safecall;
|
|
function GetVersion: WideString; safecall;
|
|
function IsLogon(const bstrDomain: WideString): SYSUINT; safecall;
|
|
function GetRights(const bstrDomain: WideString): WideString; safecall;
|
|
function GetUserInfoAll(const bstrDomain: WideString): WideString; safecall;
|
|
function GetUserInfo(const bstrDomain: WideString; const bstrItem: WideString): WideString; safecall;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// DispIntf: IxSSODisp
|
|
// Flags: (4416) Dual OleAutomation Dispatchable
|
|
// GUID: {297141A5-424F-452D-9976-67AC98EC81B9}
|
|
// *********************************************************************//
|
|
IxSSODisp = dispinterface
|
|
['{297141A5-424F-452D-9976-67AC98EC81B9}']
|
|
function GetLastError: SYSUINT; dispid 1610743808;
|
|
function GetVersion: WideString; dispid 1610743809;
|
|
function IsLogon(const bstrDomain: WideString): SYSUINT; dispid 1610743810;
|
|
function GetRights(const bstrDomain: WideString): WideString; dispid 1610743811;
|
|
function GetUserInfoAll(const bstrDomain: WideString): WideString; dispid 1610743812;
|
|
function GetUserInfo(const bstrDomain: WideString; const bstrItem: WideString): WideString; dispid 1610743813;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// Interface: IxFCustomInfo
|
|
// Flags: (4416) Dual OleAutomation Dispatchable
|
|
// GUID: {80FB062C-3D5D-11D6-A031-00D0B7909B4D}
|
|
// *********************************************************************//
|
|
IxFCustomInfo = interface(IDispatch)
|
|
['{80FB062C-3D5D-11D6-A031-00D0B7909B4D}']
|
|
function GetCustomInformation(out pwUserID: WideString; out pwUserPasswd: WideString;
|
|
out pwUserExData: WideString): SYSUINT; safecall;
|
|
function GetCustomUserID: WideString; safecall;
|
|
function GetCustomUserPasswd: WideString; safecall;
|
|
function GetCustomUserName: WideString; safecall;
|
|
function GetCustomUserEnName: WideString; safecall;
|
|
function GetCustomUserEmail: WideString; safecall;
|
|
function GetCustomUserDept: WideString; safecall;
|
|
function GetCustomUserRole: WideString; safecall;
|
|
function GetCustomUserPosition: WideString; safecall;
|
|
function GetCustomUserExData: WideString; safecall;
|
|
function GetLastError: SYSUINT; safecall;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// DispIntf: IxFCustomInfoDisp
|
|
// Flags: (4416) Dual OleAutomation Dispatchable
|
|
// GUID: {80FB062C-3D5D-11D6-A031-00D0B7909B4D}
|
|
// *********************************************************************//
|
|
IxFCustomInfoDisp = dispinterface
|
|
['{80FB062C-3D5D-11D6-A031-00D0B7909B4D}']
|
|
function GetCustomInformation(out pwUserID: WideString; out pwUserPasswd: WideString;
|
|
out pwUserExData: WideString): SYSUINT; dispid 1;
|
|
function GetCustomUserID: WideString; dispid 2;
|
|
function GetCustomUserPasswd: WideString; dispid 3;
|
|
function GetCustomUserName: WideString; dispid 4;
|
|
function GetCustomUserEnName: WideString; dispid 5;
|
|
function GetCustomUserEmail: WideString; dispid 6;
|
|
function GetCustomUserDept: WideString; dispid 7;
|
|
function GetCustomUserRole: WideString; dispid 8;
|
|
function GetCustomUserPosition: WideString; dispid 9;
|
|
function GetCustomUserExData: WideString; dispid 10;
|
|
function GetLastError: SYSUINT; dispid 11;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// Interface: IxFCustomInfo2
|
|
// Flags: (4416) Dual OleAutomation Dispatchable
|
|
// GUID: {F9EC8483-161B-4C60-A24E-1ABBBA7CA8C1}
|
|
// *********************************************************************//
|
|
IxFCustomInfo2 = interface(IxFCustomInfo)
|
|
['{F9EC8483-161B-4C60-A24E-1ABBBA7CA8C1}']
|
|
function GetVersion: WideString; safecall;
|
|
function IsLogonServer: SYSUINT; safecall;
|
|
function GetCustomUser(out pwID: WideString; out pwPasswd: WideString; out pwName: WideString;
|
|
out pwEnName: WideString; out pwEmail: WideString;
|
|
out pwDept: WideString; out pwPosition: WideString;
|
|
out pwRole: WideString; out pwExData: WideString): SYSUINT; safecall;
|
|
function GetCustomUserInfo(const bstrItemName: WideString): WideString; safecall;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// DispIntf: IxFCustomInfo2Disp
|
|
// Flags: (4416) Dual OleAutomation Dispatchable
|
|
// GUID: {F9EC8483-161B-4C60-A24E-1ABBBA7CA8C1}
|
|
// *********************************************************************//
|
|
IxFCustomInfo2Disp = dispinterface
|
|
['{F9EC8483-161B-4C60-A24E-1ABBBA7CA8C1}']
|
|
function GetVersion: WideString; dispid 1610809344;
|
|
function IsLogonServer: SYSUINT; dispid 1610809345;
|
|
function GetCustomUser(out pwID: WideString; out pwPasswd: WideString; out pwName: WideString;
|
|
out pwEnName: WideString; out pwEmail: WideString;
|
|
out pwDept: WideString; out pwPosition: WideString;
|
|
out pwRole: WideString; out pwExData: WideString): SYSUINT; dispid 1610809346;
|
|
function GetCustomUserInfo(const bstrItemName: WideString): WideString; dispid 1610809347;
|
|
function GetCustomInformation(out pwUserID: WideString; out pwUserPasswd: WideString;
|
|
out pwUserExData: WideString): SYSUINT; dispid 1;
|
|
function GetCustomUserID: WideString; dispid 2;
|
|
function GetCustomUserPasswd: WideString; dispid 3;
|
|
function GetCustomUserName: WideString; dispid 4;
|
|
function GetCustomUserEnName: WideString; dispid 5;
|
|
function GetCustomUserEmail: WideString; dispid 6;
|
|
function GetCustomUserDept: WideString; dispid 7;
|
|
function GetCustomUserRole: WideString; dispid 8;
|
|
function GetCustomUserPosition: WideString; dispid 9;
|
|
function GetCustomUserExData: WideString; dispid 10;
|
|
function GetLastError: SYSUINT; dispid 11;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// Interface: IxFCustomInfo3
|
|
// Flags: (4416) Dual OleAutomation Dispatchable
|
|
// GUID: {659AAEF6-B512-4440-93E9-5E3B0E1B314C}
|
|
// *********************************************************************//
|
|
IxFCustomInfo3 = interface(IxFCustomInfo2)
|
|
['{659AAEF6-B512-4440-93E9-5E3B0E1B314C}']
|
|
function GetFspInfo(const bstrFscPath: WideString; out pbstrFspInfo: WideString): SYSUINT; safecall;
|
|
function SetUserInfo(const bstrXID: WideString; const bstrID: WideString;
|
|
const bstrPasswd: WideString; const bstrName: WideString;
|
|
const bstrEnName: WideString; const bstrEmail: WideString;
|
|
const bstrDept: WideString; const bstrPosition: WideString;
|
|
const bstrRole: WideString; const bstrExData: WideString): SYSUINT; safecall;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// DispIntf: IxFCustomInfo3Disp
|
|
// Flags: (4416) Dual OleAutomation Dispatchable
|
|
// GUID: {659AAEF6-B512-4440-93E9-5E3B0E1B314C}
|
|
// *********************************************************************//
|
|
IxFCustomInfo3Disp = dispinterface
|
|
['{659AAEF6-B512-4440-93E9-5E3B0E1B314C}']
|
|
function GetFspInfo(const bstrFscPath: WideString; out pbstrFspInfo: WideString): SYSUINT; dispid 1610874880;
|
|
function SetUserInfo(const bstrXID: WideString; const bstrID: WideString;
|
|
const bstrPasswd: WideString; const bstrName: WideString;
|
|
const bstrEnName: WideString; const bstrEmail: WideString;
|
|
const bstrDept: WideString; const bstrPosition: WideString;
|
|
const bstrRole: WideString; const bstrExData: WideString): SYSUINT; dispid 1610874881;
|
|
function GetVersion: WideString; dispid 1610809344;
|
|
function IsLogonServer: SYSUINT; dispid 1610809345;
|
|
function GetCustomUser(out pwID: WideString; out pwPasswd: WideString; out pwName: WideString;
|
|
out pwEnName: WideString; out pwEmail: WideString;
|
|
out pwDept: WideString; out pwPosition: WideString;
|
|
out pwRole: WideString; out pwExData: WideString): SYSUINT; dispid 1610809346;
|
|
function GetCustomUserInfo(const bstrItemName: WideString): WideString; dispid 1610809347;
|
|
function GetCustomInformation(out pwUserID: WideString; out pwUserPasswd: WideString;
|
|
out pwUserExData: WideString): SYSUINT; dispid 1;
|
|
function GetCustomUserID: WideString; dispid 2;
|
|
function GetCustomUserPasswd: WideString; dispid 3;
|
|
function GetCustomUserName: WideString; dispid 4;
|
|
function GetCustomUserEnName: WideString; dispid 5;
|
|
function GetCustomUserEmail: WideString; dispid 6;
|
|
function GetCustomUserDept: WideString; dispid 7;
|
|
function GetCustomUserRole: WideString; dispid 8;
|
|
function GetCustomUserPosition: WideString; dispid 9;
|
|
function GetCustomUserExData: WideString; dispid 10;
|
|
function GetLastError: SYSUINT; dispid 11;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// Interface: IAuthSSO
|
|
// Flags: (4416) Dual OleAutomation Dispatchable
|
|
// GUID: {0E84DD9D-9F1A-4072-9014-EE1F6B655B01}
|
|
// *********************************************************************//
|
|
IAuthSSO = interface(IDispatch)
|
|
['{0E84DD9D-9F1A-4072-9014-EE1F6B655B01}']
|
|
function AuthenticateSSOServer(const bstrXID: WideString; out pbstrUserID: WideString;
|
|
out pbstrUserPasswd: WideString; out pbstrUserName: WideString;
|
|
out pbstrUserEnName: WideString; out pbstrEmail: WideString;
|
|
out pbstrDept: WideString; out pbstrPosition: WideString;
|
|
out pbstrRole: WideString; out pbstrUserExData: WideString): SYSUINT; safecall;
|
|
function DismissSSOServer(const bstrXID: WideString; const bstrID: WideString;
|
|
const bstrPasswd: WideString; const bstrName: WideString;
|
|
const bstrEnName: WideString; const bstrEmail: WideString;
|
|
const bstrDept: WideString; const bstrPosition: WideString;
|
|
const bstrRole: WideString; const bstrExData: WideString): SYSUINT; safecall;
|
|
function UserPolicyUpdate(const bstrXID: WideString; const bstrID: WideString;
|
|
const bstrReserve1: WideString; const bstrReserve2: WideString): SYSUINT; safecall;
|
|
function PasswordChange(const bstrXID: WideString; const bstrID: WideString;
|
|
var pbstrPasswd: WideString; const bstrPasswdChgURL: WideString): SYSUINT; safecall;
|
|
procedure CheckPincode; safecall;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// DispIntf: IAuthSSODisp
|
|
// Flags: (4416) Dual OleAutomation Dispatchable
|
|
// GUID: {0E84DD9D-9F1A-4072-9014-EE1F6B655B01}
|
|
// *********************************************************************//
|
|
IAuthSSODisp = dispinterface
|
|
['{0E84DD9D-9F1A-4072-9014-EE1F6B655B01}']
|
|
function AuthenticateSSOServer(const bstrXID: WideString; out pbstrUserID: WideString;
|
|
out pbstrUserPasswd: WideString; out pbstrUserName: WideString;
|
|
out pbstrUserEnName: WideString; out pbstrEmail: WideString;
|
|
out pbstrDept: WideString; out pbstrPosition: WideString;
|
|
out pbstrRole: WideString; out pbstrUserExData: WideString): SYSUINT; dispid 1;
|
|
function DismissSSOServer(const bstrXID: WideString; const bstrID: WideString;
|
|
const bstrPasswd: WideString; const bstrName: WideString;
|
|
const bstrEnName: WideString; const bstrEmail: WideString;
|
|
const bstrDept: WideString; const bstrPosition: WideString;
|
|
const bstrRole: WideString; const bstrExData: WideString): SYSUINT; dispid 2;
|
|
function UserPolicyUpdate(const bstrXID: WideString; const bstrID: WideString;
|
|
const bstrReserve1: WideString; const bstrReserve2: WideString): SYSUINT; dispid 3;
|
|
function PasswordChange(const bstrXID: WideString; const bstrID: WideString;
|
|
var pbstrPasswd: WideString; const bstrPasswdChgURL: WideString): SYSUINT; dispid 4;
|
|
procedure CheckPincode; dispid 5;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// The Class CoFasooSSO provides a Create and CreateRemote method to
|
|
// create instances of the default interface IxSSO exposed by
|
|
// the CoClass FasooSSO. The functions are intended to be used by
|
|
// clients wishing to automate the CoClass objects exposed by the
|
|
// server of this typelibrary.
|
|
// *********************************************************************//
|
|
CoFasooSSO = class
|
|
class function Create: IxSSO;
|
|
class function CreateRemote(const MachineName: string): IxSSO;
|
|
end;
|
|
|
|
// *********************************************************************//
|
|
// The Class CoAuthSSO provides a Create and CreateRemote method to
|
|
// create instances of the default interface IAuthSSO exposed by
|
|
// the CoClass AuthSSO. The functions are intended to be used by
|
|
// clients wishing to automate the CoClass objects exposed by the
|
|
// server of this typelibrary.
|
|
// *********************************************************************//
|
|
CoAuthSSO = class
|
|
class function Create: IAuthSSO;
|
|
class function CreateRemote(const MachineName: string): IAuthSSO;
|
|
end;
|
|
|
|
implementation
|
|
|
|
uses System.Win.ComObj;
|
|
|
|
class function CoFasooSSO.Create: IxSSO;
|
|
begin
|
|
Result := CreateComObject(CLASS_FasooSSO) as IxSSO;
|
|
end;
|
|
|
|
class function CoFasooSSO.CreateRemote(const MachineName: string): IxSSO;
|
|
begin
|
|
Result := CreateRemoteComObject(MachineName, CLASS_FasooSSO) as IxSSO;
|
|
end;
|
|
|
|
class function CoAuthSSO.Create: IAuthSSO;
|
|
begin
|
|
Result := CreateComObject(CLASS_AuthSSO) as IAuthSSO;
|
|
end;
|
|
|
|
class function CoAuthSSO.CreateRemote(const MachineName: string): IAuthSSO;
|
|
begin
|
|
Result := CreateRemoteComObject(MachineName, CLASS_AuthSSO) as IAuthSSO;
|
|
end;
|
|
|
|
end.
|
|
{$ELSE}
|
|
interface
|
|
|
|
implementation
|
|
|
|
end.
|
|
{$ENDIF} // _CJ_
|