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 "FOS" in [All]

shlwapi

.

Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment.

user32

.

    Dim dwOSVersionInfoSize As Integer

.

    o.dwOSVersionInfoSize = Len(o)

.

    o.dwOSVersionInfoSize = Len(o)

.

    public static extern bool SystemParametersInfoSet(uint action, uint param, uint vparam,     uint init);

.

    SystemParametersInfoSet(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, 0, 0);

mqrt

.

Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment.

ws2_32

.

        var infoSize = Marshal.SizeOf(BufferRet);

.

        var handle = Marshal.AllocHGlobal(infoSize);

.

            handle, infoSize,

.

        var infoSize = Marshal.SizeOf(BufferRet);

.

        var handle = Marshal.AllocHGlobal(infoSize);

.

            handle, infoSize,

irprops

.

ËÕÒ«°¢÷`i¾Ï/ß·¯f¶°ÃòÚµ¡³8ݼFOSÿ ¿ft.

Interfaces

.

        /// <param name="lcid">Identifies the requested locale for any return szDescription of the enumerated CATEGORYINFOs.</param>

.

    void SetOptions ( [In] FOS fos );

.

    void GetOptions ( out FOS pfos );

.

    void SetOptions ( [In] FOS fos );

.

    void GetOptions ( out FOS pfos );

.

                    InfoPathControl.XmlForm.ViewInfos.SwitchView(viewName);

.

                    if (InfoPathControl.XmlForm.ViewInfos.Count > 0)

.

                        formTemplateViews = new string[InfoPathControl.XmlForm.ViewInfos.Count];

.

                        for (int viewCounter = 0; viewCounter < InfoPathControl.XmlForm.ViewInfos.Count; viewCounter++)

.

                            if (!((ViewInfo)InfoPathControl.XmlForm.ViewInfos[viewCounter]).HideName)

.

                                viewName = InfoPathControl.XmlForm.ViewInfos[viewCounter].Name;

faultrep

.

֎|7Zþ ÿ9Ä»q^}°Xâ/ÙîËýï߀?Wqù€æ‹’ã7ìs¡æÚ/Á"RÿTãzU!ÜÖ²¨›ò/ô»–(dT¢AB\ñÆèvW0͌:䈿XÃý†ÖûŠš=‡íüGÁñš/,Ç¢¡q/ÂvÍ:³¿?K¾ú¿ärÜbìè%Q ԙÂuY&cç"ºÄ”½@]WdƒþÍ·¬•›=Ÿ5 'e9þ­MìV¯íxaaîæ{6ër‡°UƀdАˆ¢sàݤ÷ŒHHæ¼ç•TűxcpKÌ •îLD”0Ps@oÁ§ðv¢Ü­d×gòƒ™r!¯.û¿8+ìQßúeW4?,™)©9¤9ÞÅÊ2”{£ü¯Ê+¾1W3Si™V¢ÕN´#lQÂΫ¿³{ÌÎÔ²iç.½Ù•°ÏýÊ_|õ–sÆõLŸ s£Ô°J,v|ҋâ|\&²Ð„QÖ4%‡Ä—¡´©ÂVq§iq:†çþb|çõ`á•kQ‰²#»EÏ¡²1مÃEïèlÔaðâÊf½ÝÞ5†„Sq¶8ܑ›A5ð ãÎ=Ý\Þ¯Š°(ÚÀ`3³(n5 T\M~:—¿ï_½0S˜®º¯ÞÝfD³Š‚Zò…¾?1©®YFwR­Ä=;8kM—}ᗼ›¬?†êçVtœ E¤Ó$ó=Õ#¦/GóaŸ÷"¤ð/ëúóÔxÝH³foS¹wÊ)«žtÇÙN(j„!›ç7ëÚ}`ö¶~¯aùšH+æ$s.¹9O/mSó5笽„´aN›§â|‹ƒ ¥Ÿ¨ƒ

odbccp32

.

Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment.

httpapi

.

     HTTP_SERVICE_CONFIG_URLACL_SET inputConfigInfoSet = new HTTP_SERVICE_CONFIG_URLACL_SET();

.

     inputConfigInfoSet.KeyDesc = keyDesc;

.

     inputConfigInfoSet.ParamDesc = paramDesc;

.

     Marshal.StructureToPtr(inputConfigInfoSet, pInputConfigInfo, false);

.

         Marshal.SizeOf(inputConfigInfoSet),

.

         Marshal.SizeOf(inputConfigInfoSet),

.

             Marshal.SizeOf(inputConfigInfoSet),

advapi32

.

static extern bool QueryServiceObjectSecurity(IntPtr serviceHandle, System.Security.AccessControl.SecurityInfos secInfo, ref SECURITY_DESCRIPTOR lpSecDesrBuf, uint bufSize, out uint bufSizeNeeded);

.

static extern bool QueryServiceObjectSecurity(SafeHandle serviceHandle, System.Security.AccessControl.SecurityInfos secInfo, byte[] lpSecDesrBuf, uint bufSize, out uint bufSizeNeeded);

.

bool ok = QueryServiceObjectSecurity(sc.ServiceHandle, SecurityInfos.DiscretionaryAcl, psd, 0, out bufSizeNeeded);

.

    ok = QueryServiceObjectSecurity(sc.ServiceHandle, SecurityInfos.DiscretionaryAcl, psd, bufSizeNeeded, out bufSizeNeeded);

.

ok = SetServiceObjectSecurity(sc.ServiceHandle, SecurityInfos.DiscretionaryAcl, rawsd);

.

static extern bool SetServiceObjectSecurity(SafeHandle serviceHandle, System.Security.AccessControl.SecurityInfos secInfos, byte[] lpSecDesrBuf);

wtsapi32

.

Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment.

.

    WTS_PROCESS_INFO[] processInfos = new WTS_PROCESS_INFO[processCount];

.

        processInfos[i] = (ProcessInfo)Marshal.PtrToStructure(pProcessInfo, typeof(WTS_PROCESS_INFO));

.

        pProcessInfo = (IntPtr)((int)pProcessInfo + Marshal.SizeOf(processInfos[i]));

.

    return processInfos;

wininet

.

    <FieldOffset(68)> Public dwHeaderInfoSize As UInt32

.

    <FieldOffset(68)> Public dwHeaderInfoSize As UInt32

kernel32

.

    public uint dwOSVersionInfoSize;

.

    Public dwOSVersionInfoSize As Integer

.

    osv.dwOSVersionInfoSize = Marshal.SizeOf(osv)

.

    osv.dwOSVersionInfoSize = Marshal.SizeOf(osv)

.

don't forget to set the dwOSVersionInfoSize  

.

osVersionInfo.dwOSVersionInfoSize = Marshal.SizeOf(osVersionInfo); // don't forget this line, please!

.

       Public dwOSVersionInfoSize As Integer

.

    FINDEX_INFO_LEVELS findInfoLevel = FINDEX_INFO_LEVELS.FindExInfoStandard;

.

    FINDEX_INFO_LEVELS findInfoLevel = FINDEX_INFO_LEVELS.FindExInfoStandard;

.

    return GetFileAttributesEx(lpFileName, GET_FILEEX_INFO_LEVELS.GetFileExInfoStandard,

.

if (GetFileAttributesEx(path, GET_FILEEX_INFO_LEVELS.GetFileExInfoStandard, out fileData)){

.

    return GetFileAttributesEx(lpFileName, GET_FILEEX_INFO_LEVELS.GetFileExInfoStandard,

.

if (GetFileAttributesEx(path, GET_FILEEX_INFO_LEVELS.GetFileExInfoStandard, out fileData))

.

If you forget to set the OSVersionInfoSize field of the OSVERSIONINFO struct, the function will return false. GetLastError() will return:

.

osvi.OSVersionInfoSize = Marshal.SizeOf( osvi );

.

Console.WriteLine( "Class size:    {0}", osvi.OSVersionInfoSize );

.

osvi2.OSVersionInfoSize = Marshal.SizeOf(ref typeof(OSVERSIONINFO) );

.

Console.WriteLine( "Struct size:   {0}", osvi2.OSVersionInfoSize );

.

If you forget to set the OSVersionInfoSize field of the OSVERSIONINFO struct, the function will return false. GetLastError() will return:

.

osvi.OSVersionInfoSize = Marshal.SizeOf( osvi );

.

Console.WriteLine( "Class size:    {0}", osvi.OSVersionInfoSize );

.

osvi2.OSVersionInfoSize = Marshal.SizeOf(ref typeof(OSVERSIONINFO) );

.

Console.WriteLine( "Struct size:   {0}", osvi2.OSVersionInfoSize );

.

    osv.dwOSVersionInfoSize = Marshal.SizeOf(osv)

.

    osv.dwOSVersionInfoSize = Marshal.SizeOf(osv)

.

   public uint dwOSVersionInfoSize;

msi

.

    public int dwFileHashInfoSize;

.

        // Set the dwFileHashInfoSize to 20 i.e. 5*4

.

        MSIFILEHASHINFO msifilehashinfo = new MSIFILEHASHINFO { dwFileHashInfoSize = 20 };

rasapi32

.

/// <param name="dwEntryInfoSize">Specifies the size, in bytes, of the buffer identified by the lpRasEntry parameter.</param>

.

/// <param name="dwDeviceInfoSize">This parameter is unused. The calling function should set this parameter to zero.</param>

.

   int dwEntryInfoSize,

.

   int dwDeviceInfoSize);

.

Call RasGetEntryProperties beforehand, passing to it a null RASENTRY to get the correct buffer size (dwEntryInfoSize below).

.

    uint dwEntryInfoSize = 0;

.

    uint i = RasGetEntryProperties(null, "", IntPtr.Zero, ref dwEntryInfoSize, IntPtr.Zero, IntPtr.Zero);

Structures

.

    public UInt32 dwOSVersionInfoSize;

.

    Public dwOSVersionInfoSize As UInt32

.

   public uint nDebugInfoSize;

.

    DebugInfoStripped = &H200

.

   public uint nDebugInfoSize;

.

   int dwFileHashInfoSize;

.

   public int dwOSVersionInfoSize;  

.

    public uint dwOSVersionInfoSize;

.

   Public dwOSVersionInfoSize As Integer

.

   public int dwOSVersionInfoSize;  

.

   Public dwOSVersionInfoSize As Integer

setupapi

.

        SetupDiGetDeviceRegistryProperty(NewDeviceInfoSet, DeviceInfoData, DirectCast(SPDRP_FRIENDLYNAME, Integer), propRegDataType, sbDesc, MAX_LEN, reqSize)

.

            SetupDiGetDeviceRegistryProperty(NewDeviceInfoSet, DeviceInfoData, DirectCast(SPDRP_DEVICEDESC, Integer), propRegDataType, sbDesc, MAX_LEN, reqSize)

.

        SetupDiGetDeviceRegistryProperty(NewDeviceInfoSet, DeviceInfoData, DirectCast(SPDRP_HARDWAREID, Integer), propRegDataType, sbHWID, MAX_LEN, reqSize)

.

        SetupDiGetDeviceInstallParams(NewDeviceInfoSet, DeviceInfoData, deviceInstallParams)

.

        If Not SetupDiBuildDriverInfoList(NewDeviceInfoSet, DeviceInfoData, SPDIT_COMPATDRIVER) Then

.

        Dim enumResult As Boolean = SetupDiEnumDriverInfo(NewDeviceInfoSet, DeviceInfoData, SPDIT_COMPATDRIVER, memIndex, drvData)

.

        SetupDiDestroyDriverInfoList(NewDeviceInfoSet, DeviceInfoData, SPDIT_COMPATDRIVER)

.

(ByVal DeviceInfoSet As Long, DeviceInterfaceData As Any, _

.

(ByVal DeviceInfoSet As Long) As Boolean

.

     IntPtr DeviceInfoSet,

.

                          ByVal DeviceInfoSet As Integer, _

.

                          ByVal DeviceInfoSet As IntPtr, _

.

     IntPtr DeviceInfoSet

.

    ByVal DeviceInfoSet As Integer) As Boolean

.

static extern bool SetupDiEnumDeviceInfo(IntPtr DeviceInfoSet, uint MemberIndex, ref SP_DEVINFO_DATA DeviceInfoData);

.

    ByVal DeviceInfoSet As Integer, _

.

    ByVal DeviceInfoSet As Integer, _

.

DeviceInfoSet

.

    ByVal DeviceInfoSet As IntPtr, _

.

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.

.

   IntPtr DeviceInfoSet,

.

   IN HDEVINFO  DeviceInfoSet,

.

    ByVal DeviceInfoSet As IntPtr, _

.

        IntPtr deviceInfoSet,

.

        IntPtr deviceInfoSet,

.

    IntPtr deviceInfoSet,

.

    IntPtr deviceInfoSet,

.

deviceInfoSet, Handle to the device information set that contains the interface and its underlying device

.

    ByVal DeviceInfoSet As Integer, _

.

    IntPtr hDeviceInfoSet,

.

Private Function SetupDiOpenDevRegKey(DeviceInfoSet As IntPtr, ByRef DeviceInfoData As SP_DEVINFO_DATA, Scope As UInteger, HwProfile As UInteger, KeyType As UInteger, samDesired As UInteger) As IntPtr

.

static extern bool SetupDiSetClassInstallParams(IntPtr DeviceInfoSet, ref SP_DEVINFO_DATA DeviceInfoData, IntPtr ClassInstallParams, int ClassInstallParamsSize);

.

static extern bool SetupDiSetClassInstallParams(IntPtr DeviceInfoSet, ref SP_DEVINFO_DATA DeviceInfoData, IntPtr ClassInstallParams, int ClassInstallParamsSize);

fbwflib

.

For more infos visit http://www.codeproject.com/Questions/1074408/How-to-use-the-fbwf-function-FbwfCacheThresholdNot

Enums

.

    FindExInfoStandard=0,

56: FOS
.

enum FOS : uint

.

    FOS_OVERWRITEPROMPT = 0x00000002,

.

    FOS_STRICTFILETYPES = 0x00000004,

.

    FOS_NOCHANGEDIR = 0x00000008,

.

    FOS_PICKFOLDERS = 0x00000020,

.

    FOS_FORCEFILESYSTEM = 0x00000040, // Ensure that items returned are filesystem items.

.

    FOS_ALLNONSTORAGEITEMS = 0x00000080, // Allow choosing items that have no storage.

.

    FOS_NOVALIDATE = 0x00000100,

.

    FOS_ALLOWMULTISELECT = 0x00000200,

.

    FOS_PATHMUSTEXIST = 0x00000800,

.

    FOS_FILEMUSTEXIST = 0x00001000,

.

    FOS_CREATEPROMPT = 0x00002000,

.

    FOS_SHAREAWARE = 0x00004000,

.

    FOS_NOREADONLYRETURN = 0x00008000,

.

    FOS_NOTESTFILECREATE = 0x00010000,

.

    FOS_HIDEMRUPLACES = 0x00020000,

.

    FOS_HIDEPINNEDPLACES = 0x00040000,

.

    FOS_NODEREFERENCELINKS = 0x00100000,

.

    FOS_DONTADDTORECENT = 0x02000000,

.

    FOS_FORCESHOWHIDDEN = 0x10000000,

.

    FOS_DEFAULTNOMINIMODE = 0x20000000

.

Public Enum FOS As UInteger

.
Documentation
[FOS] on MSDN
.

        GetFileExInfoStandard,

.

   GetFileExInfoStandard

avifil32

.

Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment.

netapi32

.

        List<SHARE_INFO_1> ShareInfos = new List<SHARE_INFO_1>();

.

            ShareInfos.Add(shi1);

.

        return ShareInfos.ToArray();

.

        ShareInfos.Add(new SHARE_INFO_1("ERROR=" + ret.ToString(),10,string.Empty));

.

        return ShareInfos.ToArray();

mpr

.

        ref NetConnectInfoStruct lpNetConnectInfoStruct);

.

    public struct NetConnectInfoStruct {

.

        NetConnectInfoStruct ci = new NetConnectInfoStruct();

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


 
Access PInvoke.net directly from VS: