Skip to content

Commit

Permalink
See preceding commit bbae4bb : function pointers returned by GetProcA…
Browse files Browse the repository at this point in the history
…ddress( ) are FARPROCs.
  • Loading branch information
Bill-Gray committed Apr 16, 2023
1 parent bbae4bb commit 28cbcfc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions wincon/pdcscrn.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,8 @@ typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX {
typedef CONSOLE_SCREEN_BUFFER_INFOEX *PCONSOLE_SCREEN_BUFFER_INFOEX;
#endif

typedef BOOL (WINAPI *SetConsoleScreenBufferInfoExFn)(HANDLE hConsoleOutput,
PCONSOLE_SCREEN_BUFFER_INFOEX lpConsoleScreenBufferInfoEx);
typedef BOOL (WINAPI *GetConsoleScreenBufferInfoExFn)(HANDLE hConsoleOutput,
PCONSOLE_SCREEN_BUFFER_INFOEX lpConsoleScreenBufferInfoEx);
typedef FARPROC SetConsoleScreenBufferInfoExFn;
typedef FARPROC GetConsoleScreenBufferInfoExFn;

static SetConsoleScreenBufferInfoExFn pSetConsoleScreenBufferInfoEx = NULL;
static GetConsoleScreenBufferInfoExFn pGetConsoleScreenBufferInfoEx = NULL;
Expand Down

0 comments on commit 28cbcfc

Please sign in to comment.