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
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to