winterm/api.go
func GetConsoleScreenBufferInfo(handle uintptr) (*CONSOLE_SCREEN_BUFFER_INFO, error) {
	info := CONSOLE_SCREEN_BUFFER_INFO{}
	err := checkError(getConsoleScreenBufferInfoProc.Call(handle, uintptr(unsafe.Pointer(&info)), 0))
	if err != nil {
		return nil, err
	}
	return &info, nil
}
func GetConsoleScreenBufferInfo(handle uintptr) (*CONSOLE_SCREEN_BUFFER_INFO, error) {
	info := CONSOLE_SCREEN_BUFFER_INFO{}
	err := checkError(getConsoleScreenBufferInfoProc.Call(handle, uintptr(unsafe.Pointer(&info)), 0))
	if err != nil {
		return nil, err
	}
	return &info, nil
}
func GetConsoleScreenBufferInfo ( handle uintptr ) ( * CONSOLE_SCREEN_BUFFER_INFO , error ) { info := CONSOLE_SCREEN_BUFFER_INFO { } err := checkError ( getConsoleScreenBufferInfoProc . Call ( handle , uintptr ( unsafe . Pointer ( & info ) ) , 0 ) ) if err != nil { return nil , err } return & info , nil }
// GetConsoleScreenBufferInfo retrieves information about the specified console screen buffer.
// See http://msdn.microsoft.com/en-us/library/windows/desktop/ms683171(v=vs.85).aspx.
GetConsoleScreenBufferInfo retrieves information about the specified console screen buffer . See http : // msdn . microsoft . com / en - us / library / windows / desktop / ms683171 ( v = vs . 85 ) . aspx .