The GetCurrentPDB function has been deleted. It is x86 specific and cannot be used in Win32.
Use the GetCommandLine and GetEnvironmentStrings functions.
GetCommandLine, GetEnvironmentStrings