Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "POINT" in [All]

ntdsapi

.

CharSet = CharSet.Unicode, EntryPoint = "DsBindWithCredW", SetLastError = true)]

.

CharSet = CharSet.Unicode, EntryPoint = "DsBindWithCredW", SetLastError = true)]

.

EntryPoint = "DsFreePasswordCredentials", SetLastError = true)]

.

        IntPtr pDCinfos; // pointer to array of DS_DOMAIN_CONTROLLER_INFO_2

.

EntryPoint = "DsMakePasswordCredentialsW", SetLastError = true)]

.

    private static DS_SCHEMA_GUID_MAP[] parseGuids(IntPtr guidMap, int numGuids, bool freePointer)

.

        IntPtr guidPointer = guidMap;

.

                (long)guidPointer + i * typeSize

.

        if (freePointer)

.

        DsFreeSchemaGuidMap(guidPointer);

.

CharSet = CharSet.Unicode, EntryPoint = "DsUnBindW", SetLastError = true)]

rpcrt4

.

[DllImport("Rpcrt4.dll",EntryPoint="UuidFromStringA",SetLastError=true, CharSet=CharSet::Ansi, ExactSpelling=true, CallingConvention=CallingConvention::StdCall)]

.

pin_ptr<unsigned char> UuidSringPtr = static_cast<unsigned char *>(System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi("C3ECE8CB-E9F8-47f9-AC61-8EA8572403F2").ToPointer());

rapi

.

Microsoft has the strings defiled as a reference (pointer) however this definition works for me...

.

   retOutput = new string((char*)pOutput.ToPointer());

.
Summary
This function reads data from a file, starting at the position indicated by the file pointer. After the read operation has been completed, the file pointer is adjusted by the number of bytes actually read.
.

[DllImport("rapi.dll", EntryPoint = "CeRegEnumValue")]

.
Summary
This function writes data to a file. It starts writing data to the file at the position indicated by the file pointer. After the write operation has been completed, the file pointer is adjusted by the number of bytes actually written.

dwmapi

.

[DllImport("dwmapi.dll", EntryPoint = "#127", PreserveSig = false)]

.

    [DllImport("dwmapi.dll", EntryPoint = "#127", PreserveSig = false)]

.

    [DllImport("dwmapi.dll", EntryPoint = "#131", PreserveSig = false)]

.

    [DllImport("dwmapi.dll", EntryPoint = "#131", PreserveSig = false)]

Enums

.

/// For use with ChildWindowFromPointEx

.

public enum WindowFromPointFlags

.

Enum ChildWindowFromPointFlags

.
Documentation
[ChildWindowFromPointFlags] on MSDN
.

        /// Retrieves the dimensions, in tenths of a millimeter, of each supported paper size. The pOutput buffer receives an array of POINT structures. Each structure contains the width (x-dimension) and length (y-dimension) of a paper size as if the paper were in the DMORIENT_PORTRAIT orientation. The return value indicates the number of entries in the array.

.

    FILE_DEVICE_POINT_OF_SERVICE = 0x54,

.

    FILE_DEVICE_POINT_OF_SERVICE = &H54

19: DLGC
.

    /// <summary> Control processes the message in the MSG structure that lParam points to. </summary>

.

     /// A file or directory that has an associated reparse point, or a file that is a symbolic link.

.

     ReparsePoint = 0x00000400,

.

    ''' A file or directory that has an associated reparse point, or a file that is a symbolic link.

.

    ReparsePoint = &H400

.

    /// Treat reparse points as objects, not containers

.

    ''' Treat reparse points as objects, not containers

.

    /// The file system supports reparse points.  

.

    FILE_SUPPORTS_REPARSE_POINTS    = 0x00000080,

.

    ///Invalid pointer

.

    [Description("Invalid pointer")]

.

    public const int E_POINTER = unchecked((int)0x80004003);

.

    ///Invalid pointer error.

.

    [Description("Invalid pointer error.")]

.

    public const int STG_E_INVALIDPOINTER = unchecked((int)0x80030009);

.

    ///An invalid root block pointer was specified

.

    [Description("An invalid root block pointer was specified")]

.

    ///An allocation chain contained an invalid link pointer

.

    [Description("An allocation chain contained an invalid link pointer")]

.

    ///The operation involving unsigned file copying was rolled back, so that a system restore point could be set.

.

    [Description("The operation involving unsigned file copying was rolled back, so that a system restore point could be set.")]

.

    public const int SPAPI_E_SET_SYSTEM_RESTORE_POINT = unchecked((int)0x800F0236);

.

    ///There was an error trying to set the smart card file object pointer.

.

    [Description("There was an error trying to set the smart card file object pointer.")]

.

    '''Invalid pointer

.

    <Description("Invalid pointer")> _

.

    Public Const E_POINTER As Integer = CInt(&H80004003UI)

.

    '''Invalid pointer error.

.

    <Description("Invalid pointer error.")> _

.

    Public Const STG_E_INVALIDPOINTER As Integer = CInt(&H80030009UI)

.

    '''An invalid root block pointer was specified

.

    <Description("An invalid root block pointer was specified")> _

.

    '''An allocation chain contained an invalid link pointer

.

    <Description("An allocation chain contained an invalid link pointer")> _

.

    '''The operation involving unsigned file copying was rolled back, so that a system restore point could be set.

.

    <Description("The operation involving unsigned file copying was rolled back, so that a system restore point could be set.")> _

.

    Public Const SPAPI_E_SET_SYSTEM_RESTORE_POINT As Integer = CInt(&H800f0236UI)

.

    '''There was an error trying to set the smart card file object pointer.

.

    <Description("There was an error trying to set the smart card file object pointer.")> _

24: LB_
.

    ///   lParam-A pointer to the null-terminated string that is to be added. If the list box has an owner-drawn style but not the LBS_HASSTRINGS style, this parameter is stored as item data instead of a string. You can send the LB_GETITEMDATA and LB_SETITEMDATA messages to retrieve or modify the item data.

.

    ///  lParam-A pointer to a buffer large enough for the number of integers specified by the wParam parameter.

.

    ///   lParam A pointer to the null-terminated string that contains the prefix for which to search. The search is case independent

.

    ///  lParam A pointer to the null-terminated string that contains the string for which to search. The search is case independent, so this string can contain any combination of uppercase and lowercase letters.

.

    ///  lParam A pointer to the buffer that will receive the string; The buffer must have sufficient space for the string and a terminating null character.

.

    '   lParam-A pointer to the null-terminated string that is to be added. If the list box has an owner-drawn style but not the LBS_HASSTRINGS style, this parameter is stored as item data instead of a string. You can send the LB_GETITEMDATA and LB_SETITEMDATA messages to retrieve or modify the item data.

.

    '  lParam-A pointer to a buffer large enough for the number of integers specified by the wParam parameter.

.

    '   lParam A pointer to the null-terminated string that contains the prefix for which to search. The search is case independent

.

    '  lParam A pointer to the null-terminated string that contains the string for which to search. The search is case independent, so this string can contain any combination of uppercase and lowercase letters.

.

    '  lParam A pointer to the buffer that will receive the string; The buffer must have sufficient space for the string and a terminating null character.

.

    Breakpoint = 0x80000003,

.

    EntryPointNotFound = 0xc0000139,

.

        /// <summary>620. No endpoints could be determined. </summary>

.

        ERROR_NO_ENDPOINTS,

.

        /// <summary>825. Point-to-Point Tunneling Protocol (PPTP) is incompatible with IPv6. Change the type of virtual private network to Layer Two Tunneling Protocol (L2TP). </summary>

.

  [DllImport("advapi32.dll", EntryPoint = "SetSecurityInfo", CallingConvention = CallingConvention.Winapi,

.

  [DllImport("advapi32.dll", EntryPoint = "SetNamedSecurityInfoW", CallingConvention = CallingConvention.Winapi,

.

      '''Changes the cursor to a question mark with a pointer. If the user

.

        /// The number of pixels on either side of a mouse-down point that the mouse pointer can move before a drag operation begins.

.

        /// If this value is negative, it is subtracted from the left of the mouse-down point and added to the right of it.

.

        /// The number of pixels above and below a mouse-down point that the mouse pointer can move before a drag operation begins.

.

        /// If this value is negative, it is subtracted from above the mouse-down point and added below it.

.

    ''' Width of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins in pixels.

.

    ''' Height of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins. This value is in pixels. It allows the user to click and release the mouse button easily without unintentionally starting a drag operation.

.

    /// Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint, AccessibleObjectFromEvent, or AccessibleObjectFromWindow. However, server applications handle this message.

.

    '''Active Accessibility sends the WM_GETOBJECT message to obtain information about an accessible object contained in a server application. Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint AccessibleObjectFromEvent or AccessibleObjectFromWindow. However server applications handle this message.

.

    ''' A pointer to the buffer that is to receive the text.

.

    ''' A pointer to a null-terminated string that is the window text.

.

    ''' A <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' or in response to a call to a function such as <c>WindowFromPoint</c>.

.

    ''' A pointer to a <see cref="Win32.Types.Rect"/> structure with the screen coordinates of the drag rectangle.

.

    ''' A pointer to a <c>WINDOWPOS</c> structure that contains information about the window's new size and position.

.

    ''' A <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A pointer to a <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A pointer to a <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A pointer to a <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

        /// The main entry point for the application.

.

    /// the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a WM_HELP message.

.

    ''' the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a WM_HELP message.

.

    /// the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a WM_HELP message.

.

    ''' the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a WM_HELP message.

setupapi

.

outputDeviceInstance, Caller-supplied pointer to the device instance handle to the child node that this function retrieves. The retrieved handle is bound to the local machine.

.

pulRegDataType, Optional, can be NULL. A pointer to a location that receives the registry data type, specified as a REG_-prefixed constant defined in Winnt.h.

.

buffer, Optional, can be NULL. A pointer to a caller-supplied buffer that receives the requested device property. If this value is NULL, the function supplies only the length of the requested data in the address pointed to by pulLength.

.

length, A pointer to a ULONG variable into which the function stores the length, in bytes, of the requested device property. If the Buffer parameter is set to NULL, the ULONG variable must be set to zero. If the Buffer parameter is not set to NULL, the ULONG variable must be set to the length, in bytes, of the caller-supplied buffer.

.

DEVINST is a DWORD, not a pointer. This matters on 64-bit platforms.

.

outputDeviceInstance, Caller-supplied pointer to the device instance handle to the sibling node that this function retrieves. The retrieved handle is bound to the local machine.

.

DEVINST is a DWORD, not a pointer. This matters on 64-bit platforms.

.

[out, optional] Pointer to a buffer to receive the INF file name assigned to it at the time it was copied to the INF directory. The buffer, if specified, should typically be MAX_PATH in length. If the SP_COPY_NOOVERWRITE flag is specified and the SetupCopyOEMInf function fails with a return code of ERROR_FILE_EXISTS, this buffer will contain the name of the existing INF file. If the SP_COPY_OEMINF_CATALOG_ONLY flag is specified, this buffer will contain the destination INF filename if the INF file is already present in the INF directory. Otherwise, this buffer will be set to the empty string. This parameter can be NULL.

.

[out, optional] Pointer to a variable that receives the size (in characters) required to store the destination INF file name including a terminating NULL. If the SP_COPY_OEMINF_CATALOG_ONLY flag is specified, this variable will receive a string length only if the INF file already exists in the INF directory. Otherwise, this variable will be set to zero. This parameter can be NULL.

.

[out, optional] Pointer to a string that is set upon successful return (or ERROR_FILE_EXISTS) to point to the beginning of the filename component of the path stored in the DestinationInfFileName parameter. If the SP_COPY_OEMINF_CATALOG_ONLY flag is specified, the DestinationInfFileName parameter may be an empty string. In this case, the character pointer will be set to NULL upon successful return. This parameter can be NULL.

.

A GUID array that receives a list of setup class GUIDs. This pointer is optional and can be NULL.

.

The number of GUIDs in the array that is pointed to by the ClassGuildList parameter. If ClassGuidList is NULL, ClassGuidSize must be zero.

.

A pointer to a DWORD-typed variable that receives the number of GUIDs that are returned (if the number is less than or equal to the size, in GUIDs, of the array that is pointed to by the ClassGuidList parameter). If this number is greater than the size of the ClassGuidList array, it indicates how large the ClassGuidList array must be to contain all of the class GUIDs.

.

    //Inputs:   pointer to hdev, SP_DEV_INFO, bool

.

A pointer to a buffer that receives the NULL-terminated string that contains the name of the class that is specified by the pointer in the ClassGuid parameter.

.

The size, in characters, of the buffer that is pointed to by the ClassName parameter. The maximum size, in characters, of a NULL-terminated class name is MAX_CLASS_NAME_LEN. For more information about the class name size, see the following Comments section.

.

A pointer to a variable that receives the number of characters that are required to store the requested NULL-terminated class name. This pointer is optional and can be NULL.

.

    EntryPoint:="SetupDiDestroyDeviceInfoList", _

.

    EntryPoint:="SetupDiEnumDeviceInfo", _

.

out Pointer to an SP_DEVINFO_DATA structure that receives information about this element. You must set the cbSize member to sizeof(SP_DEVINFO_DATA) before calling this function.

.

A call to SetupDiEnumDeviceInterfaces retrieves a pointer to a structure that identifies a specific device interface in the previously retrieved DeviceInfoSet array. The call specifies a device interface by passing an array index. To retrieve information about all of the device interfaces, an application can loop through the array, incrementing the array index until the function returns zero, indicating that there are no more interfaces. The GetLastError API function then returns No more data is available.

.

This signature has the drawback that it does not allow passing a null pointer as the first parameter, which is one of the common usages cited at [SetupDiGetClassDevs]: "To return devices for all device setup classes, set the DIGCF_ALLCLASSES flag, and set the ClassGuid parameter to NULL."

.

    EntryPoint:="SetupDiGetClassDevsW", _

.

    EntryPoint:="SetupDiGetClassDevsW", _

.

deviceInfoData, Pointer to an SP_DEVINFO_DATA structure that defines the device instance.

.

propertyRegDataType, Pointer to a variable that receives the registry data Type. This parameter can be NULL.</param>

.

propertyBuffer, Pointer to a buffer that receives the requested device property.</param>

.

requiredSize, Pointer to a variable that receives the required buffer size, in bytes. This parameter can be NULL.</param>

.

    EntryPoint:="SetupDiOpenClassRegKeyExW", _

.

    //Inputs:   pointer to hdev, SP_DEV_INFO, bool

.
Section Pointer to a null-terminated string specifying the section of the INF files to search in.
.
Key Optional pointer to a null-terminated string specifying the key to search for within the section. The null-terminated string should not exceed the size of the destination buffer. This parameter can be NULL. If Key is NULL, the first line in the section is returned.
.
Context Pointer to a structure that receives the context information used internally by the INF handle. Applications must not overwrite values in this structure.
.
ContextIn Pointer to the INF file context retrieved by a call to the SetupFindFirstLine function.
.
ContextOut Pointer to a variable in which this function returns the context of the found line. ContextOut can point to ContextIn if the caller wishes.
.
ContextIn Pointer to the INF file context retrieved by a call to the SetupFindFirstLine function.
.
ContextOut Pointer to a variable in which this function returns the context of the found line. ContextOut can point to ContextIn if the caller wishes.
.
Context Pointer to the context for a line in an INF file.
.
ReturnBuffer Optional pointer to a buffer that receives the null-terminated string. You should ensure the destination buffer is the same size or larger than the source buffer. This parameter can be NULL. See the Remarks section.
.
ReturnBufferSize Size of the buffer pointed to by ReturnBuffer, in characters. This includes the null terminator.
.
RequiredSize Optional pointer to a variable that receives the required size for the buffer pointed to by the ReturnBuffer parameter, in characters. If ReturnBuffer is specified and the actual size needed is larger than the value specified by ReturnBufferSize, the function fails and does not store the string in the buffer. In this case, a call to GetLastError returns ERROR_INSUFFICIENT_BUFFER. For the Unicode version of this function, the required size is in characters. This includes the null terminator.
.

If this function is called with a ReturnBuffer of NULL and a ReturnBufferSize of zero, the function puts the buffer size needed to hold the specified data into the variable pointed to by RequiredSize. If the function succeeds in this, the return value is a nonzero value. Otherwise, the return value is zero and extended error information can be obtained by calling GetLastError. You can call the function once to get the required buffer size, allocate the necessary memory, and then call the function a second time to retrieve the data. Using this technique, you can avoid errors due to an insufficient buffer size.

.
FileName Pointer to a null-terminated string containing the name (and optional path) of the INF file to be opened. If the filename does not contain path separator characters, it is searched for, first in the \inf directory, and then in the \system32 directory. If the filename contains path separator characters, it is assumed to be a full path specification and no further processing is performed on it.
.
InfClass Optional pointer to a null-terminated string containing the class of INF file desired. This string must match the Class value of the Version section (for example, Class=Net). If there is no entry in the Class value, but there is an entry for ClassGUID in the Version section, the corresponding class name for that GUID is retrieved and used for the comparison.
.
ErrorLine Optional pointer to a variable to which this function returns the (1-based) line number where an error occurred during loading of the INF file. This value is generally reliable only if GetLastError does not return ERROR_NOT_ENOUGH_MEMORY. If an out-of-memory condition does occur, ErrorLine may be 0.

mapi32

.

[DllImport(@"C:\Program Files\Microsoft Office\Office15\OLMAPI32.dll", EntryPoint = "HrGetAutoDiscoverXML", CharSet = CharSet.Unicode)]

.

To get the Message ID of the first message, lpszSeedMessageID should be null or should point to an empty string. Pass null or an empty string for lpszMessageType to find InterPersonal Message (IPM).

.

[DllImport(@"C:\Program Files\Microsoft Office\Office15\OLMAPI32.dll", EntryPoint = "MAPIInitialize", CharSet = CharSet.Unicode)]

.

[DllImport(@"C:\Program Files\Microsoft Office\Office15\OLMAPI32.dll", EntryPoint = "MAPIUninitialize", CharSet = CharSet.Unicode)]

rasapi32

.

<DllImport("rasapi32.dll", EntryPoint:="RasEnumEntries", CharSet:=CharSet.Auto)> _

.

/// <param name="lpszPhonebook">Pointer to a null-terminated string that specifies the full path and file name of a phone-book (PBK) file.

.

/// <param name="lpszEntry">Pointer to a null-terminated string that specifies an entry name.

.

/// <param name="lpRasEntry">Pointer to the RASENTRY structure that specifies the connection data to associate with the phone-book entry.</param>

oleaut32

.

[DllImport("oleaut32.dll", EntryPoint = "UnRegisterTypeLib", CharSet = CharSet.Auto, SetLastError = true)]

.

<DllImport("MSVCRT.DLL", EntryPoint:="memset", CharSet:=CharSet.Auto, CallingConvention:=CallingConvention.Cdecl)>

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: