@@ -163,31 +163,35 @@ internal static class NativeMethods {
163163#region steamencryptedappticket.h
164164 [ DllImport ( NativeLibrary_SDKEncryptedAppTicket , CallingConvention = CallingConvention . Cdecl ) ]
165165 [ return : MarshalAs ( UnmanagedType . I1 ) ]
166- public static extern bool SteamEncryptedAppTicket_BDecryptTicket ( byte [ ] rgubTicketEncrypted , uint cubTicketEncrypted , byte [ ] rgubTicketDecrypted , ref uint pcubTicketDecrypted , [ MarshalAs ( UnmanagedType . LPArray , SizeConst = Constants . k_nSteamEncryptedAppTicketSymmetricKeyLen ) ] byte [ ] rgubKey , int cubKey ) ;
166+ public static extern bool SteamEncryptedAppTicket_BDecryptTicket ( [ In , Out ] byte [ ] rgubTicketEncrypted , uint cubTicketEncrypted , [ In , Out ] byte [ ] rgubTicketDecrypted , ref uint pcubTicketDecrypted , [ MarshalAs ( UnmanagedType . LPArray , SizeConst = Constants . k_nSteamEncryptedAppTicketSymmetricKeyLen ) ] byte [ ] rgubKey , int cubKey ) ;
167167
168168 [ DllImport ( NativeLibrary_SDKEncryptedAppTicket , CallingConvention = CallingConvention . Cdecl ) ]
169169 [ return : MarshalAs ( UnmanagedType . I1 ) ]
170- public static extern bool SteamEncryptedAppTicket_BIsTicketForApp ( byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted , AppId_t nAppID ) ;
170+ public static extern bool SteamEncryptedAppTicket_BIsTicketForApp ( [ In , Out ] byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted , AppId_t nAppID ) ;
171171
172172 [ DllImport ( NativeLibrary_SDKEncryptedAppTicket , CallingConvention = CallingConvention . Cdecl ) ]
173- public static extern uint SteamEncryptedAppTicket_GetTicketIssueTime ( byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted ) ;
173+ public static extern uint SteamEncryptedAppTicket_GetTicketIssueTime ( [ In , Out ] byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted ) ;
174174
175175 [ DllImport ( NativeLibrary_SDKEncryptedAppTicket , CallingConvention = CallingConvention . Cdecl ) ]
176- public static extern void SteamEncryptedAppTicket_GetTicketSteamID ( byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted , out CSteamID psteamID ) ;
176+ public static extern void SteamEncryptedAppTicket_GetTicketSteamID ( [ In , Out ] byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted , out CSteamID psteamID ) ;
177177
178178 [ DllImport ( NativeLibrary_SDKEncryptedAppTicket , CallingConvention = CallingConvention . Cdecl ) ]
179- public static extern uint SteamEncryptedAppTicket_GetTicketAppID ( byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted ) ;
179+ public static extern uint SteamEncryptedAppTicket_GetTicketAppID ( [ In , Out ] byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted ) ;
180180
181181 [ DllImport ( NativeLibrary_SDKEncryptedAppTicket , CallingConvention = CallingConvention . Cdecl ) ]
182182 [ return : MarshalAs ( UnmanagedType . I1 ) ]
183- public static extern bool SteamEncryptedAppTicket_BUserOwnsAppInTicket ( byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted , AppId_t nAppID ) ;
183+ public static extern bool SteamEncryptedAppTicket_BUserOwnsAppInTicket ( [ In , Out ] byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted , AppId_t nAppID ) ;
184184
185185 [ DllImport ( NativeLibrary_SDKEncryptedAppTicket , CallingConvention = CallingConvention . Cdecl ) ]
186186 [ return : MarshalAs ( UnmanagedType . I1 ) ]
187- public static extern bool SteamEncryptedAppTicket_BUserIsVacBanned ( byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted ) ;
187+ public static extern bool SteamEncryptedAppTicket_BUserIsVacBanned ( [ In , Out ] byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted ) ;
188188
189189 [ DllImport ( NativeLibrary_SDKEncryptedAppTicket , CallingConvention = CallingConvention . Cdecl ) ]
190- public static extern IntPtr SteamEncryptedAppTicket_GetUserVariableData ( byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted , out uint pcubUserData ) ;
190+ public static extern IntPtr SteamEncryptedAppTicket_GetUserVariableData ( [ In , Out ] byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted , out uint pcubUserData ) ;
191+
192+ [ DllImport ( NativeLibrary_SDKEncryptedAppTicket , CallingConvention = CallingConvention . Cdecl ) ]
193+ [ return : MarshalAs ( UnmanagedType . I1 ) ]
194+ public static extern bool SteamEncryptedAppTicket_BIsTicketSigned ( [ In , Out ] byte [ ] rgubTicketDecrypted , uint cubTicketDecrypted , [ In , Out ] byte [ ] pubRSAKey , uint cubRSAKey ) ;
191195#endregion
192196#region SteamAppList
193197 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamAppList_GetNumInstalledApps" , CallingConvention = CallingConvention . Cdecl ) ]
@@ -445,7 +449,7 @@ internal static class NativeMethods {
445449 public static extern void ISteamController_DeactivateAllActionSetLayers ( IntPtr instancePtr , ControllerHandle_t controllerHandle ) ;
446450
447451 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamController_GetActiveActionSetLayers" , CallingConvention = CallingConvention . Cdecl ) ]
448- public static extern int ISteamController_GetActiveActionSetLayers ( IntPtr instancePtr , ControllerHandle_t controllerHandle , out ControllerActionSetHandle_t handlesOut ) ;
452+ public static extern int ISteamController_GetActiveActionSetLayers ( IntPtr instancePtr , ControllerHandle_t controllerHandle , [ In , Out ] ControllerActionSetHandle_t [ ] handlesOut ) ;
449453
450454 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamController_GetDigitalActionHandle" , CallingConvention = CallingConvention . Cdecl ) ]
451455 public static extern ulong ISteamController_GetDigitalActionHandle ( IntPtr instancePtr , InteropHelp . UTF8StringHandle pszActionName ) ;
@@ -513,6 +517,10 @@ internal static class NativeMethods {
513517
514518 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamController_TranslateActionOrigin" , CallingConvention = CallingConvention . Cdecl ) ]
515519 public static extern EControllerActionOrigin ISteamController_TranslateActionOrigin ( IntPtr instancePtr , ESteamInputType eDestinationInputType , EControllerActionOrigin eSourceOrigin ) ;
520+
521+ [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamController_GetControllerBindingRevision" , CallingConvention = CallingConvention . Cdecl ) ]
522+ [ return : MarshalAs ( UnmanagedType . I1 ) ]
523+ public static extern bool ISteamController_GetControllerBindingRevision ( IntPtr instancePtr , ControllerHandle_t controllerHandle , out int pMajor , out int pMinor ) ;
516524#endregion
517525#region SteamFriends
518526 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamFriends_GetPersonaName" , CallingConvention = CallingConvention . Cdecl ) ]
@@ -1178,7 +1186,7 @@ internal static class NativeMethods {
11781186 public static extern void ISteamInput_DeactivateAllActionSetLayers ( IntPtr instancePtr , InputHandle_t inputHandle ) ;
11791187
11801188 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamInput_GetActiveActionSetLayers" , CallingConvention = CallingConvention . Cdecl ) ]
1181- public static extern int ISteamInput_GetActiveActionSetLayers ( IntPtr instancePtr , InputHandle_t inputHandle , out InputActionSetHandle_t handlesOut ) ;
1189+ public static extern int ISteamInput_GetActiveActionSetLayers ( IntPtr instancePtr , InputHandle_t inputHandle , [ In , Out ] InputActionSetHandle_t [ ] handlesOut ) ;
11821190
11831191 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamInput_GetDigitalActionHandle" , CallingConvention = CallingConvention . Cdecl ) ]
11841192 public static extern ulong ISteamInput_GetDigitalActionHandle ( IntPtr instancePtr , InteropHelp . UTF8StringHandle pszActionName ) ;
@@ -1246,6 +1254,10 @@ internal static class NativeMethods {
12461254
12471255 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamInput_TranslateActionOrigin" , CallingConvention = CallingConvention . Cdecl ) ]
12481256 public static extern EInputActionOrigin ISteamInput_TranslateActionOrigin ( IntPtr instancePtr , ESteamInputType eDestinationInputType , EInputActionOrigin eSourceOrigin ) ;
1257+
1258+ [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamInput_GetDeviceBindingRevision" , CallingConvention = CallingConvention . Cdecl ) ]
1259+ [ return : MarshalAs ( UnmanagedType . I1 ) ]
1260+ public static extern bool ISteamInput_GetDeviceBindingRevision ( IntPtr instancePtr , InputHandle_t inputHandle , out int pMajor , out int pMinor ) ;
12491261#endregion
12501262#region SteamInventory
12511263 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamInventory_GetResultStatus" , CallingConvention = CallingConvention . Cdecl ) ]
@@ -2219,6 +2231,10 @@ internal static class NativeMethods {
22192231 [ return : MarshalAs ( UnmanagedType . I1 ) ]
22202232 public static extern bool ISteamUGC_GetQueryUGCKeyValueTag ( IntPtr instancePtr , UGCQueryHandle_t handle , uint index , uint keyValueTagIndex , IntPtr pchKey , uint cchKeySize , IntPtr pchValue , uint cchValueSize ) ;
22212233
2234+ [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag0" , CallingConvention = CallingConvention . Cdecl ) ]
2235+ [ return : MarshalAs ( UnmanagedType . I1 ) ]
2236+ public static extern bool ISteamUGC_GetQueryUGCKeyValueTag0 ( IntPtr instancePtr , UGCQueryHandle_t handle , uint index , InteropHelp . UTF8StringHandle pchKey , IntPtr pchValue , uint cchValueSize ) ;
2237+
22222238 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUGC_ReleaseQueryUGCRequest" , CallingConvention = CallingConvention . Cdecl ) ]
22232239 [ return : MarshalAs ( UnmanagedType . I1 ) ]
22242240 public static extern bool ISteamUGC_ReleaseQueryUGCRequest ( IntPtr instancePtr , UGCQueryHandle_t handle ) ;
@@ -2336,6 +2352,10 @@ internal static class NativeMethods {
23362352 [ return : MarshalAs ( UnmanagedType . I1 ) ]
23372353 public static extern bool ISteamUGC_SetAllowLegacyUpload ( IntPtr instancePtr , UGCUpdateHandle_t handle , [ MarshalAs ( UnmanagedType . I1 ) ] bool bAllowLegacyUpload ) ;
23382354
2355+ [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUGC_RemoveAllItemKeyValueTags" , CallingConvention = CallingConvention . Cdecl ) ]
2356+ [ return : MarshalAs ( UnmanagedType . I1 ) ]
2357+ public static extern bool ISteamUGC_RemoveAllItemKeyValueTags ( IntPtr instancePtr , UGCUpdateHandle_t handle ) ;
2358+
23392359 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUGC_RemoveItemKeyValueTags" , CallingConvention = CallingConvention . Cdecl ) ]
23402360 [ return : MarshalAs ( UnmanagedType . I1 ) ]
23412361 public static extern bool ISteamUGC_RemoveItemKeyValueTags ( IntPtr instancePtr , UGCUpdateHandle_t handle , InteropHelp . UTF8StringHandle pchKey ) ;
@@ -2541,6 +2561,9 @@ internal static class NativeMethods {
25412561
25422562 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUser_GetMarketEligibility" , CallingConvention = CallingConvention . Cdecl ) ]
25432563 public static extern ulong ISteamUser_GetMarketEligibility ( IntPtr instancePtr ) ;
2564+
2565+ [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUser_GetDurationControl" , CallingConvention = CallingConvention . Cdecl ) ]
2566+ public static extern ulong ISteamUser_GetDurationControl ( IntPtr instancePtr ) ;
25442567#endregion
25452568#region SteamUserStats
25462569 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUserStats_RequestCurrentStats" , CallingConvention = CallingConvention . Cdecl ) ]
@@ -2808,6 +2831,17 @@ internal static class NativeMethods {
28082831
28092832 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled" , CallingConvention = CallingConvention . Cdecl ) ]
28102833 public static extern void ISteamUtils_SetVRHeadsetStreamingEnabled ( IntPtr instancePtr , [ MarshalAs ( UnmanagedType . I1 ) ] bool bEnabled ) ;
2834+
2835+ [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUtils_IsSteamChinaLauncher" , CallingConvention = CallingConvention . Cdecl ) ]
2836+ [ return : MarshalAs ( UnmanagedType . I1 ) ]
2837+ public static extern bool ISteamUtils_IsSteamChinaLauncher ( IntPtr instancePtr ) ;
2838+
2839+ [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUtils_InitFilterText" , CallingConvention = CallingConvention . Cdecl ) ]
2840+ [ return : MarshalAs ( UnmanagedType . I1 ) ]
2841+ public static extern bool ISteamUtils_InitFilterText ( IntPtr instancePtr ) ;
2842+
2843+ [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamUtils_FilterText" , CallingConvention = CallingConvention . Cdecl ) ]
2844+ public static extern int ISteamUtils_FilterText ( IntPtr instancePtr , IntPtr pchOutFilteredText , uint nByteSizeOutFilteredText , InteropHelp . UTF8StringHandle pchInputMessage , [ MarshalAs ( UnmanagedType . I1 ) ] bool bLegalOnly ) ;
28112845#endregion
28122846#region SteamVideo
28132847 [ DllImport ( NativeLibraryName , EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL" , CallingConvention = CallingConvention . Cdecl ) ]
0 commit comments