Click or drag to resize

KM_ControllerCheckCoffSize Method

Determines and returns the section sizes of various sections in a KFLOP coff (common object file format) file

Namespace: KMotion_dotNet
Assembly: KMotion_dotNet (in KMotion_dotNet.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public int CheckCoffSize(
	string name,
	out int size_text,
	out int size_bss,
	out int size_data,
	out int size_total
)

Parameters

name  String
file name of KFLOP coff
size_text  Int32
variable to return the text (code) size in bytes
size_bss  Int32
variable to return the bss (global variables) size in bytes
size_data  Int32
variable to return the data (global constants) size in bytes
size_total  Int32
variable to return the total size of all 3 sections in bytes

Return Value

Int32
integer 0 if sucessful
See Also