NIM services: Difference between revisions

Line 1,106: Line 1,106:


With SystemUpdate the server only uses StorageId=BuiltInSystem.
With SystemUpdate the server only uses StorageId=BuiltInSystem.
With Application, when the server handles message 0x1 prior to loading the PackagedContentInfo, it first loops through the input array from [[#CreateLocalCommunicationSendApplicationTask|CreateLocalCommunicationSendApplicationTask]], throwing an error if the input ContentMetaKey doesn't match an entry from here. It then loads the PackagedContentInfo with the StorageId from the located entry.
With Application, when the server handles message 0x2 for determining what StorageId to use, it loops through the input array from [[#CreateLocalCommunicationSendApplicationTask|CreateLocalCommunicationSendApplicationTask]]. [[NCM_services|ncm]] IContentMetaDatabase HasContent is used with the array entry ContentMetaKey and the message input [[NCM_services#ContentId|ContentId]]. When cmd output indicates the content is present, the entry StorageId is written to output. Otherwise an error is thrown if none found with all array entries.


Messages:
Messages: