高手们看过来,调用CreateRemoteThread的问题。
请问高手们,我在调用CreateRemoteThread时返回为NULL,GetLastError返回错误代码为8(Not enough storage is available to process this command.),是何原因?函数原型如下:
HANDLE CreateRemoteThread(
HANDLE hProcess, // handle to process
LPSECURITY_ATTRIBUTES lpThreadAttributes, // SD
SIZE_T dwStackSize, // initial stack size
LPTHREAD_START_ROUTINE lpStartAddress, // thread function
LPVOID lpParameter, // thread argument
DWORD dwCreationFlags, // creation option
LPDWORD lpThreadId // thread identifier
);