Desktop Functions: Smart Device Functions:
|
Search Results for "GUID" in [All]irprops
private static extern uint BluetoothEnumerateInstalledServices(IntPtr hRadio, ref Bluetooth_Device_Info pbtdi, ref uint pcServices, Guid[] pGuidServices);
private static extern uint BluetoothSetServiceState(IntPtr hRadio, ref BLUETOOTH_DEVICE_INFO pbtdi, ref Guid pGuidService, DwServiceFlags dwServiceFlags); misc3: Comments
ws2_32
public GUID ProviderId; xolehlp
[In] ref Guid iid,
Public Declare Ansi Sub DtcGetTransactionManager Lib "xolehlp.dll" (ByVal hostName As String, ByVal tmName As String, ByVal iid As Guid, ByVal dwReserved1 As Integer, ByVal wReserved2 As Short, ByVal pvReserved As Integer, ByRef ppv As Integer) powrprof
ref Guid SrcSchemeGuid,
ref IntPtr DstSchemeGuid);
/// The GUID for the new policy if successful, otherwise a blank GUID is returned
Guid CreateNewPowerPolicy()
Guid result = new Guid();
// Function returns a pointer-to-memory, marshal back to our Guid variable.
result = (Guid)Marshal.PtrToStructure(RetrPointer, typeof(Guid)); 10: PowerEnumerate
IntPtr SchemeGuid,
IntPtr SubGroupOfPowerSettingsGuid,
SchemeGuid As IntPtr,
SubGroupOfPowerSettingsGuid As IntPtr,
List<Guid> GUIDs = new List<Guid>();
Guid NewGuid = (Guid) Marshal.PtrToStructure(ReadBuffer, typeof(Guid));
GUIDs.Add(NewGuid);
public static extern UInt32 PowerGetActiveScheme(IntPtr UserRootPowerKey, ref IntPtr ActivePolicyGuid);
Declare Function PowerGetActiveScheme Lib "powrprof.dll" (ByVal UserRootPowerKey As IntPtr, ByRef ActivePolicyGuid As IntPtr) As Integer
IntPtr ptrActiveGuid = IntPtr.Zero;
uint res = PowerGetActiveScheme(IntPtr.Zero, ref ptrActiveGuid);
res = PowerReadFriendlyName(IntPtr.Zero, ptrActiveGuid, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, ref buffSize);
res = PowerReadFriendlyName(IntPtr.Zero, ptrActiveGuid, IntPtr.Zero, IntPtr.Zero, ptrName, ref buffSize);
IntPtr SchemeGuid,
IntPtr SubGroupOfPowerSettingGuid,
IntPtr PowerSettingGuid,
ref Guid SchemeGuid,
IntPtr SubGroupOfPowerSettingGuid,
IntPtr PowerSettingGuid,
"PowerReadFriendlyName" (RootPowerKey As IntPtr, ByRef SchemeGuid As Guid, _
SubGroupOfPowerSettingGuid As IntPtr, PowerSettingGuid As IntPtr, _
''' <param name="SchemeGuid">The identifier of the power scheme.</param>
''' <param name="SubGroupOfPowerSettingGuid">The subgroup of power settings. Use NO_SUBGROUP_GUID to refer to the default power scheme.</param>
''' <param name="PowerSettingGuid">The identifier of the power setting that is being used.</param>
IntPtr ptrActiveGuid = IntPtr.Zero;
uint res = PowerGetActiveScheme(IntPtr.Zero, ref ptrActiveGuid);
res = PowerReadFriendlyName(IntPtr.Zero, ptrActiveGuid, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero, ref buffSize);
res = PowerReadFriendlyName(IntPtr.Zero, ptrActiveGuid, IntPtr.Zero, IntPtr.Zero, ptrName, ref buffSize);
/// <param name="powerGuid">The relevant Power Policy GUID</param>
[MarshalAs(UnmanagedType.LPStruct)] Guid powerGuid
/// Partial call to Vista method PowerSettingAccessCheck() supporting null GUID parameter.
/// <param name="powerGuid">null</param>
IntPtr powerGuid
ref Guid SchemeGuid,
IntPtr SubGroupOfPowerSettingGuid,
IntPtr PowerSettingGuid,
static Boolean powerWriteFriendlyName(Guid powerPlanId, string name) winfax
static extern bool FaxEnableRoutingMethod (IntPtr FaxPortHandle, string RoutingGuid,
static extern bool FaxGetRoutingInfo (IntPtr FaxPortHandle, string RoutingGuid,
static extern bool FaxSetRoutingInfo (IntPtr FaxPortHandle, string RoutingGuid, advapi32
var guids = new Guid[categoryCount];
guids[i] = (Guid)Marshal.PtrToStructure((IntPtr)elemOffs, typeof(Guid));
elemOffs += Marshal.SizeOf(typeof(Guid)); 19: ControlService
heartbeatThread.Name = "Heartbeat_$" + Guid.NewGuid ().ToString ().Replace ('-', '_');
public string szHwProfileGuid;
string lText=lProfile.szHwProfileGuid.ToString(); 21: GetSecurityInfo
SE_WMIGUID_OBJECT, 22: OpenThreadToken
// http://pluralsight.com/wiki/default.aspx/Keith.GuideBook/HowToImpersonateAUserGivenHerToken.html,
// http://pluralsight.com/wiki/default.aspx/Keith.GuideBook/HowToCreateAWindowsPrincipalGivenAToken.html,
[DllImport("advapi32", EntryPoint = "RegisterTraceGuidsW", CharSet = CharSet.Unicode, ExactSpelling = true)]
static extern unsafe uint RegisterTraceGuids([In] EtwProc cbFunc, [In] void* context, [In] ref Guid controlGuid, [In] uint guidCount, ref TraceGuidRegistration guidReg, [In] string mofImagePath, [In] string mofResourceName, out ulong regHandle); TraceGuidRegistration (http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/etw/etw/trace_guid_registration.asp)
internal struct TraceGuidRegistration
internal unsafe System.Guid* Guid;
[DllImport("advapi32", EntryPoint = "RegisterTraceGuidsW", CharSet = CharSet.Unicode, ExactSpelling = true)]
static extern unsafe uint RegisterTraceGuids([In] EtwProc cbFunc, [In] void* context, [In] ref Guid controlGuid, [In] uint guidCount, ref TraceGuidRegistration guidReg, [In] string mofImagePath, [In] string mofResourceName, out ulong regHandle); TraceGuidRegistration (http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/etw/etw/trace_guid_registration.asp)
internal struct TraceGuidRegistration
internal unsafe System.Guid* Guid;
SE_WMIGUID_OBJECT,S E_REGISTRY_WOW64_32KEY 26: TraceEvent Make sure that you call RegisterTraceGuids first to get your traceHandle.
SE_WMIGUID_OBJECT, wintrust29: WinVerifyTrust
[In] [MarshalAs(UnmanagedType.LPStruct)] Guid pgActionID,
// GUID of the action to perform
[In] [MarshalAs(UnmanagedType.LPStruct)] Guid pgActionID,
Guid guidAction = new Guid(WINTRUST_ACTION_GENERIC_VERIFY_V2);
WinVerifyTrustResult result = WinVerifyTrust(INVALID_HANDLE_VALUE, guidAction, wtd);
Guid action = new Guid(WINTRUST_ACTION_GENERIC_VERIFY_V2); httpapi
public Guid AppId;
configSslParam.AppId = Guid.NewGuid(); netapi32
public Guid DomainGuid;
public Guid DomainGuid; 32: DsGetDcName
[In] GuidClass DomainGuid, DOMAIN_CONTROLLER_INFO, GuidClass
public Guid DomainGuid;
[In] int DomainGuid, 33: DsGetDcOpen
IntPtr DomainGuid,
[In] IntPtr domainGuid,
/// <summary>The DomainGuid member contains a valid domain GUID.</summary>
/// <summary>Primary domain server GUID is present.</summary>
DomainGuidPresent = 16777216 35: NetServerGetInfo
public Guid DomainGuid; 36: NetUserEnum
userNames += child.Name + "{" + child.Guid + "}" + Environment.NewLine; rpcrt437: UuidCreate
static extern int UuidCreateSequential(out Guid guid);
Declare Function UuidCreateSequential Lib "rpcrt4.dll" (ByRef id As Guid) As Integer Microsoft changed the UuidCreate function so it no longer uses the machine's MAC address as part of the UUID. Since CoCreateGuid calls UuidCreate to get its GUID, its output also changed. If you still like the GUIDs to be generated in sequential order (helpful for keeping a related group of GUIDs together in the system registry), you can use the UuidCreateSequential function. CoCreateGuid generates random-looking GUIDs like these: UuidCreateSequential generates sequential GUIDs like these:
static Guid UuidCreateSequential()
Guid g;
Dim myId As Guid
static extern int UuidCreateSequential(out Guid guid);
Declare Function UuidCreateSequential Lib "rpcrt4.dll" (ByRef id As Guid) As Integer Microsoft changed the UuidCreate function so it no longer uses the machine's MAC address as part of the UUID. Since CoCreateGuid calls UuidCreate to get its GUID, its output also changed. If you still like the GUIDs to be generated in sequential order (helpful for keeping a related group of GUIDs together in the system registry), you can use the UuidCreateSequential function. CoCreateGuid generates random-looking GUIDs like these: UuidCreateSequential generates sequential GUIDs like these:
static Guid UuidCreateSequential()
Guid g;
Dim myId As Guid 39: UuidFromStringA typedef struct _GUID { userenv
IntPtr pGuidExtension,
__in GUID* pGuidExtension, oleaccAccessibleObjectFromWindow(hWnd, (uint) OBJID.WINDOW, ref guid, ref accessible);
ref Guid iid,
ByRef riid As Guid, _
ByRef riid As Guid, _
Dim IID_IAcce As Guid = New Guid("618736E0-3C3D-11CF-810C-00AA00389B71")
Guid guid = new Guid("{618736E0-3C3D-11CF-810C-00AA00389B71}");
int retVal = AccessibleObjectFromWindow(hwnd, (uint)OBJID.WINDOW, ref guid, ref obj);
[MarshalAs(UnmanagedType.LPStruct)] Guid refiid, IntPtr wParam);
Declare Auto Function ObjectFromLresult Lib "oleacc.dll" (ByVal lResult As UIntPtr, <MarshalAs(UnmanagedType.LPStruct)> ByVal refiid As Guid, ByVal wParam As IntPtr) As <MarshalAs(UnmanagedType.Interface)> Object
Shared Function ObjectFromLresult(ByVal lResult As UIntPtr, <MarshalAs(UnmanagedType.LPStruct)> ByVal refiid As Guid, ByVal wParam As IntPtr) As <MarshalAs(UnmanagedType.Interface)> Object
typeof(mshtml.IHTMLDocument).GUID, IntPtr.Zero); ntdsapi44: DsCrackNames
// String-ized GUID as returned by IIDFromString().
internal static extern void DsFreeSchemaGuidMap(
IntPtr pGuidMap);
Declare Function DsFreeSchemaGuidMap Lib "ntdsapi.dll" (TODO) As TODO
result = DsMapSchemaGuids(phDS, (uint)myGuids.Length, myGuids, out guidMap);
DsFreeSchemaGuidMap(guidMap);
public struct GUID
public GUID SiteObjectGuid;
public GUID ComputerObjectGuid;
public GUID ServerObjectGuid;
public GUID NtdsDsaObjectGuid; 47: DsMapSchemaGuids
internal static extern uint DsMapSchemaGuids(
uint cGuids,
Guid[] rGuids,
out IntPtr ppGuidMap);
Friend Shared Function DsMapSchemaGuids(hDs As IntPtr, cGuids As UInteger, rGuids As Guid(), ByRef ppGuidMap As IntPtr) As UInteger Requires DsBind, recommend DsUnBind and DsFreeSchemaGuidMap
IntPtr guidMap = new IntPtr(0);
Guid[] myGuids = {
new Guid("{e0fa1e69-9b45-11d0-afdd-00c04fd930c9}"),
new Guid("{771727b1-31b8-4cdf-ae62-4fe39fadf89e}"),
new Guid("{d5eb2eb7-be4e-463b-a214-634a44d7392e}"),
new Guid("{e0fa1e8c-9b45-11d0-afdd-00c04fd930c9}")
result = DsMapSchemaGuids(phDS, (uint)myGuids.Length, myGuids, out guidMap);
DS_SCHEMA_GUID_MAP[] guidMapResult = parseGuids(guidMap, myGuids.Length, true);
for (int i = 0; i < guidMapResult.Length; i++)
Console.WriteLine("{0} = {1}", myGuids[i], guidMapResult[i].pName);
internal static extern uint DsMapSchemaGuids(
uint cGuids,
Guid[] rGuids,
out IntPtr ppGuidMap);
internal static extern void DsFreeSchemaGuidMap(
IntPtr pGuidMap);
internal class GUID
internal struct DS_SCHEMA_GUID_MAP
internal GUID guid;
internal uint guidType;
private static DS_SCHEMA_GUID_MAP[] parseGuids(IntPtr guidMap, int numGuids, bool freePointer)
int typeSize = Marshal.SizeOf(typeof(DS_SCHEMA_GUID_MAP));
DS_SCHEMA_GUID_MAP[] schemaMap = new DS_SCHEMA_GUID_MAP[numGuids];
IntPtr guidPointer = guidMap;
for (int i = 0; i < numGuids; i++)
schemaMap[i] = (DS_SCHEMA_GUID_MAP)Marshal.PtrToStructure(
(long)guidPointer + i * typeSize
typeof(DS_SCHEMA_GUID_MAP)
DsFreeSchemaGuidMap(guidPointer); gdiplus
Guid clsid; user3249: CreatePopupMenu
[Guid("6B3A1F0C-C382-40d6-AA13-33B0AB46EEAA")]
protected const string guid = "{6B3A1F0C-C382-40d6-AA13-33B0AB46EEAA}";
rk.SetValue(guid.ToString(), "BatchResults shell extension");
// Set "Folder\\shellex\\ContextMenuHandlers\\BatchResults" regkey to my guid
rk.SetValue("", guid.ToString());
rk.DeleteValue(guid); 50: GetWindowTex
/// at least as large as the actual length of the text; you can thus always use it to guide buffer allocation. This 51: LoadString ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpguide/html/cpcondefaultmarshalingforstrings.htm
ref Guid PowerSettingGuid,
static Guid GUID_BATTERY_PERCENTAGE_REMAINING = new Guid("A7AD8041-B45A-4CAE-87A3-EECBB468A9E1");
static Guid GUID_MONITOR_POWER_ON = new Guid(0x02731015, 0x4510, 0x4526, 0x99, 0xE6, 0xE5, 0xA1, 0x7E, 0xBD, 0x1A, 0xEA);
static Guid GUID_ACDC_POWER_SOURCE = new Guid(0x5D3E9A59, 0xE9D5, 0x4B00, 0xA6, 0xBD, 0xFF, 0x34, 0xFF, 0x51, 0x65, 0x48);
static Guid GUID_POWERSCHEME_PERSONALITY = new Guid(0x245D8541, 0x3943, 0x4422, 0xB0, 0x25, 0x13, 0xA7, 0x84, 0xF6, 0x79, 0xB7);
static Guid GUID_MAX_POWER_SAVINGS = new Guid(0xA1841308, 0x3541, 0x4FAB, 0xBC, 0x81, 0xF7, 0x15, 0x56, 0xF2, 0x0B, 0x4A);
static Guid GUID_MIN_POWER_SAVINGS = new Guid(0x8C5E7FDA, 0xE8BF, 0x4A96, 0x9A, 0x85, 0xA6, 0xE2, 0x3A, 0x8C, 0x63, 0x5C);
static Guid GUID_TYPICAL_POWER_SAVINGS = new Guid(0x381B4222, 0xF694, 0x41F0, 0x96, 0x85, 0xFF, 0x5B, 0xB2, 0x60, 0xDF, 0x2E);
public Guid PowerSetting;
public Guid PowerSetting;
ref GUID_ACDC_POWER_SOURCE,
ref GUID_BATTERY_PERCENTAGE_REMAINING,
ref GUID_MONITOR_POWER_ON,
ref GUID_POWERSCHEME_PERSONALITY,
if (ps.PowerSetting == GUID_POWERSCHEME_PERSONALITY &&
ps.DataLength == Marshal.SizeOf(typeof(Guid)))
Guid newPersonality =
(Guid)Marshal.PtrToStructure(pData, typeof(Guid));
if (newPersonality == GUID_MAX_POWER_SAVINGS)
else if (newPersonality == GUID_MIN_POWER_SAVINGS)
else if (newPersonality == GUID_TYPICAL_POWER_SAVINGS)
else if (ps.PowerSetting == GUID_ACDC_POWER_SOURCE && wlanapi53: WlanConnect
public static extern uint WlanConnect(IntPtr hClientHandle,ref Guid pInterfaceGuid,ref WLAN_CONNECTION_PARAMETERS pConnectionParameters,IntPtr pReserved);
ByRef pInterfaceGuid As Guid, _
WlanConnect(ClientHandle,ref pInterfaceGuid,ref wlanConnectionParameters ,new IntPtr());
WlanConnect(ClientHandle, pInterfaceGuid, wlanConnectionParameters, IntPtr.Zero)
public static extern uint WlanDeleteProfile(IntPtr hClientHandle,ref Guid pInterfaceGuid,string strProfileName,IntPtr pReserved); 55: WlanDisconnect
public static extern uint WlanDisconnect(IntPtr hClientHandle,ref Guid pInterfaceGuid,IntPtr pReserved);
public static extern uint WlanGetAvailableNetworkList(IntPtr hClientHandle, ref Guid pInterfaceGuid, uint dwFlags, IntPtr pReserved, ref IntPtr ppAvailableNetworkList);
Public Shared Function WlanGetAvailableNetworkList(ByVal hClientHandle As IntPtr, ByRef pInterfaceGuid As Guid, ByVal dwFlags As UInteger, ByVal pReserved As IntPtr, ByRef ppAvailableNetworkList As IntPtr) As UInteger
Guid pInterfaceGuid = ((WLAN_INTERFACE_INFO)wlanInterfaceInfoList.InterfaceInfo[0]).InterfaceGuid;
WlanGetAvailableNetworkList(ClientHandle, ref pInterfaceGuid, WLAN_AVAILABLE_NETWORK_INCLUDE_ALL_MANUAL_HIDDEN_PROFILES, new IntPtr(), ref ppAvailableNetworkList); 57: WlanGetProfile
[In, MarshalAs(UnmanagedType.LPStruct)] Guid interfaceGuid,
WlanGetProfileList(ClientHandle, pInterfaceGuid, IntPtr.Zero, out ppProfileList);
public static extern uint WlanGetProfileList(IntPtr hClientHandle,ref Guid pInterfaceGuid,IntPtr pReserved, ref IntPtr ppProfileList);
WlanGetProfileList(ClientHandle, ref pInterfaceGuid, new IntPtr(), ref ppProfileList);
[In] ref Guid pInterfaceGuid,
<[In]> ByRef pInterfaceGuid As Guid, ByVal OpCode As WLAN_INTF_OPCODE, _
Guid guid;
guid = infoList.InterfaceInfo[i].InterfaceGuid;
if (WlanQueryInterface(handle, ref guid, WLAN_INTF_OPCODE.wlan_intf_opcode_current_connection, IntPtr.Zero, out dataSize, ref ptr, IntPtr.Zero) != 0)
Dim guid As Guid
guid = infoList.InterfaceInfo(i).InterfaceGuid
If WlanQueryInterface(handle, guid, WLAN_INTF_OPCODE.wlan_intf_opcode_current_connection, IntPtr.Zero, dataSize, ptr, _ 60: WlanScan
public static extern uint WlanScan(IntPtr hClientHandle,ref Guid pInterfaceGuid,IntPtr pDot11Ssid,IntPtr pIeData,IntPtr pReserved);
Public Shared Function WlanScan(ByVal hClientHandle As IntPtr, ByRef pInterfaceGuid As Guid, ByVal pDot11Ssid As IntPtr, ByVal pIeData As IntPtr, ByVal pReserved As IntPtr) As UInteger
Guid g;
g = infoList.InterfaceInfo[i].InterfaceGuid; Cut off search results after 60. Please refine your search. |