Desktop Functions: Smart Device Functions:
|
Search Results for "FIXED" in [All]misc1: 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 Constants2: 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); 3: 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, 5: 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 9: 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) 10: KF_CATEGORY
KF_CATEGORY_FIXED = 0x00000002, 11: LocalMemoryFlags
LMEM_FIXED = 0x0000,
LPTR = (LMEM_FIXED | LMEM_ZEROINIT),
NONZEROLPTR = (LMEM_FIXED), 12: MEDIA_TYPE
FixedMedia,
FixedMedia 13: SHSTOCKICONID
SIID_DRIVEFIXED = 8,
SIID_DRIVEFIXED = 8
DRIVEFIXED = 8 14: SystemMetric
/// This value is the same as SM_CXFIXEDFRAME.
/// SM_CXFIXEDFRAME is the height of the horizontal border, and SM_CYFIXEDFRAME is the width of the vertical border.
SM_CXFIXEDFRAME = 7,
/// This value is the same as SM_CYFIXEDFRAME.
/// SM_CXFIXEDFRAME is the height of the horizontal border, and SM_CYFIXEDFRAME is the width of the vertical border.
SM_CYFIXEDFRAME = 8,
SM_CXFIXEDFRAME = 7, // 0x07
SM_CYFIXEDFRAME = 8, // 0x08
SM_CXFIXEDFRAME = SM_CXDLGFRAME '/* ;win40 name change */
SM_CYFIXEDFRAME = SM_CYDLGFRAME '/* ;win40 name change */
''' Thickness of the frame around the perimeter of a window that has a caption but is not sizable in pixels. SM_CXFIXEDFRAME is the height of the horizontal border and SM_CYFIXEDFRAME is the width of the vertical border.
''' Thickness of the frame around the perimeter of a window that has a caption but is not sizable in pixels. SM_CXFIXEDFRAME is the height of the horizontal border and SM_CYFIXEDFRAME is the width of the vertical border.
SM_CXFIXEDFRAME = SM_CXDLGFRAME
SM_CYFIXEDFRAME = SM_CYDLGFRAME 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: shell3217: 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. setupapi18: 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. 20: CM_Get_Sibling
urlmon21: CopyMemory
fixed (byte* pd = dst){ fixed(int* ps = data){ CopyMemory(pd, ps, size); } } 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. shlwapi23: AssocQueryString
Init_FixedProgId = 0x800, user3224: SetKeyboardState
<VBFixedString(128), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=128)> Public szCSDVersion As String ' Maintenance string for PSS usage 25: SetWindowPos To bad that this cannot be resized out of the fixed screen resolution size. 26: SetWinEventHook This is apparently not accurate as the P/Invoke layer automatically generates a marshaling stub at a fixed address: comctl3227: TaskDialog 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: 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: gdi3229: 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>(); 31: 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; 32: 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 33: MapModes
MM_MAX_FIXEDSCALE = MM_TWIPS 34: 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; kernel3235: ConsoleFunctions
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) 37: 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 38: LocalAlloc
LMEM_FIXED = 0x0000,
LPTR = (LMEM_FIXED | LMEM_ZEROINIT),
NONZEROLPTR = (LMEM_FIXED) 39: PROCESSENTRY32
<VBFixedString(260), MarshalAs(UnmanagedType.ByValTStr, SizeConst:=260)> Public szExeFile As String
fixed char FaceName[32]; // this will require the assembly to be unsafe coredll41: NOTIFYICONDATA
// Obtains the app icon (the resource number is fixed for all apps) for the current 42: waveOutSetVolume
comdlg3243: ChooseFont
CF_FIXEDPITCHONLY = 0x00004000, 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. netapi3245: NetShareEnum
Const NERR_BufTooSmall As Long = 2123& ' Buffer too small for fixed-length data. 46: 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. 47: NetUseEnum
// previous line has been causing "arithmetic operation resulted in an overflow" exception on x86 systems for me. Fixed with the .Add method. 48: 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 iphlpapi49: FIXED_INFO
50: 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. Structures51: COMMPROP
<VBFixedArray(1)> Dim wcProvChar() As Short 52: DEVMODE
public Int32 dmDisplayFixedOutput; POINTL was incorrectly declared to use longs instead of ints, this has been fixed.
public Int32 dmDisplayFixedOutput; 53: FIXED
54: HEAPENTRY32
LF32_FIXED 0x00000001 55: 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. 58: LOGFONT
FIXED_PITCH = 1,
FIXED_PITCH = 1 59: 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 60: POINT
Cut off search results after 60. Please refine your search. |