17 lines
339 B
C++
17 lines
339 B
C++
#define CODE_ERROR_LOCATIONS
|
|
|
|
|
|
#include <iostream>
|
|
#include "Processes.hpp"
|
|
#include <Windows.h>
|
|
|
|
int main() {
|
|
|
|
std::cout << "nb::get_pid() -> " << nb::get_pid() << std::endl;
|
|
|
|
#ifdef _TARGET_WINDOWS
|
|
std::cout << "GetCurrentProcessId() -> " << GetCurrentProcessId() << std::endl;
|
|
#endif // _TARGET_WINDOWS
|
|
|
|
return 0;
|
|
} |