Constant Class

 

About Constant Class

 

Constant class is mainly used for retrieving most of the standard Windows API constants.

Due to the huge number of constants, some of these may not be covered in this documentation but you will always find an official reference on the Microsoft Developer Network (MSDN) website.

 

Code Example

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Giavapps.Windows.API;

public class CodeExample : MonoBehaviour
{

void Start()
{
Plugin.Initialize();//Initializes Giavapps Windows API
MessageBox.Show(Window.GetActive(), "My Text", "My Caption", Constant.MB_OK);//Shows a message box
}

void Update()
{
//Other function calls could be here…
}

void OnApplicationQuit()
{
Plugin.Deinitialize();//Deinitializes Giavapps Windows API
}

}

 

I am Luigi Piscopo, also known as DJ GiDeejay / Producer / Remixer in the music world. I am a Producer with a lot of experience in photo editing, video editing, audio editing, graphic design, web design, programming and promotion.

Comments are closed.