summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkModulePkg/Include
diff options
context:
space:
mode:
authorgdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-01 06:13:04 +0000
committergdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-01 06:13:04 +0000
commit337661bb8c981400d3a0c93d0d49a65f2e4eed8c (patch)
treef0006c23d91b321610094e45c22cae0f3e72ce0c /IntelFrameworkModulePkg/Include
parent7d6cdbc8dd3efda6ccdbc919a51b5c0adff4beaa (diff)
downloadedk2-337661bb8c981400d3a0c93d0d49a65f2e4eed8c.tar.gz
edk2-337661bb8c981400d3a0c93d0d49a65f2e4eed8c.tar.bz2
edk2-337661bb8c981400d3a0c93d0d49a65f2e4eed8c.zip
Add BdsLibUserIdentify API in GenericBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9897 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Include')
-rw-r--r--IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
index a9b89316bf..8a0311597a 100644
--- a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
+++ b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
@@ -18,6 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _GENERIC_BDS_LIB_H_
#define _GENERIC_BDS_LIB_H_
+#include <Protocol/UserManager.h>
extern EFI_HANDLE mBdsImageHandle;
///
@@ -952,6 +953,21 @@ BdsLibSaveMemoryTypeInformation (
VOID
);
+/**
+ Identify a user and, if authenticated, returns the current user profile handle.
+
+ @param[out] User Point to user profile handle.
+
+ @retval EFI_SUCCESS User is successfully identified, or user identification
+ is not supported.
+ @retval EFI_ACCESS_DENIED User is not successfully identified
+
+**/
+EFI_STATUS
+EFIAPI
+BdsLibUserIdentify (
+ OUT EFI_USER_PROFILE_HANDLE *User
+ );
/**
This function checks if a Fv file device path is valid, according to a file GUID. If it is invalid,