Desktop Functions: Smart Device Functions:
|
Search Results for "set" in [All]httpapi
[DllImport("httpapi.dll", SetLastError = true)] HTTP_SERVICE_CONFIG_URLACL_SET
HTTP_SERVICE_CONFIG_URLACL_SET urlAclSet = new HTTP_SERVICE_CONFIG_URLACL_SET();
urlAclSet.KeyDesc = urlAclKey;
urlAclSet.ParamDesc = urlAclParam;
IntPtr configInformation = Marshal.AllocCoTaskMem(Marshal.SizeOf(typeof(HTTP_SERVICE_CONFIG_URLACL_SET)));
Marshal.StructureToPtr(urlAclSet, configInformation, false);
int configInformationSize = Marshal.SizeOf(urlAclSet);
[DllImport("httpapi.dll", SetLastError = true)]
<DllImport("httpapi.dll", SetLastError := True)> _
[DllImport("httpapi.dll", SetLastError = true)] HTTP_SERVICE_CONFIG_URLACL_SET
HTTP_SERVICE_CONFIG_URLACL_SET QueryServiceConfig(string networkURL)
HTTP_SERVICE_CONFIG_URLACL_SET outputConfigInfo = new HTTP_SERVICE_CONFIG_URLACL_SET();
outputConfigInfo = (HTTP_SERVICE_CONFIG_URLACL_SET)Marshal.PtrToStructure(pOutputConfigInfo, typeof(HTTP_SERVICE_CONFIG_URLACL_SET));
[DllImport("httpapi.dll", SetLastError = true)]
static extern uint HttpSetServiceConfiguration(
Declare Function HttpSetServiceConfiguration Lib "httpapi.dll" (ByVal mustbezero As IntPtr, ByVal configID As Integer, ByVal configInfo As HTTP_SERVICE_CONFIG_URLACL_SET, ByVal configInfoLength As Integer, ByVal mustBeZero2 As IntPtr) As Integer HTTP_SERVICE_CONFIG_URLACL_SET
HTTP_SERVICE_CONFIG_URLACL_SET inputConfigInfoSet = new HTTP_SERVICE_CONFIG_URLACL_SET();
inputConfigInfoSet.KeyDesc = keyDesc;
inputConfigInfoSet.ParamDesc = paramDesc;
IntPtr pInputConfigInfo = Marshal.AllocCoTaskMem(Marshal.SizeOf(typeof(HTTP_SERVICE_CONFIG_URLACL_SET)));
Marshal.StructureToPtr(inputConfigInfoSet, pInputConfigInfo, false);
retVal = HttpApi.HttpSetServiceConfiguration(IntPtr.Zero,
Marshal.SizeOf(inputConfigInfoSet),
Marshal.SizeOf(inputConfigInfoSet),
retVal = HttpApi.HttpSetServiceConfiguration(IntPtr.Zero,
Marshal.SizeOf(inputConfigInfoSet),
class SetSSLCert
[DllImport("httpapi.dll", SetLastError = true)]
[DllImport("httpapi.dll", SetLastError = true)]
static extern uint HttpSetServiceConfiguration(
[DllImport("httpapi.dll", SetLastError = true)]
[DllImport("httpapi.dll", SetLastError = true)]
struct HTTP_SERVICE_CONFIG_SSL_SET
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
HTTP_SERVICE_CONFIG_SSL_SET configSslSet = new HTTP_SERVICE_CONFIG_SSL_SET();
configSslSet.ParamDesc = configSslParam;
configSslSet.KeyDesc = httpServiceConfigSslKey;
IntPtr pInputConfigInfo = Marshal.AllocCoTaskMem(Marshal.SizeOf(typeof(HTTP_SERVICE_CONFIG_SSL_SET)));
Marshal.StructureToPtr(configSslSet, pInputConfigInfo, false);
retVal = HttpSetServiceConfiguration(IntPtr.Zero,
Marshal.SizeOf(configSslSet),
Marshal.SizeOf(configSslSet),
retVal = HttpSetServiceConfiguration(IntPtr.Zero,
Marshal.SizeOf(configSslSet), iphlpapi6: AddIPAddress
[DllImport("iphlpapi.dll", SetLastError=true)]
[DllImport("iphlpapi.dll", EntryPoint = "AddIPAddress", SetLastError = true)] 7: EnableRouter
[DllImport("iphlpapi.dll", SetLastError=true)]
<DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)>
<FieldOffset(0)>
<FieldOffset(4)>
<FieldOffset(8)>
Public Offset As UInt32
<FieldOffset(12)>
Public OffsetHigh As UInt32
<FieldOffset(8)>
<FieldOffset(16)>
<DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)>
<DllImport("kernel32.dll", EntryPoint:="CreateEventA", CharSet:=CharSet.Unicode)>
Public Shared Function CreateEvent(lpEventAttributes As IntPtr, ByVal bManualReset As Boolean, ByVal bInitialState As Boolean, ByVal lpName As String) As IntPtr 8: FIXED_INFO
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
[DllImport("iphlpapi.dll", SetLastError=true)]
IF_TYPE_FASTETHER = 62, // Fast Ethernet (100BaseT) 11: GetAdaptersInfo
[DllImport("iphlpapi.dll", CharSet=CharSet.Ansi)]
<DllImport("iphlpapi.dll", EntryPoint:="GetAdaptersInfo", CharSet:=CharSet.Ansi)> _ 12: GetBestInterface
[DllImport("iphlpapi.dll", SetLastError=true)]
[DllImport("iphlpapi.dll", CharSet = CharSet.Auto)]
[DllImport("iphlpapi.dll", SetLastError=true)]
<DllImport("iphlpapi.dll", SetLastError:=True)> _
[DllImport("iphlpapi.dll", SetLastError = true)] 14: GetIfTable
/// the function sets this parameter equal to the required buffer size in bytes
[DllImport("Iphlpapi.dll", SetLastError=true)] 15: GetInterfaceInfo
[DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
int offset = sizeof(int);
Marshal.Copy(buffer, offset, ptr, Marshal.SizeOf(map));
offset += Marshal.SizeOf(map);
[DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)]
[DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)] 16: GetIpAddrTable
[DllImport("iphlpapi.dll", SetLastError=true)]
[DllImport(S"IPHLPAPI.DLL", EntryPoint=S"GetIpAddrTable", SetLastError=true, CharSet=CharSet::Unicode, ExactSpelling=true)] 17: GetNetworkParams
[DllImport("iphlpapi.dll", CharSet=CharSet.Ansi)]
<DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)>
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Ansi)>
<DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)> 18: IPAddress
[DllImport("iphlpapi.dll", SetLastError=true)] 19: IpReleaseAddress
[DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
int offset = sizeof(int);
Marshal.Copy(buffer, offset, ptr, Marshal.SizeOf(map));
offset += Marshal.SizeOf(map);
[DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)]
[DllImport("Iphlpapi.dll", CharSet = CharSet.Auto)] 20: MIB_IPNETROW
/// the function sets this parameter equal to the required buffer size</para></param>
/// <param name="pfHandle">[out] Pointer to a buffer that receives an array of filter handles. If the caller does not require the filter handles, the caller may set this parameter to NULL.</param> 22: ShowMessage
[DllImport("iphlpapi.dll", SetLastError=true)] 23: UnenableRouter
[DllImport("iphlpapi.dll", SetLastError=true)]
<DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)>
<FieldOffset(0)>
<FieldOffset(4)>
<FieldOffset(8)>
Public Offset As UInt32
<FieldOffset(12)>
Public OffsetHigh As UInt32
<FieldOffset(8)>
<FieldOffset(16)>
<DllImport("iphlpapi.dll", CharSet:=CharSet.Ansi)> dbghelp24: Testing
[DllImport("dbghelp.dll", SetLastError=true)] wtsapi3225: TerminalServices
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError = true)]
<DllImport("wtsapi32.dll", SetLastError:=True)> _
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
WTSReset,
WTSReset,
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError = true)]
CharSet:=CharSet.Auto, _
setlasterror:=True, _
WTSReset
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)> _
WTSReset
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)> _
CharSet:=CharSet.Auto, _
setlasterror:=True, _
<DllImport("wtsapi32.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _
<DllImport("wtsapi32.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _
Case WTS_CONNECTSTATE_CLASS.WTSReset
RetVal = "reset" 30: WTSFreeMemory
[DllImport("wtsapi32.dll", ExactSpelling=true, SetLastError=false)]
<DllImport("wtsapi32.dll", ExactSpelling:=True, SetLastError:=True)> _ 31: WTSLogoffSession
[DllImport("wtsapi32.dll", SetLastError = true)]
<DllImport("wtsapi32.dll", SetLastError:=True)> _ 32: WTSOpenServer
[DllImport("wtsapi32.dll", SetLastError=true)]
<DllImport("wtsapi32.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _ As always, only do SetLastError=true if you actually intend to call GetLastError.
[DllImport("wtsapi32.dll", ExactSpelling=true, SetLastError=false)]
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)] 36: WTSSendMessage
[DllImport("wtsapi32.dll", SetLastError=true)]
<DllImport("wtsapi32.dll", SetLastError:=True)> _
[DllImport("wtsapi32.dll", SetLastError = true)]
<DllImport("wtsapi32.dll", SetLastError:=True)>
param([int]$sessionId = 1, [string]$title = "Title", [string]$message = "Message", [int]$buttonSet = 4, [int]$timeout = 0, [bool]$waitResponse = $false)
[DllImport("wtsapi32.dll", SetLastError = true)]
$MessageBox::WTSSendMessage(0, $sessionId, $title, $titleLength, $message, $messageLength, $buttonSet, $timeout, [ref] $response, $waitResponse)
[DllImport("wtsapi32.dll", SetLastError=true)]
<DllImport("wtsapi32.dll", SetLastError:=True)> _
[DllImport("wtsapi32.dll", SetLastError = true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", CharSet=CharSet.Auto, SetLastError=true)]
[DllImport("wtsapi32.dll", CharSet=CharSet.Auto, ExactSpelling=true, SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
[DllImport("wtsapi32.dll", SetLastError=true)]
WTSReset, shell3245: api
[DllImport("shell32.dll", SetLastError=true)] 46: BatchExec
[DllImport("shell32.dll", SetLastError=true)] 47: CharSet
[DllImport("shell32.dll", SetLastError = true)]
[DllImport("shell32.dll", SetLastError = true)] 49: CSIDL
CSIDL_LOCAL_APPDATA = 0x001c, // <user name>\Local Settings\Applicaiton Data (non roaming)
CSIDL_CDBURN_AREA = 0x003b // USERPROFILE\Local Settings\Application Data\Microsoft\CD Burning 50: CSIDL
/// A typical path is C:\Documents and Settings\username\Application Data. This CSIDL is supported by the
/// A typical path is C:\Documents and Settings\username\Local Settings\Application Data\Microsoft\CD Burning.
/// C:\Documents and Settings\All Users\Application Data.
/// A typical path is C:\Documents and Settings\All Users\Desktop. Valid only for Windows NT systems.
/// C:\Documents and Settings\All Users\Documents. Valid for Windows NT systems and Microsoft Windows 95
/// A typical path is C:\Documents and Settings\All Users\Documents\My Music.
/// A typical path is C:\Documents and Settings\All Users\Documents\My Pictures.
/// Start menu for all users. A typical path is C:\Documents and Settings\All Users\Start Menu\Programs.
/// A typical path is C:\Documents and Settings\All Users\Start Menu. Valid only for Windows NT systems.
/// A typical path is C:\Documents and Settings\All Users\Start Menu\Programs\Startup. Valid only for Windows NT systems.
/// C:\Documents and Settings\All Users\Templates. Valid only for Windows NT systems.
/// A typical path is C:\Documents and Settings\All Users\Documents\My Videos.
/// C:\Documents and Settings\username\Cookies.
/// the desktop folder itself). A typical path is C:\Documents and Settings\username\Desktop.
/// C:\Documents and Settings\username\Favorites.
/// A typical path is C:\Documents and Settings\username\Local Settings\Temporary Internet Files.
/// A typical path is C:\Documents and Settings\username\Local Settings\Application Data.
/// C:\Documents and Settings\User\My Documents\My Music.
/// A typical path is C:\Documents and Settings\username\My Documents\My Pictures.
/// A typical path is C:\Documents and Settings\username\My Documents\My Videos.
/// A typical path is C:\Documents and Settings\username\NetHood.
/// A typical path is C:\Documents and Settings\username\My Documents. This should be distinguished from the virtual
/// A typical path is C:\Documents and Settings\username\PrintHood.
/// Version 5.0. The user's profile folder. A typical path is C:\Documents and Settings\username. Applications should
/// Version 6.0. The file system directory containing user profile folders. A typical path is C:\Documents and Settings.
/// A typical path is C:\Documents and Settings\username\Start Menu\Programs.
/// C:\Documents and Settings\username\My Recent Documents. To create a shortcut in this folder, use SHAddToRecentDocs.
/// The file system directory that contains Send To menu items. A typical path is C:\Documents and Settings\username\SendTo.
/// The file system directory containing Start menu items. A typical path is C:\Documents and Settings\username\Start Menu.
/// A typical path is C:\Documents and Settings\username\Start Menu\Programs\Startup.
/// C:\Documents and Settings\username\Templates. 51: dll ILCLONEFULL
[DllImport("shell32.dll", SetLastError=true)] 52: ExtendedFileInfo
[DllImport("shell32.dll", SetLastError=true)]
<DllImport("shell32.dll", CharSet:=CharSet.Auto)> _ 54: ExtractIcon
[DllImport("shell32.dll", CharSet=CharSet.Auto)]
<DllImport("shell32.dll", CharSet:=CharSet.Auto)> _
[DllImport("Shell32", CharSet=CharSet.Auto)]
[DllImport("user32.dll", EntryPoint="DestroyIcon", SetLastError=true)]
<DllImport("shell32.dll", CharSet:=CharSet.Auto)> _
<DllImport("user32.dll", EntryPoint:="DestroyIcon", SetLastError:=True)> _ 55: ExtractIconEx
[DllImport("shell32.dll", CharSet=CharSet.Auto)]
<DllImport("shell32.dll", CharSet:=CharSet.Auto)> _
[DllImport("Shell32", CharSet=CharSet.Auto)]
[DllImport("user32.dll", EntryPoint="DestroyIcon", SetLastError=true)]
<DllImport("shell32.dll", CharSet:=CharSet.Auto)> _
<DllImport("user32.dll", EntryPoint:="DestroyIcon", SetLastError:=True)> _
[DllImport("shell32.dll", SetLastError=true)] Create three bool variables to set true or false :- set set set
[DllImport("Kernel32.dll", SetLastError = true, CharSet = CharSet.Auto)] 58: IsNetDrive
/// Set it to 0 for A:, 1 for B:, and so on.
[DllImport("shell32.dll", SetLastError = True)]
''' Set it to 0 for A:, 1 for B:, and so on.
<DllImport("shell32.dll", SetLastError:=True, CharSet:=CharSet.Unicode)> _ 59: IsUserAnAdmin
[DllImport("shell32.dll", SetLastError = True)]
<DllImport("shell32.dll", SetLastError:=True)> _ 60: ITaskbarList
void SetActiveAlt(IntPtr hwnd);
void SetProgressValue(IntPtr hwnd, UInt64 ullCompleted, UInt64 ullTotal);
void SetProgressState(IntPtr hwnd, TaskbarProgressBarStatus tbpFlags);
void SetTabOrder(IntPtr hwndTab, IntPtr hwndInsertBefore);
void SetTabActive(IntPtr hwndTab, IntPtr hwndInsertBefore, uint dwReserved);
void ThumbBarSetImageList(IntPtr hwnd, IntPtr himl);
void SetOverlayIcon(
void SetThumbnailTooltip(
void SetThumbnailClip(
void SetTabProperties(IntPtr hwndTab, SetTabPropertiesOption stpFlags);
Sub SetActiveAlt(hwnd As IntPtr)
Sub SetProgressValue(hwnd As IntPtr, ullCompleted As UInt64, ullTotal As UInt64)
Sub SetProgressState(hwnd As IntPtr, tbpFlags As TaskbarProgressBarStatus)
Sub SetTabOrder(hwndTab As IntPtr, hwndInsertBefore As IntPtr)
Sub SetTabActive(hwndTab As IntPtr, hwndInsertBefore As IntPtr, dwReserved As UInteger)
Sub ThumbBarSetImageList(hwnd As IntPtr, himl As IntPtr)
Sub SetOverlayIcon(hwnd As IntPtr, hIcon As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> pszDescription As String)
Sub SetThumbnailTooltip(hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> pszTip As String)
Sub SetThumbnailClip(hwnd As IntPtr, prcClip As IntPtr)
Sub SetTabProperties(hwndTab As IntPtr, stpFlags As SetTabPropertiesOption) Cut off search results after 60. Please refine your search. |