TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
665 B
24 lines
665 B
<?php
|
|
|
|
/**
|
|
* Windows API wrapper function declarations (stub)
|
|
* These functions are implemented in C++, PHP layer only declares them
|
|
*/
|
|
|
|
// Show message box
|
|
function messagebox(int $hWnd, string $text, string $caption, int $uType): int {}
|
|
|
|
// Get module handle
|
|
function get_module_handle(string $moduleName): int {}
|
|
|
|
// Create window
|
|
function create_window(string $className, string $windowName, int $style, int $x, int $y, int $width, int $height): int {}
|
|
|
|
// Show window
|
|
function show_window(int $hWnd, int $cmdShow): bool {}
|
|
|
|
// Update window
|
|
function update_window(int $hWnd): bool {}
|
|
|
|
// Exit message loop
|
|
function post_quit_message(int $exitCode): void {}
|
|
|