Desktop Functions: Smart Device Functions:
|
Search Results for "FIXED" in [All]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) 3: 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 4: 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 netapi327: NetShareEnum
Const NERR_BufTooSmall As Long = 2123& ' Buffer too small for fixed-length data.
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. 9: NetUseEnum
// previous line has been causing "arithmetic operation resulted in an overflow" exception on x86 systems for me. Fixed with the .Add method. 10: 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 user3211: SetKeyboardState
<VBFixedString(128), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=128)> Public szCSDVersion As String ' Maintenance string for PSS usage 12: SetWindowPos To bad that this cannot be resized out of the fixed screen resolution size. 13: SetWinEventHook This is apparently not accurate as the P/Invoke layer automatically generates a marshaling stub at a fixed address: misc14: 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 Constants15: 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); 16: WINERROR
/// The key parameters could not be set because the CSP uses fixed parameters.
public const int NTE_FIXEDPARAMETER = (int)(0x80090025 - 0x100000000); 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: iphlpapi19: FIXED_INFO 20: 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. Enums
Fixed = 0x0001,
/// a fixed background bitmap (if supported)
FixedBMP = 0x0004, 22: 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 26: 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) 27: KF_CATEGORY
KF_CATEGORY_FIXED = 0x00000002, 28: LocalMemoryFlags
LMEM_FIXED = 0x0000,
LPTR = (LMEM_FIXED | LMEM_ZEROINIT),
NONZEROLPTR = (LMEM_FIXED), 29: MEDIA_TYPE
FixedMedia,
FixedMedia 30: SHSTOCKICONID
SIID_DRIVEFIXED = 8,
SIID_DRIVEFIXED = 8
DRIVEFIXED = 8 31: 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 coredll32: NOTIFYICONDATA
// Obtains the app icon (the resource number is fixed for all apps) for the current 33: waveOutSetVolume comdlg3234: ChooseFont
CF_FIXEDPITCHONLY = 0x00004000, comctl3235: 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: winmm
// Need to use IntPtr as WAVEHEADER struct must be in a fixed memory location. See Tips & Tricks below 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. Structures39: COMMPROP
<VBFixedArray(1)> Dim wcProvChar() As Short 40: DEVMODE
public Int32 dmDisplayFixedOutput; POINTL was incorrectly declared to use longs instead of ints, this has been fixed.
public Int32 dmDisplayFixedOutput; 41: FIXED 42: HEAPENTRY32
LF32_FIXED 0x00000001 43: 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. 46: LOGFONT
FIXED_PITCH = 1,
FIXED_PITCH = 1 47: 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 48: POINT 49: SHARE_INFO_2
Fixed typo. 50: USN_RECORD
public fixed byte FileReferenceNumber[16];
public fixed byte ParentFileReferenceNumber[16];
public fixed char FileName[Windows.MAX_PATH]; 51: VS_FIXEDFILEINFO 52: VS_VERSIONINFO
internal fixed WCHAR szKey[15];
internal VS_FIXEDFILEINFO Value;
<FieldOffset(6), VBFixedArray(15 - 1)> _
Dim Value As VS_FIXEDFILEINFO shell3253: 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. gdi3254: 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>(); 56: 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; 57: 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 58: MapModes
MM_MAX_FIXEDSCALE = MM_TWIPS 59: 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; 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. Cut off search results after 60. Please refine your search. |