服务API

From 3dbrew
Revision as of 12:16, 29 March 2013 by Syphurith (talk | contribs) (Test Translation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

任天堂给应用开发者提供API,隐藏了一系列服务通讯。这里说的服务是指那些在后台运行等待到来的请求的系统进程。当进程想和服务通讯时候,首先要获得名称对应服务的句柄,然后才能和服务进行进程间通讯。所有的服务名字最长8个字符,如"nim:u"。

服务的句柄是从服务管理端口"srv:"获得的。服务作为端口的抽象,两者操作基本相同,除了一般端口可以从SVC直接获得句柄。

服务列表:

PXI服务列表:

端口列表: