Desktop Functions: Smart Device Functions:
|
Search Results for "FIXED" in [All]ole32Guids generated with this will return the name using the FmtIdToPropStgName Function, and can be used to generate a new IPropertyStorage interface with IPropertySetStorage.Create(). The name returned will be filled to 26 chars with the letter 'a' due to the fixed size of a Guid and the fact that we're passing all zeros in the BitArray after the name finishes to reach this size. kernel32
fixed char FaceName[LF_FACESIZE]; The code below correctly obtains the compressed file size also if above 4GB. (Fixed VB and C# code, 2012 Eske Rahn) 4: GetDriveType
/// The GetDriveType function determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive
/// <summary>The drive is a type that cannot be removed, for example, a fixed hard drive.</summary>
Fixed = 3, //DRIVE_FIXED
DRIVE_FIXED = 3 5: LocalAlloc
LMEM_FIXED = 0x0000,
LPTR = (LMEM_FIXED | LMEM_ZEROINIT),
NONZEROLPTR = (LMEM_FIXED)
<VBFixedString(260), MarshalAs(UnmanagedType.ByValTStr, SizeConst:=260)> Public szExeFile As String
fixed char FaceName[32]; // this will require the assembly to be unsafe shlwapi
Init_FixedProgId = 0x800, winspoolI had to fixed Matthias solution, because it doesn't work well for me. Exception is no more occurs, but when some setting is changed in printer properties it isn't used by printer. I've changed second call of DocumentProperties method. The third-from-last paramter MUST be in this case devModeData. shell3210: SHGetImageList As of Windows Vista, SHIL_SMALL, SHIL_LARGE, and SHIL_EXTRALARGE scale with dots per inch (dpi) if the process is marked as dpi-aware. To set these types to be dpi-aware, call SetProcessDPIAware. SHIL_JUMBO is fixed at 256 pixels regardless of the dpi-aware setting. setupapi11: CM_Get_Child
property, A CM_DRP_-prefixed constant value that identifies the device property to be obtained from the registry. These constants are defined in Cfgmgr32.h. 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. 13: CM_Get_Sibling
netapi3214: NetShareEnum
Const NERR_BufTooSmall As Long = 2123& ' Buffer too small for fixed-length data. 15: NetShareGetInfo
Const NERR_BufTooSmall As Long = 2123& ' Buffer too small for fixed-length data.
Throw New Exception("NetShareGetInfo: NERR_BufTooSmall -> Buffer too small for fixed-length data.")
Result = 2123& ' Buffer too small for fixed-length data. 16: NetUseEnum
// previous line has been causing "arithmetic operation resulted in an overflow" exception on x86 systems for me. Fixed with the .Add method. 17: NetUserEnum [2006-03-09] VB sample fixed by Jaime Smith (can't cast Int32 to IntPtr, users and Users cannot both be used in the same scope in VB) [2009-05-20] C# sample fixed by IEBasara dwmapiThis only appears to be an issue with VS2008, and it may have been fixed by the time you are reading this, so try to run the project first, and if you click on one of the 'TaskDialog' buttons and see it popup (ie you dont see an exception) then you do not need to take these steps, if you do get an exception, follow the steps below: This only appears to be an issue with VS2008, and it may have been fixed by the time you are reading this, so try to run the project first, and if you click on one of the 'TaskDialog' buttons and see it popup (ie you dont see an exception) then you do not need to take these steps, if you do get an exception, follow the steps below: gdi3220: EnumFontFamilies
private const byte FIXED_PITCH = 1;
FIXED_PITCH = 1,
/// #define FIXED_PITCH 1
FIXED_PITCH = 1,
// Fixed Pitch & ANSI_CHARSET
List<string> mono = (from f in allFonts where ((f.LogFont.elfLogFont.lfPitchAndFamily & 0x3) == (int)GdiFonts.FontPitch.FIXED_PITCH) & (GdiFonts.FontLanguageCharSet)f.LogFont.elfLogFont.lfCharSet == GdiFonts.FontLanguageCharSet.ANSI_CHARSET select f.LogFont.elfFullName).ToList<string>();
private const byte FIXED_PITCH = 1;
FIXED_PITCH = 1,
/// #define FIXED_PITCH 1
FIXED_PITCH = 1,
// Fixed Pitch & ANSI_CHARSET
List<string> mono = (from f in allFonts where ((f.LogFont.elfLogFont.lfPitchAndFamily & 0x3) == (int)GdiFonts.FontPitch.FIXED_PITCH) & (GdiFonts.FontLanguageCharSet)f.LogFont.elfLogFont.lfCharSet == GdiFonts.FontLanguageCharSet.ANSI_CHARSET select f.LogFont.elfFullName).ToList<string>(); 22: GetGlyphOutline public struct FIXED
[MarshalAs(UnmanagedType.Struct)] public FIXED eM11;
[MarshalAs(UnmanagedType.Struct)] public FIXED eM12;
[MarshalAs(UnmanagedType.Struct)] public FIXED eM21;
[MarshalAs(UnmanagedType.Struct)] public FIXED eM22;
[MarshalAs(UnmanagedType.Struct)] public FIXED x;
[MarshalAs(UnmanagedType.Struct)] public FIXED y; 23: GetStockObject
OEM_FIXED_FONT = 10,
ANSI_FIXED_FONT = 11,
SYSTEM_FIXED_FONT = 16,
OEM_FIXED_FONT = 10
ANSI_FIXED_FONT = 11
SYSTEM_FIXED_FONT = 16 24: MapModes
MM_MAX_FIXEDSCALE = MM_TWIPS 25: SetMapMode
static int MM_MAX_FIXEDSCALE = MM_TWIPS;
const int OEM_FIXED_FONT = 10;
const int ANSI_FIXED_FONT = 11;
const int SYSTEM_FIXED_FONT = 16; user3226: SetKeyboardState
<VBFixedString(128), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=128)> Public szCSDVersion As String ' Maintenance string for PSS usage 27: SetWindowPos To bad that this cannot be resized out of the fixed screen resolution size. 28: SetWinEventHook This is apparently not accurate as the P/Invoke layer automatically generates a marshaling stub at a fixed address: Structures29: COMMPROP
<VBFixedArray(1)> Dim wcProvChar() As Short 30: DEVMODE
public Int32 dmDisplayFixedOutput; POINTL was incorrectly declared to use longs instead of ints, this has been fixed.
public Int32 dmDisplayFixedOutput; 31: FIXED
32: HEAPENTRY32
LF32_FIXED 0x00000001 33: IMAGE_DOS_HEADER
public fixed byte e_magic_byte[2]; // Magic number
public fixed UInt16 e_res1[4]; // Reserved words
public fixed UInt16 e_res2[10]; // Reserved words
''' fixed size structure, and this field is needed to find the end of the COFF
 ' Number of symbols in the COFF symbol table, if present. COFF symbols are a fixed size // this is compelete and Fixed version.
''' The number of directories is not fixed. Check the NumberOfRvaAndSizes member before looking for a specific directory.
' directories is not fixed. Check NumberOfRvaAndSizes before looking for a specific directory.
' directories is not fixed. Check NumberOfRvaAndSizes before looking for a specific directory. From MSDN: The number of directories is not fixed. Check the NumberOfRvaAndSizes member before looking for a specific directory. 36: LOGFONT
FIXED_PITCH = 1,
FIXED_PITCH = 1 37: MAT2
public FIXED eM11;
public FIXED eM12;
public FIXED eM21;
public FIXED eM22;
Public eM11 As FIXED
Public eM12 As FIXED
Public eM21 As FIXED
Public eM22 As FIXED 38: POINT
39: SHARE_INFO_2
Fixed typo. 40: USN_RECORD
public fixed byte FileReferenceNumber[16];
public fixed byte ParentFileReferenceNumber[16];
public fixed char FileName[Windows.MAX_PATH]; 41: VS_FIXEDFILEINFO
42: VS_VERSIONINFO
internal fixed WCHAR szKey[15];
internal VS_FIXEDFILEINFO Value;
<FieldOffset(6), VBFixedArray(15 - 1)> _
Dim Value As VS_FIXEDFILEINFO coredll43: NOTIFYICONDATA
// Obtains the app icon (the resource number is fixed for all apps) for the current 44: waveOutSetVolume
urlmon45: CopyMemory
fixed (byte* pd = dst){ fixed(int* ps = data){ CopyMemory(pd, ps, size); } } iphlpapi46: FIXED_INFO
47: GetNetworkParams
public static extern int GetNetworkParams(IntPtr pFixedInfo, ref UInt32 pBufOutLen);
Public Shared Function GetNetworkParams(pFixedInfo As IntPtr, ByRef pBufOutLen As Integer) As Integer Returns a FIXED_INFO struct. int infoLen = Marshal.SizeOf(typeof(FIXED_INFO)); FIXED_INFO info = (FIXED_INFO)Marshal.PtrToStructure(infoPtr, typeof(FIXED_INFO));
Private Structure FIXED_INFO
Private Shared Function GetNetworkParams(pFixedInfo As IntPtr, ByRef pBufOutLen As Integer) As Integer
Dim info As FIXED_INFO = Marshal.PtrToStructure(infoPtr, GetType(FIXED_INFO))
' We can now access the FIXED_INFO fields here. misc48: Comments [Note from Adam: This is now fixed, and was actually unrelated to coredll.CreateFile. Thanks!] Greate Job! I installed Flexwiki out of the box and it is not the same. This site is much better (you fixed and improved a lot of things in Flexwiki). Now I am learning more about PInvoke comdlg3249: ChooseFont
CF_FIXEDPITCHONLY = 0x00004000, Constants50: PROPERTYKEY
public static PropertyKey WPD_COMMAND_CAPABILITIES_GET_FIXED_PROPERTY_ATTRIBUTES = new PropertyKey(0x0CABEC78, 0x6B74, 0x41C6, 0x92, 0x16, 0x26, 0x39, 0xD1, 0xFC, 0xE3, 0x56, 9); 51: WINERROR
/// The key parameters could not be set because the CSP uses fixed parameters.
public const int NTE_FIXEDPARAMETER = (int)(0x80090025 - 0x100000000); Enums
Fixed = 0x0001,
/// a fixed background bitmap (if supported)
FixedBMP = 0x0004, 53: DriveTypes
DRIVE_FIXED = 3,
Case System.IO.DriveType.Fixed
GMEM_FIXED = 0x0000,
GPTR = (GMEM_FIXED | GMEM_ZEROINIT),
GMEM_FIXED = 0x0000,
GPTR = (GMEM_FIXED | GMEM_ZEROINIT),
FixedBorder = 0x0002,
FixedBorder = &H2 57: HRESULT
///The key parameters could not be set because the CSP uses fixed parameters.
[Description("The key parameters could not be set because the CSP uses fixed parameters.")]
public const int NTE_FIXEDPARAMETER = unchecked((int)0x80090025);
'''The key parameters could not be set because the CSP uses fixed parameters.
<Description("The key parameters could not be set because the CSP uses fixed parameters.")> _
Public Const NTE_FIXEDPARAMETER As Integer = CInt(&H80090025UI) 58: KF_CATEGORY
KF_CATEGORY_FIXED = 0x00000002, 59: LocalMemoryFlags
LMEM_FIXED = 0x0000,
LPTR = (LMEM_FIXED | LMEM_ZEROINIT),
NONZEROLPTR = (LMEM_FIXED), 60: MEDIA_TYPE
FixedMedia,
FixedMedia Cut off search results after 60. Please refine your search. |