mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
initial
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package mtp
|
||||
|
||||
import "core:c"
|
||||
|
||||
foreign import mtp "system:SceMtpIfDriver_stub"
|
||||
|
||||
@(link_prefix = "sceMtpIf")
|
||||
foreign mtp {
|
||||
/**
|
||||
* Start MTP driver
|
||||
*
|
||||
* @param[in] flags - Set to 1
|
||||
*
|
||||
* @return 0 on success, < 0 on error.
|
||||
*/
|
||||
StartDriver :: proc(flags: c.int) -> c.int ---
|
||||
|
||||
/**
|
||||
* Stop MTP driver
|
||||
*
|
||||
* @param[in] flags - Set to 1
|
||||
*
|
||||
* @return 0 on success, < 0 on error.
|
||||
*/
|
||||
StopDriver :: proc(flags: c.int) -> c.int ---
|
||||
}
|
||||
Reference in New Issue
Block a user