shellapi

package
v0.0.0-...-79e174a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2013 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package shellapi provides API definitions for accessing shell32.dll.

Index

Constants

This section is empty.

Variables

View Source
var (
	DragQueryFile func(T.HDROP, T.UINT, VString, T.UINT) (T.UINT, error)

	DragQueryPoint func(T.HDROP, *T.POINT) (T.BOOL, error)

	DragFinish func(T.HDROP)

	DragAcceptFiles func(T.HWND, T.BOOL)

	ShellExecute func(wnd T.HWND,
		operation, file, parameters, directory VString,
		showCmd T.INT) (T.HINSTANCE, error)

	FindExecutable func(
		file, directory VString, result OVString) (T.HINSTANCE, error)

	CommandLineToArgvW func(
		cmdLine T.WString, numArgs *int) (*T.WString, error)

	ShellAbout func(
		wnd T.HWND,
		app, otherStuff VString,
		icon T.HICON) (T.INT, error)

	DuplicateIcon func(Inst T.HINSTANCE, icon T.HICON) (T.HICON, error)

	ExtractAssociatedIcon func(
		inst T.HINSTANCE, iconPath VString, icon *T.WORD) (T.HICON, error)

	ExtractAssociatedIconEx func(
		inst T.HINSTANCE,
		iconPath VString,
		iconIndex *T.WORD,
		iconId *T.WORD) (T.HICON, error)

	ExtractIcon func(
		inst T.HINSTANCE,
		exeFileName VString,
		iconIndex T.UINT) (T.HICON, error)

	ExtractIconEx func(
		file VString,
		iconIndex int,
		large, small *T.HICON,
		icons T.UINT) (T.UINT, error)

	SHFreeNameMappings func(hNameMappings T.HANDLE)

	WinExecError func(
		wnd T.HWND,
		err int,
		fileName,
		title VString)

	SHCreateProcessAsUserW func(
		scpi *T.SHCREATEPROCESSINFOW) (T.BOOL, error)

	SHGetFileInfoA func(
		path T.AString,
		fileAttributes T.DWORD,
		sfi *T.SHFILEINFOA,
		fileInfo, flags T.UINT) (T.DWORD_PTR, error)

	SHGetFileInfoW func(
		path T.WString,
		fileAttributes T.DWORD,
		sfi *T.SHFILEINFOW,
		fileInfo, flags T.UINT) (T.DWORD_PTR, error)

	SHGetDiskFreeSpaceEx func(
		directoryName VString,
		freeBytesAvailableToCaller,
		totalNumberOfBytes,
		totalNumberOfFreeBytes *T.ULARGE_INTEGER) (T.BOOL, error)

	SHGetNewLinkInfo func(
		linkTo, dir VString,
		name OVString,
		mustCopy *T.BOOL,
		flags T.UINT) (T.BOOL, error)

	SHInvokePrinterCommand func(
		wnd T.HWND,
		action T.UINT,
		buf1, buf2 VString,
		modal T.BOOL) (T.BOOL, error)

	IsLFNDrive func(Path VString) (T.BOOL, error)

	SHEnumerateUnreadMailAccounts func(
		keyUser T.HKEY,
		index T.DWORD,
		mailAddress OVString,
		cMailAddress int)

	SHGetUnreadMailCount func(
		keyUser T.HKEY,
		mailAddress VString,
		count *T.DWORD,
		fileTime *T.FILETIME,
		shellExecuteCommand OVString,
		cShellExecuteCommand int)

	SHSetUnreadMailCount func(
		mailAddress VString,
		count T.DWORD,
		shellExecuteCommand T.AString)

	SHTestTokenMembership func(
		token T.HANDLE, rid T.ULONG) (T.BOOL, error)

	SHGetImageList func(
		imageList int, riid T.REFIID, Obj **T.VOID)
)
View Source
var ShellApiANSIApis = outside.Apis{
	{"ExtractAssociatedIconA", &ExtractAssociatedIcon},
	{"ExtractAssociatedIconExA", &ExtractAssociatedIconEx},
	{"ExtractIconA", &ExtractIcon},
	{"ExtractIconExA", &ExtractIconEx},
	{"FindExecutableA", &FindExecutable},
	{"ShellAboutA", &ShellAbout},
	{"ShellExecuteA", &ShellExecute},
	{"SHGetDiskFreeSpaceExA", &SHGetDiskFreeSpaceEx},
	{"SHGetFileInfoA", &SHGetFileInfoA},
	{"SHInvokePrinterCommandA", &SHInvokePrinterCommand},
}
View Source
var ShellApiApis = outside.Apis{
	{"CommandLineToArgvW", &CommandLineToArgvW},
	{"DragAcceptFiles", &DragAcceptFiles},
	{"DragFinish", &DragFinish},
	{"DragQueryFile", &DragQueryFile},
	{"DragQueryPoint", &DragQueryPoint},
	{"DuplicateIcon", &DuplicateIcon},
	{"IsLFNDrive", &IsLFNDrive},
	{"SHCreateProcessAsUserW", &SHCreateProcessAsUserW},
	{"SHFreeNameMappings", &SHFreeNameMappings},
	{"SHGetImageList", &SHGetImageList},
	{"SHGetNewLinkInfo", &SHGetNewLinkInfo},
	{"SHTestTokenMembership", &SHTestTokenMembership},
}
View Source
var ShellApiUnicodeApis = outside.Apis{
	{"ExtractAssociatedIconW", &ExtractAssociatedIcon},
	{"ExtractAssociatedIconExW", &ExtractAssociatedIconEx},
	{"ExtractIconW", &ExtractIcon},
	{"ExtractIconExW", &ExtractIconEx},
	{"FindExecutableW", &FindExecutable},
	{"ShellAboutW", &ShellAbout},
	{"ShellExecuteW", &ShellExecute},
	{"SHGetDiskFreeSpaceExW", &SHGetDiskFreeSpaceEx},
	{"SHGetFileInfoW", &SHGetFileInfoW},
	{"SHInvokePrinterCommandW", &SHInvokePrinterCommand},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL