samlib.h

来自「一个类似windows」· C头文件 代码 · 共 54 行

H
54
字号
/* $Id: samlib.h 16363 2005-07-01 03:25:35Z ion $
*/
/*
 * samlib.h
 *
 * Security Account Manager API, native interface
 *
 * This file is part of the ReactOS Operating System.
 *
 * Contributors:
 *  Created by Eric Kohl <ekohl@rz-online.de>
 *
 *  THIS SOFTWARE IS NOT COPYRIGHTED
 *
 *  This source code is offered for use in the public domain. You may
 *  use, modify or distribute it freely.
 *
 *  This code is distributed in the hope that it will be useful but
 *  WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
 *  DISCLAMED. This includes but is not limited to warranties of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 */

#ifndef __SAMLIB_H_INCLUDED__
#define __SAMLIB_H_INCLUDED__


BOOL STDCALL
SamInitializeSAM (VOID);

BOOL STDCALL
SamGetDomainSid (PSID *Sid);

BOOL STDCALL
SamSetDomainSid (PSID Sid);

BOOL STDCALL
SamCreateUser (PWSTR UserName,
	       PWSTR UserPassword,
	       PSID UserSid);

BOOL STDCALL
SamCheckUserPassword (PWSTR UserName,
		      PWSTR UserPassword);

BOOL STDCALL
SamGetUserSid (PWSTR UserName,
	       PSID *Sid);

#endif /* __SAMLIB_H_INCLUDED__ */

/* EOF */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?