Skip to content

Commit

Permalink
Use Microsoft source-code annotation language (SAL) _tWinMain definition
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier committed Feb 13, 2021
1 parent c8017a1 commit 2df23c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shairport4w.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ int Run(LPTSTR lpstrCmdLine = NULL)
/////////////////////////////////////////////////////////////////////
// _tWinMain

int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPTSTR lpstrCmdLine, int nCmdShow)
int WINAPI _tWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE /*hPrevInstance*/, _In_ LPTSTR lpstrCmdLine, _In_ int nCmdShow)
{
HRESULT hRes = ::CoInitializeEx(NULL, COINIT_MULTITHREADED);
ATLASSERT(SUCCEEDED(hRes));
Expand Down

0 comments on commit 2df23c9

Please sign in to comment.