lsteamclient: Hard-code struct sizes

This commit is contained in:
Andrew Eikum 2018-10-30 11:55:05 -05:00
parent d4307363c9
commit 6cff3e2de0
3 changed files with 51 additions and 493 deletions

View File

@ -1,50 +1,50 @@
case 0x00100098: win_msg->m_cubParam = sizeof(struct winMicroTxnAuthorizationResponse_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_MicroTxnAuthorizationResponse_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00100098: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_MicroTxnAuthorizationResponse_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c0201: win_msg->m_cubParam = sizeof(struct winLobbyCreated_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_LobbyCreated_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c0201: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_LobbyCreated_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x01180517: win_msg->m_cubParam = sizeof(struct winRemoteStorageAppSyncProgress_t_288); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageAppSyncProgress_t_288(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x01180517: win_msg->m_cubParam = 288; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageAppSyncProgress_t_288(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x0110051b: win_msg->m_cubParam = sizeof(struct winRemoteStorageFileShareResult_t_280); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageFileShareResult_t_280(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x0110051b: win_msg->m_cubParam = 280; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageFileShareResult_t_280(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x0010051d: win_msg->m_cubParam = sizeof(struct winRemoteStoragePublishFileResult_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStoragePublishFileResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x0010051d: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStoragePublishFileResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c051f: win_msg->m_cubParam = sizeof(struct winRemoteStorageDeletePublishedFileResult_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageDeletePublishedFileResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c051f: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageDeletePublishedFileResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x019c0520: win_msg->m_cubParam = sizeof(struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x019c0520: win_msg->m_cubParam = 416; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c0521: win_msg->m_cubParam = sizeof(struct winRemoteStorageSubscribePublishedFileResult_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageSubscribePublishedFileResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c0521: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageSubscribePublishedFileResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x02640522: win_msg->m_cubParam = sizeof(struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x02640522: win_msg->m_cubParam = 616; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c0523: win_msg->m_cubParam = sizeof(struct winRemoteStorageUnsubscribePublishedFileResult_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUnsubscribePublishedFileResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c0523: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUnsubscribePublishedFileResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00100524: win_msg->m_cubParam = sizeof(struct winRemoteStorageUpdatePublishedFileResult_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUpdatePublishedFileResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00100524: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUpdatePublishedFileResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x01200525: win_msg->m_cubParam = sizeof(struct winRemoteStorageDownloadUGCResult_t_296); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageDownloadUGCResult_t_296(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x01200525: win_msg->m_cubParam = 296; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageDownloadUGCResult_t_296(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x26140526: win_msg->m_cubParam = sizeof(struct winRemoteStorageGetPublishedFileDetailsResult_t_9760); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x26140526: win_msg->m_cubParam = 9760; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x026c0527: win_msg->m_cubParam = sizeof(struct winRemoteStorageEnumerateWorkshopFilesResult_t_624); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x026c0527: win_msg->m_cubParam = 624; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x001c0528: win_msg->m_cubParam = sizeof(struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x001c0528: win_msg->m_cubParam = 32; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c052c: win_msg->m_cubParam = sizeof(struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c052c: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x0010052d: win_msg->m_cubParam = sizeof(struct winRemoteStorageUserVoteDetails_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUserVoteDetails_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x0010052d: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUserVoteDetails_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x019c052e: win_msg->m_cubParam = sizeof(struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x019c052e: win_msg->m_cubParam = 416; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x0010052f: win_msg->m_cubParam = sizeof(struct winRemoteStorageSetUserPublishedFileActionResult_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageSetUserPublishedFileActionResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x0010052f: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageSetUserPublishedFileActionResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00140532: win_msg->m_cubParam = sizeof(struct winRemoteStoragePublishedFileUpdated_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStoragePublishedFileUpdated_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00140532: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStoragePublishedFileUpdated_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x001c0452: win_msg->m_cubParam = sizeof(struct winLeaderboardScoreUploaded_t_32); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_LeaderboardScoreUploaded_t_32(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x001c0452: win_msg->m_cubParam = 32; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_LeaderboardScoreUploaded_t_32(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c0457: win_msg->m_cubParam = sizeof(struct winLeaderboardUGCSet_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_LeaderboardUGCSet_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c0457: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_LeaderboardUGCSet_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00140458: win_msg->m_cubParam = sizeof(struct winPS3TrophiesInstalled_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_PS3TrophiesInstalled_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00140458: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_PS3TrophiesInstalled_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x002403ff: win_msg->m_cubParam = sizeof(struct winFileDetailsResult_t_40); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_FileDetailsResult_t_40(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x002403ff: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_FileDetailsResult_t_40(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00180835: win_msg->m_cubParam = sizeof(struct winHTTPRequestCompleted_t_32); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestCompleted_t_32(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00180835: win_msg->m_cubParam = 32; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestCompleted_t_32(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c0836: win_msg->m_cubParam = sizeof(struct winHTTPRequestHeadersReceived_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestHeadersReceived_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c0836: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestHeadersReceived_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00140837: win_msg->m_cubParam = sizeof(struct winHTTPRequestDataReceived_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestDataReceived_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00140837: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestDataReceived_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x26280d4a: win_msg->m_cubParam = sizeof(struct winSteamUGCRequestUGCDetailsResult_t_9784); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamUGCRequestUGCDetailsResult_t_9784(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x26280d4a: win_msg->m_cubParam = 9784; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamUGCRequestUGCDetailsResult_t_9784(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00100d4b: win_msg->m_cubParam = sizeof(struct winCreateItemResult_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_CreateItemResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00100d4b: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_CreateItemResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c0d4d: win_msg->m_cubParam = sizeof(struct winItemInstalled_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_ItemInstalled_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c0d4d: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_ItemInstalled_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00100d4e: win_msg->m_cubParam = sizeof(struct winDownloadItemResult_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_DownloadItemResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00100d4e: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_DownloadItemResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00140d54: win_msg->m_cubParam = sizeof(struct winAddUGCDependencyResult_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_AddUGCDependencyResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00140d54: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_AddUGCDependencyResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00140d55: win_msg->m_cubParam = sizeof(struct winRemoveUGCDependencyResult_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoveUGCDependencyResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00140d55: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoveUGCDependencyResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00100d56: win_msg->m_cubParam = sizeof(struct winAddAppDependencyResult_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_AddAppDependencyResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00100d56: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_AddAppDependencyResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00100d57: win_msg->m_cubParam = sizeof(struct winRemoveAppDependencyResult_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoveAppDependencyResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00100d57: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoveAppDependencyResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00940d58: win_msg->m_cubParam = sizeof(struct winGetAppDependenciesResult_t_152); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_GetAppDependenciesResult_t_152(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00940d58: win_msg->m_cubParam = 152; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_GetAppDependenciesResult_t_152(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c0d59: win_msg->m_cubParam = sizeof(struct winDeleteItemResult_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_DeleteItemResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c0d59: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_DeleteItemResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00141260: win_msg->m_cubParam = sizeof(struct winSteamInventoryStartPurchaseResult_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamInventoryStartPurchaseResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00141260: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamInventoryStartPurchaseResult_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x002000d1: win_msg->m_cubParam = sizeof(struct winGSReputation_t_40); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_GSReputation_t_40(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x002000d1: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_GSReputation_t_40(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x00140835: win_msg->m_cubParam = sizeof(struct winHTTPRequestCompleted_t_24); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestCompleted_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x00140835: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestCompleted_t_24(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x26240d4a: win_msg->m_cubParam = sizeof(struct winSteamUGCRequestUGCDetailsResult_t_9776); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamUGCRequestUGCDetailsResult_t_9776(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x26240d4a: win_msg->m_cubParam = 9776; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamUGCRequestUGCDetailsResult_t_9776(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c051b: win_msg->m_cubParam = sizeof(struct winRemoteStorageFileShareResult_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageFileShareResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c051b: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageFileShareResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x26200d4a: win_msg->m_cubParam = sizeof(struct winSteamUGCRequestUGCDetailsResult_t_9768); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamUGCRequestUGCDetailsResult_t_9768(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x26200d4a: win_msg->m_cubParam = 9768; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamUGCRequestUGCDetailsResult_t_9768(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x26100526: win_msg->m_cubParam = sizeof(struct winRemoteStorageGetPublishedFileDetailsResult_t_9752); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_9752(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x26100526: win_msg->m_cubParam = 9752; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_9752(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c051d: win_msg->m_cubParam = sizeof(struct winRemoteStoragePublishFileResult_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStoragePublishFileResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c051d: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStoragePublishFileResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x000c0524: win_msg->m_cubParam = sizeof(struct winRemoteStorageUpdatePublishedFileResult_t_16); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUpdatePublishedFileResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x000c0524: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUpdatePublishedFileResult_t_16(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x02640527: win_msg->m_cubParam = sizeof(struct winRemoteStorageEnumerateWorkshopFilesResult_t_616); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateWorkshopFilesResult_t_616(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x02640527: win_msg->m_cubParam = 616; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateWorkshopFilesResult_t_616(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x250c0526: win_msg->m_cubParam = sizeof(struct winRemoteStorageGetPublishedFileDetailsResult_t_9496); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_9496(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x250c0526: win_msg->m_cubParam = 9496; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_9496(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x06c4051e: win_msg->m_cubParam = sizeof(struct winRemoteStorageGetPublishedFileDetailsResult_t_1744); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_1744(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x06c4051e: win_msg->m_cubParam = 1744; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_1744(lin_msg.m_pubParam, win_msg->m_pubParam); break;
case 0x0020051c: win_msg->m_cubParam = sizeof(struct winRemoteStorageDownloadUGCResult_t_40); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageDownloadUGCResult_t_40(lin_msg.m_pubParam, win_msg->m_pubParam); break; case 0x0020051c: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageDownloadUGCResult_t_40(lin_msg.m_pubParam, win_msg->m_pubParam); break;

View File

@ -1,532 +1,100 @@
#pragma pack( push, 8 )
struct winMicroTxnAuthorizationResponse_t_24 {
uint32 m_unAppID;
uint64 m_ulOrderID;
uint8 m_bAuthorized;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_MicroTxnAuthorizationResponse_t_24(void *l, void *w); extern void cb_MicroTxnAuthorizationResponse_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winLobbyCreated_t_16 {
EResult m_eResult;
uint64 m_ulSteamIDLobby;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_LobbyCreated_t_16(void *l, void *w); extern void cb_LobbyCreated_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageAppSyncProgress_t_288 {
char m_rgchCurrentFile[260];
AppId_t m_nAppID;
uint32 m_uBytesTransferredThisChunk;
double m_dAppPercentComplete;
bool m_bUploading;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageAppSyncProgress_t_288(void *l, void *w); extern void cb_RemoteStorageAppSyncProgress_t_288(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageFileShareResult_t_280 {
EResult m_eResult;
UGCHandle_t m_hFile;
char m_rgchFilename[260];
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageFileShareResult_t_280(void *l, void *w); extern void cb_RemoteStorageFileShareResult_t_280(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStoragePublishFileResult_t_24 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
bool m_bUserNeedsToAcceptWorkshopLegalAgreement;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStoragePublishFileResult_t_24(void *l, void *w); extern void cb_RemoteStoragePublishFileResult_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageDeletePublishedFileResult_t_16 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageDeletePublishedFileResult_t_16(void *l, void *w); extern void cb_RemoteStorageDeletePublishedFileResult_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 {
EResult m_eResult;
int32 m_nResultsReturned;
int32 m_nTotalResultCount;
PublishedFileId_t m_rgPublishedFileId[50];
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(void *l, void *w); extern void cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageSubscribePublishedFileResult_t_16 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageSubscribePublishedFileResult_t_16(void *l, void *w); extern void cb_RemoteStorageSubscribePublishedFileResult_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 {
EResult m_eResult;
int32 m_nResultsReturned;
int32 m_nTotalResultCount;
PublishedFileId_t m_rgPublishedFileId[50];
uint32 m_rgRTimeSubscribed[50];
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(void *l, void *w); extern void cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageUnsubscribePublishedFileResult_t_16 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageUnsubscribePublishedFileResult_t_16(void *l, void *w); extern void cb_RemoteStorageUnsubscribePublishedFileResult_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageUpdatePublishedFileResult_t_24 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
bool m_bUserNeedsToAcceptWorkshopLegalAgreement;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageUpdatePublishedFileResult_t_24(void *l, void *w); extern void cb_RemoteStorageUpdatePublishedFileResult_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageDownloadUGCResult_t_296 {
EResult m_eResult;
UGCHandle_t m_hFile;
AppId_t m_nAppID;
int32 m_nSizeInBytes;
char m_pchFileName[260];
uint64 m_ulSteamIDOwner;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageDownloadUGCResult_t_296(void *l, void *w); extern void cb_RemoteStorageDownloadUGCResult_t_296(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
AppId_t m_nCreatorAppID;
AppId_t m_nConsumerAppID;
char m_rgchTitle[129];
char m_rgchDescription[8000];
UGCHandle_t m_hFile;
UGCHandle_t m_hPreviewFile;
uint64 m_ulSteamIDOwner;
uint32 m_rtimeCreated;
uint32 m_rtimeUpdated;
ERemoteStoragePublishedFileVisibility m_eVisibility;
bool m_bBanned;
char m_rgchTags[1025];
bool m_bTagsTruncated;
char m_pchFileName[260];
int32 m_nFileSize;
int32 m_nPreviewFileSize;
char m_rgchURL[256];
EWorkshopFileType m_eFileType;
bool m_bAcceptedForUse;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(void *l, void *w); extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 {
EResult m_eResult;
int32 m_nResultsReturned;
int32 m_nTotalResultCount;
PublishedFileId_t m_rgPublishedFileId[50];
float m_rgScore[50];
AppId_t m_nAppId;
uint32 m_unStartIndex;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(void *l, void *w); extern void cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 {
EResult m_eResult;
PublishedFileId_t m_unPublishedFileId;
int32 m_nVotesFor;
int32 m_nVotesAgainst;
int32 m_nReports;
float m_fScore;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(void *l, void *w); extern void cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(void *l, void *w); extern void cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageUserVoteDetails_t_24 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
EWorkshopVote m_eVote;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageUserVoteDetails_t_24(void *l, void *w); extern void cb_RemoteStorageUserVoteDetails_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 {
EResult m_eResult;
int32 m_nResultsReturned;
int32 m_nTotalResultCount;
PublishedFileId_t m_rgPublishedFileId[50];
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(void *l, void *w); extern void cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageSetUserPublishedFileActionResult_t_24 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
EWorkshopFileAction m_eAction;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageSetUserPublishedFileActionResult_t_24(void *l, void *w); extern void cb_RemoteStorageSetUserPublishedFileActionResult_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStoragePublishedFileUpdated_t_24 {
PublishedFileId_t m_nPublishedFileId;
AppId_t m_nAppID;
uint64 m_ulUnused;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStoragePublishedFileUpdated_t_24(void *l, void *w); extern void cb_RemoteStoragePublishedFileUpdated_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winLeaderboardScoreUploaded_t_32 {
uint8 m_bSuccess;
SteamLeaderboard_t m_hSteamLeaderboard;
int32 m_nScore;
uint8 m_bScoreChanged;
int m_nGlobalRankNew;
int m_nGlobalRankPrevious;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_LeaderboardScoreUploaded_t_32(void *l, void *w); extern void cb_LeaderboardScoreUploaded_t_32(void *l, void *w);
#pragma pack( push, 8 )
struct winLeaderboardUGCSet_t_16 {
EResult m_eResult;
SteamLeaderboard_t m_hSteamLeaderboard;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_LeaderboardUGCSet_t_16(void *l, void *w); extern void cb_LeaderboardUGCSet_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winPS3TrophiesInstalled_t_24 {
uint64 m_nGameID;
EResult m_eResult;
uint64 m_ulRequiredDiskSpace;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_PS3TrophiesInstalled_t_24(void *l, void *w); extern void cb_PS3TrophiesInstalled_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winFileDetailsResult_t_40 {
EResult m_eResult;
uint64 m_ulFileSize;
uint8 m_FileSHA[20];
uint32 m_unFlags;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_FileDetailsResult_t_40(void *l, void *w); extern void cb_FileDetailsResult_t_40(void *l, void *w);
#pragma pack( push, 8 )
struct winHTTPRequestCompleted_t_32 {
HTTPRequestHandle m_hRequest;
uint64 m_ulContextValue;
bool m_bRequestSuccessful;
EHTTPStatusCode m_eStatusCode;
uint32 m_unBodySize;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_HTTPRequestCompleted_t_32(void *l, void *w); extern void cb_HTTPRequestCompleted_t_32(void *l, void *w);
#pragma pack( push, 8 )
struct winHTTPRequestHeadersReceived_t_16 {
HTTPRequestHandle m_hRequest;
uint64 m_ulContextValue;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_HTTPRequestHeadersReceived_t_16(void *l, void *w); extern void cb_HTTPRequestHeadersReceived_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winHTTPRequestDataReceived_t_24 {
HTTPRequestHandle m_hRequest;
uint64 m_ulContextValue;
uint32 m_cOffset;
uint32 m_cBytesReceived;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_HTTPRequestDataReceived_t_24(void *l, void *w); extern void cb_HTTPRequestDataReceived_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winSteamUGCRequestUGCDetailsResult_t_9784 {
SteamUGCDetails_t m_details;
bool m_bCachedData;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_SteamUGCRequestUGCDetailsResult_t_9784(void *l, void *w); extern void cb_SteamUGCRequestUGCDetailsResult_t_9784(void *l, void *w);
#pragma pack( push, 8 )
struct winCreateItemResult_t_24 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
bool m_bUserNeedsToAcceptWorkshopLegalAgreement;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_CreateItemResult_t_24(void *l, void *w); extern void cb_CreateItemResult_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winItemInstalled_t_16 {
AppId_t m_unAppID;
PublishedFileId_t m_nPublishedFileId;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_ItemInstalled_t_16(void *l, void *w); extern void cb_ItemInstalled_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winDownloadItemResult_t_24 {
AppId_t m_unAppID;
PublishedFileId_t m_nPublishedFileId;
EResult m_eResult;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_DownloadItemResult_t_24(void *l, void *w); extern void cb_DownloadItemResult_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winAddUGCDependencyResult_t_24 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
PublishedFileId_t m_nChildPublishedFileId;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_AddUGCDependencyResult_t_24(void *l, void *w); extern void cb_AddUGCDependencyResult_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoveUGCDependencyResult_t_24 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
PublishedFileId_t m_nChildPublishedFileId;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoveUGCDependencyResult_t_24(void *l, void *w); extern void cb_RemoveUGCDependencyResult_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winAddAppDependencyResult_t_24 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
AppId_t m_nAppID;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_AddAppDependencyResult_t_24(void *l, void *w); extern void cb_AddAppDependencyResult_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoveAppDependencyResult_t_24 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
AppId_t m_nAppID;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoveAppDependencyResult_t_24(void *l, void *w); extern void cb_RemoveAppDependencyResult_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winGetAppDependenciesResult_t_152 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
AppId_t m_rgAppIDs[32];
uint32 m_nNumAppDependencies;
uint32 m_nTotalNumAppDependencies;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_GetAppDependenciesResult_t_152(void *l, void *w); extern void cb_GetAppDependenciesResult_t_152(void *l, void *w);
#pragma pack( push, 8 )
struct winDeleteItemResult_t_16 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_DeleteItemResult_t_16(void *l, void *w); extern void cb_DeleteItemResult_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winSteamInventoryStartPurchaseResult_t_24 {
EResult m_result;
uint64 m_ulOrderID;
uint64 m_ulTransID;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_SteamInventoryStartPurchaseResult_t_24(void *l, void *w); extern void cb_SteamInventoryStartPurchaseResult_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winGSReputation_t_40 {
EResult m_eResult;
uint32 m_unReputationScore;
bool m_bBanned;
uint32 m_unBannedIP;
uint16 m_usBannedPort;
uint64 m_ulBannedGameID;
uint32 m_unBanExpires;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_GSReputation_t_40(void *l, void *w); extern void cb_GSReputation_t_40(void *l, void *w);
#pragma pack( push, 8 )
struct winHTTPRequestCompleted_t_24 {
HTTPRequestHandle m_hRequest;
uint64 m_ulContextValue;
bool m_bRequestSuccessful;
EHTTPStatusCode m_eStatusCode;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_HTTPRequestCompleted_t_24(void *l, void *w); extern void cb_HTTPRequestCompleted_t_24(void *l, void *w);
#pragma pack( push, 8 )
struct winSteamUGCRequestUGCDetailsResult_t_9776 {
SteamUGCDetails_t m_details;
bool m_bCachedData;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_SteamUGCRequestUGCDetailsResult_t_9776(void *l, void *w); extern void cb_SteamUGCRequestUGCDetailsResult_t_9776(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageFileShareResult_t_16 {
EResult m_eResult;
UGCHandle_t m_hFile;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageFileShareResult_t_16(void *l, void *w); extern void cb_RemoteStorageFileShareResult_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winSteamUGCRequestUGCDetailsResult_t_9768 {
SteamUGCDetails_t m_details;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_SteamUGCRequestUGCDetailsResult_t_9768(void *l, void *w); extern void cb_SteamUGCRequestUGCDetailsResult_t_9768(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageGetPublishedFileDetailsResult_t_9752 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
AppId_t m_nCreatorAppID;
AppId_t m_nConsumerAppID;
char m_rgchTitle[129];
char m_rgchDescription[8000];
UGCHandle_t m_hFile;
UGCHandle_t m_hPreviewFile;
uint64 m_ulSteamIDOwner;
uint32 m_rtimeCreated;
uint32 m_rtimeUpdated;
ERemoteStoragePublishedFileVisibility m_eVisibility;
bool m_bBanned;
char m_rgchTags[1025];
bool m_bTagsTruncated;
char m_pchFileName[260];
int32 m_nFileSize;
int32 m_nPreviewFileSize;
char m_rgchURL[256];
EWorkshopFileType m_eFileType;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_9752(void *l, void *w); extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_9752(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStoragePublishFileResult_t_16 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStoragePublishFileResult_t_16(void *l, void *w); extern void cb_RemoteStoragePublishFileResult_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageUpdatePublishedFileResult_t_16 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageUpdatePublishedFileResult_t_16(void *l, void *w); extern void cb_RemoteStorageUpdatePublishedFileResult_t_16(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageEnumerateWorkshopFilesResult_t_616 {
EResult m_eResult;
int32 m_nResultsReturned;
int32 m_nTotalResultCount;
PublishedFileId_t m_rgPublishedFileId[50];
float m_rgScore[50];
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageEnumerateWorkshopFilesResult_t_616(void *l, void *w); extern void cb_RemoteStorageEnumerateWorkshopFilesResult_t_616(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageGetPublishedFileDetailsResult_t_9496 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
AppId_t m_nCreatorAppID;
AppId_t m_nConsumerAppID;
char m_rgchTitle[129];
char m_rgchDescription[8000];
UGCHandle_t m_hFile;
UGCHandle_t m_hPreviewFile;
uint64 m_ulSteamIDOwner;
uint32 m_rtimeCreated;
uint32 m_rtimeUpdated;
ERemoteStoragePublishedFileVisibility m_eVisibility;
bool m_bBanned;
char m_rgchTags[1025];
bool m_bTagsTruncated;
char m_pchFileName[260];
int32 m_nFileSize;
int32 m_nPreviewFileSize;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_9496(void *l, void *w); extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_9496(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageGetPublishedFileDetailsResult_t_1744 {
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
AppId_t m_nCreatorAppID;
AppId_t m_nConsumerAppID;
char m_rgchTitle[129];
char m_rgchDescription[257];
UGCHandle_t m_hFile;
UGCHandle_t m_hPreviewFile;
uint64 m_ulSteamIDOwner;
uint32 m_rtimeCreated;
uint32 m_rtimeUpdated;
ERemoteStoragePublishedFileVisibility m_eVisibility;
bool m_bBanned;
char m_rgchTags[1025];
bool m_bTagsTruncated;
char m_pchFileName[260];
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_1744(void *l, void *w); extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_1744(void *l, void *w);
#pragma pack( push, 8 )
struct winRemoteStorageDownloadUGCResult_t_40 {
EResult m_eResult;
UGCHandle_t m_hFile;
AppId_t m_nAppID;
int32 m_nSizeInBytes;
char * m_pchFileName;
uint64 m_ulSteamIDOwner;
} __attribute__ ((ms_struct));
#pragma pack( pop )
extern void cb_RemoteStorageDownloadUGCResult_t_40(void *l, void *w); extern void cb_RemoteStorageDownloadUGCResult_t_40(void *l, void *w);

View File

@ -532,7 +532,7 @@ def handle_struct(sdkver, struct):
generated_cb_ids.append(cb_id) generated_cb_ids.append(cb_id)
datfile = open("cb_converters.dat", "a") datfile = open("cb_converters.dat", "a")
datfile.write("case 0x%08x: win_msg->m_cubParam = sizeof(struct win%s); win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); %s(lin_msg.m_pubParam, win_msg->m_pubParam); break;\n" % (cb_id, struct_name, l2w_handler_name)) datfile.write("case 0x%08x: win_msg->m_cubParam = %s; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); %s(lin_msg.m_pubParam, win_msg->m_pubParam); break;\n" % (cb_id, windows_struct.get_size(), l2w_handler_name))
generated_cb_handlers.append(l2w_handler_name) generated_cb_handlers.append(l2w_handler_name)
@ -542,16 +542,6 @@ def handle_struct(sdkver, struct):
cb_table[cb_num][1].append((windows_struct.get_size(), struct_name)) cb_table[cb_num][1].append((windows_struct.get_size(), struct_name))
hfile = open("cb_converters.h", "a") hfile = open("cb_converters.h", "a")
hfile.write("#pragma pack( push, 8 )\n")
hfile.write("struct win%s {\n" % struct_name)
for m in struct.get_children():
if m.kind == clang.cindex.CursorKind.FIELD_DECL:
if m.type.kind == clang.cindex.TypeKind.CONSTANTARRAY:
hfile.write(" %s %s[%u];\n" % (m.type.element_type.spelling, m.displayname, m.type.element_count))
else:
hfile.write(" %s %s;\n" % (m.type.spelling, m.displayname))
hfile.write("} __attribute__ ((ms_struct));\n")
hfile.write("#pragma pack( pop )\n")
hfile.write("extern void %s(void *l, void *w);\n\n" % l2w_handler_name) hfile.write("extern void %s(void *l, void *w);\n\n" % l2w_handler_name)