mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 09:20:40 +00:00
include: Add IJsonValueStatics interface definition.
This commit is contained in:
parent
c490335df4
commit
4c81ee3f8a
|
@ -114,6 +114,20 @@ namespace Windows.Data.Json {
|
|||
HRESULT GetObject([out, retval] Windows.Data.Json.JsonObject **value);
|
||||
}
|
||||
|
||||
[
|
||||
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||
exclusiveto(Windows.Data.Json.JsonValue),
|
||||
uuid(5f6b544a-2f53-48e1-91a3-f78b50a6345c)
|
||||
]
|
||||
interface IJsonValueStatics : IInspectable
|
||||
{
|
||||
HRESULT Parse([in] HSTRING input, [out, retval] Windows.Data.Json.JsonValue **value);
|
||||
HRESULT TryParse([in] HSTRING input, [out] Windows.Data.Json.JsonValue **result, [out, retval] boolean *succeeded);
|
||||
HRESULT CreateBooleanValue([in] boolean input, [out, retval] Windows.Data.Json.JsonValue **value);
|
||||
HRESULT CreateNumberValue([in] DOUBLE input, [out, retval] Windows.Data.Json.JsonValue **value);
|
||||
HRESULT CreateStringValue([in] HSTRING input, [out, retval] Windows.Data.Json.JsonValue **value);
|
||||
}
|
||||
|
||||
[
|
||||
activatable(Windows.Foundation.UniversalApiContract, 1.0),
|
||||
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||
|
|
Loading…
Reference in a new issue