Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 28f2709b7a02bee5477e9529d982113266739855 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*******************************************************************************
 * Copyright (c) 2000, 2019 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     Nikita Nemkin <nikita@nemkin.ru> - initial API and implementation
 *******************************************************************************/
package org.eclipse.swt.internal.ole.win32;

import org.eclipse.swt.internal.win32.*;

public class IFileDialog extends IUnknown {

public IFileDialog(long address) {
	super(address);
}

// IModalWindow

public int Show(long hwndOwner) {
	return OS.VtblCall(3, address, hwndOwner);
}

// IFileDialog

public int SetOptions(int fos) {
	return OS.VtblCall(9, address, fos);
}

public int GetOptions(int[] pfos) {
	return OS.VtblCall(10, address, pfos);
}

public int SetDefaultFolder(IShellItem psi) {
	return OS.VtblCall(11, address, psi.address);
}

public int SetFolder(IShellItem psi) {
	return OS.VtblCall(12, address, psi.address);
}

public int SetTitle(char[] pszTitle) {
	return OS.VtblCall(17, address, pszTitle);
}

public int GetResult(long[] ppsi) {
	return OS.VtblCall(20, address, ppsi);
}

public int ClearClientData() {
	return OS.VtblCall(25, address);
}

}

Back to the top