SCardFreeMemory non const argument.
This commit is contained in:
parent
37e850cb24
commit
2acce6214c
@ -681,7 +681,7 @@ extern "C"
|
|||||||
WINSCARDAPI LONG WINAPI SCardForgetCardTypeA(SCARDCONTEXT hContext, LPCSTR szCardName);
|
WINSCARDAPI LONG WINAPI SCardForgetCardTypeA(SCARDCONTEXT hContext, LPCSTR szCardName);
|
||||||
WINSCARDAPI LONG WINAPI SCardForgetCardTypeW(SCARDCONTEXT hContext, LPCWSTR szCardName);
|
WINSCARDAPI LONG WINAPI SCardForgetCardTypeW(SCARDCONTEXT hContext, LPCWSTR szCardName);
|
||||||
|
|
||||||
WINSCARDAPI LONG WINAPI SCardFreeMemory(SCARDCONTEXT hContext, LPCVOID pvMem);
|
WINSCARDAPI LONG WINAPI SCardFreeMemory(SCARDCONTEXT hContext, LPVOID pvMem);
|
||||||
|
|
||||||
WINSCARDAPI HANDLE WINAPI SCardAccessStartedEvent(void);
|
WINSCARDAPI HANDLE WINAPI SCardAccessStartedEvent(void);
|
||||||
|
|
||||||
@ -959,7 +959,7 @@ typedef LONG(WINAPI* fnSCardSetCardTypeProviderNameW)(SCARDCONTEXT hContext, LPC
|
|||||||
typedef LONG(WINAPI* fnSCardForgetCardTypeA)(SCARDCONTEXT hContext, LPCSTR szCardName);
|
typedef LONG(WINAPI* fnSCardForgetCardTypeA)(SCARDCONTEXT hContext, LPCSTR szCardName);
|
||||||
typedef LONG(WINAPI* fnSCardForgetCardTypeW)(SCARDCONTEXT hContext, LPCWSTR szCardName);
|
typedef LONG(WINAPI* fnSCardForgetCardTypeW)(SCARDCONTEXT hContext, LPCWSTR szCardName);
|
||||||
|
|
||||||
typedef LONG(WINAPI* fnSCardFreeMemory)(SCARDCONTEXT hContext, LPCVOID pvMem);
|
typedef LONG(WINAPI* fnSCardFreeMemory)(SCARDCONTEXT hContext, LPVOID pvMem);
|
||||||
|
|
||||||
typedef HANDLE(WINAPI* fnSCardAccessStartedEvent)(void);
|
typedef HANDLE(WINAPI* fnSCardAccessStartedEvent)(void);
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include "smartcard_inspect.h"
|
#include "smartcard_inspect.h"
|
||||||
|
|
||||||
static INIT_ONCE g_Initialized = INIT_ONCE_STATIC_INIT;
|
static INIT_ONCE g_Initialized = INIT_ONCE_STATIC_INIT;
|
||||||
static PSCardApiFunctionTable g_SCardApi = NULL;
|
static const SCardApiFunctionTable* g_SCardApi = NULL;
|
||||||
|
|
||||||
#define TAG WINPR_TAG("smartcard")
|
#define TAG WINPR_TAG("smartcard")
|
||||||
|
|
||||||
@ -296,7 +296,7 @@ WINSCARDAPI LONG WINAPI SCardForgetCardTypeW(SCARDCONTEXT hContext, LPCWSTR szCa
|
|||||||
SCARDAPI_STUB_CALL_LONG(SCardForgetCardTypeW, hContext, szCardName);
|
SCARDAPI_STUB_CALL_LONG(SCardForgetCardTypeW, hContext, szCardName);
|
||||||
}
|
}
|
||||||
|
|
||||||
WINSCARDAPI LONG WINAPI SCardFreeMemory(SCARDCONTEXT hContext, LPCVOID pvMem)
|
WINSCARDAPI LONG WINAPI SCardFreeMemory(SCARDCONTEXT hContext, LPVOID pvMem)
|
||||||
{
|
{
|
||||||
SCARDAPI_STUB_CALL_LONG(SCardFreeMemory, hContext, pvMem);
|
SCARDAPI_STUB_CALL_LONG(SCardFreeMemory, hContext, pvMem);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user