Skip to content

Commit

Permalink
Fix incorrect function typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
jp9000 committed Aug 1, 2015
1 parent 247859b commit 2442a8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ static void LogModule(CTSTR lpModuleName, HMODULE addr)
#endif
}

typedef DWORD (WINAPI *GETFILEVERSIONINFOSIZEWPROC)(LPCWSTR module, DWORD unused);
typedef DWORD (WINAPI *GETFILEVERSIONINFOWPROC)(LPCWSTR module, DWORD unused, DWORD len, LPVOID data);
typedef DWORD (WINAPI *VERQUERYVALUEWPROC)(LPVOID data, LPCWSTR subblock, LPVOID *buf, PUINT sizeout);
typedef DWORD (WINAPI *GETFILEVERSIONINFOSIZEWPROC)(LPCWSTR module, LPDWORD unused);
typedef BOOL (WINAPI *GETFILEVERSIONINFOWPROC)(LPCWSTR module, DWORD unused, DWORD len, LPVOID data);
typedef BOOL (WINAPI *VERQUERYVALUEWPROC)(LPVOID data, LPCWSTR subblock, LPVOID *buf, PUINT sizeout);

static void LogWindowsVersion()
{
Expand Down

0 comments on commit 2442a8d

Please sign in to comment.