libctru
v2.4.1
include
3ds
services
ptmgets.h
Go to the documentation of this file.
1
/**
2
* @file ptmgets.h
3
* @brief PTMGETS service.
4
*/
5
#pragma once
6
7
#include <
3ds/types.h
>
8
9
/// Initializes PTMGETS.
10
Result
ptmGetsInit
(
void
);
11
12
/// Exits PTMGETS.
13
void
ptmGetsExit
(
void
);
14
15
/**
16
* @brief Gets a pointer to the current ptm:gets session handle.
17
* @return A pointer to the current ptm:gets session handle.
18
*/
19
Handle
*
ptmGetsGetSessionHandle
(
void
);
20
21
/**
22
* @brief Gets the system time.
23
* @param[out] outMsY2k The pointer to write the number of milliseconds since 01/01/2000 to.
24
*/
25
Result
PTMGETS_GetSystemTime
(
s64
*outMsY2k);
ptmGetsGetSessionHandle
Handle * ptmGetsGetSessionHandle(void)
Gets a pointer to the current ptm:gets session handle.
ptmGetsInit
Result ptmGetsInit(void)
Initializes PTMGETS.
PTMGETS_GetSystemTime
Result PTMGETS_GetSystemTime(s64 *outMsY2k)
Gets the system time.
ptmGetsExit
void ptmGetsExit(void)
Exits PTMGETS.
types.h
Various system types.
s64
int64_t s64
64-bit signed integer
Definition:
types.h:29
Handle
u32 Handle
Resource handle.
Definition:
types.h:41
Result
s32 Result
Function result.
Definition:
types.h:42
Generated by
1.9.1