草庐IT

GetCurrentDirectoryA

全部标签

windows - 使用 windbg 检查传递给函数的参数

我正在研究Windows系统编程第4课中的一些示例。使用windbg.exe我正在尝试检查传递给函数(GetCurrentDirectoryA)的参数。以下是来源。int_tmain(intargc,LPTSTRargv[]){/*BuffertoreceivecurrentdirectoryallowsfortheCR,LFattheendofthelongestpossiblepath.*/TCHARpwdBuffer[DIRNAME_LEN];DWORDlenCurDir;lenCurDir=GetCurrentDirectory(DIRNAME_LEN,pwdBuffer);i