Template EPs
This commit is contained in:
parent
9d92d6ef39
commit
c3202c200a
|
@ -0,0 +1,20 @@
|
|||
#include <Windows.h>
|
||||
|
||||
#pragma comment(linker, "/entry:__EntryPointEx")
|
||||
#pragma comment(linker, "/subsystem:windows")
|
||||
|
||||
INT __EntryPointEx(VOID)
|
||||
{
|
||||
DWORD dwError = ERROR_SUCCESS;
|
||||
BOOL bFlag = FALSE;
|
||||
|
||||
|
||||
bFlag = TRUE;
|
||||
|
||||
EXIT_ROUTINE:
|
||||
|
||||
if (!bFlag)
|
||||
dwError = GetLastError();
|
||||
|
||||
return dwError;
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
#include <Windows.h>
|
||||
|
||||
INT main(VOID)
|
||||
{
|
||||
DWORD dwError = ERROR_SUCCESS;
|
||||
BOOL bFlag = FALSE;
|
||||
|
||||
|
||||
bFlag = TRUE;
|
||||
|
||||
EXIT_ROUTINE:
|
||||
|
||||
if (!bFlag)
|
||||
dwError = GetLastError();
|
||||
|
||||
return dwError;
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
#include <Windows.h>
|
||||
|
||||
#pragma comment(linker, "/subsystem:windows")
|
||||
|
||||
int APIENTRY wWinMain(_In_ HINSTANCE hInst,
|
||||
_In_opt_ HINSTANCE hInstPrev,
|
||||
_In_ PWSTR cmdline,
|
||||
_In_ INT cmdshow)
|
||||
{
|
||||
DWORD dwError = ERROR_SUCCESS;
|
||||
BOOL bFlag = FALSE;
|
||||
|
||||
|
||||
bFlag = TRUE;
|
||||
|
||||
EXIT_ROUTINE:
|
||||
|
||||
if (!bFlag)
|
||||
dwError = GetLastError();
|
||||
|
||||
return dwError;
|
||||
}
|
Loading…
Reference in New Issue