eap_error_runtime introduced
This commit is contained in:
parent
21ba0dfc5f
commit
d7d314f128
@ -62,7 +62,7 @@ namespace winstd
|
|||||||
typedef std::unique_ptr<BYTE[], EapHostPeerFreeRuntimeMemory_delete> WINSTD_API eap_blob_runtime;
|
typedef std::unique_ptr<BYTE[], EapHostPeerFreeRuntimeMemory_delete> WINSTD_API eap_blob_runtime;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Deleter for unique_ptr to EAP_ERROR using EapHostPeerFreeEapError
|
/// Deleter for unique_ptr to EAP_ERROR using EapHostPeerFreeErrorMemory
|
||||||
///
|
///
|
||||||
struct WINSTD_API EapHostPeerFreeErrorMemory_delete;
|
struct WINSTD_API EapHostPeerFreeErrorMemory_delete;
|
||||||
|
|
||||||
@ -71,6 +71,16 @@ namespace winstd
|
|||||||
///
|
///
|
||||||
typedef std::unique_ptr<EAP_ERROR, EapHostPeerFreeErrorMemory_delete> WINSTD_API eap_error;
|
typedef std::unique_ptr<EAP_ERROR, EapHostPeerFreeErrorMemory_delete> WINSTD_API eap_error;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Deleter for unique_ptr to EAP_ERROR using EapHostPeerFreeEapError
|
||||||
|
///
|
||||||
|
struct WINSTD_API EapHostPeerFreeEapError_delete;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// EAP_ERROR wrapper class
|
||||||
|
///
|
||||||
|
typedef std::unique_ptr<EAP_ERROR, EapHostPeerFreeEapError_delete> WINSTD_API eap_error_runtime;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// EAP_ATTRIBUTE wrapper class
|
/// EAP_ATTRIBUTE wrapper class
|
||||||
///
|
///
|
||||||
@ -225,6 +235,23 @@ namespace winstd
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
struct WINSTD_API EapHostPeerFreeEapError_delete
|
||||||
|
{
|
||||||
|
///
|
||||||
|
/// Default constructor
|
||||||
|
///
|
||||||
|
EapHostPeerFreeEapError_delete() {}
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Delete a pointer
|
||||||
|
///
|
||||||
|
void operator()(EAP_ERROR *_Ptr) const
|
||||||
|
{
|
||||||
|
EapHostPeerFreeEapError(_Ptr);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
class WINSTD_API __declspec(novtable) eap_attr : public EAP_ATTRIBUTE
|
class WINSTD_API __declspec(novtable) eap_attr : public EAP_ATTRIBUTE
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user