Re: [edk2] How can I get Current Directory?

Subject: Re: [edk2] How can I get Current Directory?

From: "Carsey, Jaben" <jaben.carsey@intel.com>

To: "jooyoung.nam@samsung.com" <jooyoung.nam@samsung.com>, "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2014-01-11 01:14:10

What API is returning 3?

-Jaben
 
-----Original Message-----
From:  [mailto:jooyoung.nam@samsung.com] 
Sent: Thursday, January 09, 2014 10:56 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] How can I get Current Directory?


Dear All,

I am developing application by using DuetPkgX64.dsc.
I want to know current directory of my program so I`m try to get  EfiShellprotocol.
It return Error(3 : EFO_UNSUPPORT);
Is there other way to get current directory?

EFI_SHELL_PRTOCOL *tEfiShellProtocol = NULL; Status = gBS->OpenProtocol(
                                ImageHandle,
                                &gEfiShellProtocolGuid,
                                (VOID **)&tEfiShellProtocol,
                                ImageHandle,
                                NULL,
                                EFI_OPEN_PROTOCOL_GET_PROTOCOL
                               );                               

Thanks.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel