Unify struct definitions (#7633)

* Unified enum/struct definitions, fixed include issues

* Fixed mac compilation issues

* Added missing include

* Fixed windows server build warnings

* Fixed VS2010 build issue

* Removed unnecessary library linking

* Fixed ThreadPool WinXP compatibility

* Fixed pr review remarks
This commit is contained in:
akallabeth
2022-02-14 13:59:22 +00:00
committed by GitHub
parent e27a7e834e
commit 8cc6582044
334 changed files with 1980 additions and 2635 deletions

View File

@@ -41,18 +41,7 @@
#define TAG CHANNELS_TAG("smartcard.client")
typedef struct _SMARTCARD_DEVICE SMARTCARD_DEVICE;
struct _SMARTCARD_CONTEXT
{
HANDLE thread;
SCARDCONTEXT hContext;
wMessageQueue* IrpQueue;
SMARTCARD_DEVICE* smartcard;
};
typedef struct _SMARTCARD_CONTEXT SMARTCARD_CONTEXT;
struct _SMARTCARD_DEVICE
typedef struct
{
DEVICE device;
@@ -61,6 +50,14 @@ struct _SMARTCARD_DEVICE
wMessageQueue* IrpQueue;
wListDictionary* rgOutstandingMessages;
rdpContext* rdpcontext;
};
} SMARTCARD_DEVICE;
typedef struct
{
HANDLE thread;
SCARDCONTEXT hContext;
wMessageQueue* IrpQueue;
SMARTCARD_DEVICE* smartcard;
} SMARTCARD_CONTEXT;
#endif /* FREERDP_CHANNEL_SMARTCARD_CLIENT_MAIN_H */