mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user