-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,18 @@ namespace Windows.Win32.Foundation | |
{ | ||
public static unsafe partial class Apis | ||
{ | ||
[NativeTypeName("BOOL")] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
kennykerr
Contributor
|
||
public const int TRUE = 1; | ||
|
||
[NativeTypeName("BOOL")] | ||
public const int FALSE = 0; | ||
|
||
[NativeTypeName("VARIANT_BOOL")] | ||
public const short VARIANT_TRUE = -1; | ||
|
||
[NativeTypeName("VARIANT_BOOL")] | ||
public const short VARIANT_FALSE = 0; | ||
|
||
[NativeTypeName("HANDLE")] | ||
public const int INVALID_HANDLE_VALUE = -1; | ||
|
||
|
What is
NativeTypeName
? I've not seen this before. It's not clear to me why we need an attribute for this.