Skip to content

Commit 1e5d673

Browse files
authored
le trolle
1 parent 9421d6d commit 1e5d673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sfi/SingleFileInjector/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ BOOL WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
3333
COMDLG_FILTERSPEC pFileType[] = {
3434
L"Injectable Modules", L"*.dll"
3535
};
36-
if (CoCreateInstance(CLSID_FileOpenDialog, NULL, CLSCTX_ALL, IID_IFileOpenDialog, (void**)(&pFileDialog)) >= 0) {
36+
if (CoCreateInstance(CLSID_FileOpenDialog, NULL, CLSCTX_ALL, IID_IFileOpenDialog, (PVOID*)(&pFileDialog)) >= 0) {
3737
pFileDialog->SetFileTypes(1, pFileType);
3838
if (pFileDialog->Show(NULL) >= 0) {
3939
IShellItem* pDLL;
@@ -62,4 +62,4 @@ BOOL WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
6262
free(pNTOpenFileOriginal);
6363
CloseHandle(hProc);
6464
return TRUE;
65-
}
65+
}

0 commit comments

Comments
 (0)