libctru  v2.4.1
ptmsets.h
Go to the documentation of this file.
1 /**
2  * @file ptmsets.h
3  * @brief PTMSETS service.
4  */
5 #pragma once
6 
7 #include <3ds/types.h>
8 
9 /// Initializes PTMSETS.
11 
12 /// Exits PTMSETS.
13 void ptmSetsExit(void);
14 
15 /**
16  * @brief Gets a pointer to the current ptm:sets session handle.
17  * @return A pointer to the current ptm:sets session handle.
18  */
20 
21 /**
22  * @brief Sets the system time.
23  * @param msY2k The number of milliseconds since 01/01/2000.
24  */
Result ptmSetsInit(void)
Initializes PTMSETS.
void ptmSetsExit(void)
Exits PTMSETS.
Handle * ptmSetsGetSessionHandle(void)
Gets a pointer to the current ptm:sets session handle.
Result PTMSETS_SetSystemTime(s64 msY2k)
Sets the system time.
Various system types.
int64_t s64
64-bit signed integer
Definition: types.h:29
u32 Handle
Resource handle.
Definition: types.h:41
s32 Result
Function result.
Definition: types.h:42