在注册表中定义了mp3文件用selfplayer.exe自动打开 selfplayer.exe是自己写的应用程序,在这里面有一个WinMain(),请问如果点击a.mp3文件,这个时候向WinMain()传进去的是什么参数呢?
int WINAPI WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPWSTR lpCmdLine,
int nCmdShow
)
里面各个参数是什么呢? 谢谢
int WINAPI WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPWSTR lpCmdLine,
int nCmdShow
)
里面各个参数是什么呢? 谢谢
[in] Pointer to a null-terminated string specifying the command line for the application, excluding the program name. To retrieve the entire command line, use the GetCommandLine function.