Questions tagged [msdn]

Microsoft Developer Network

The Microsoft Developer Network (MSDN) is the portion of Microsoft responsible for managing the firm's relationship with developers and testers, such as: hardware developers interested in the operating system (OS), and software developers standing on the various OS platforms or using the API and/or scripting languages of Microsoft's applications. The relationship management is situated in assorted media: web sites, newsletters, developer conferences, trade media, blogs and DVD distribution. The life cycle of the relationships ranges from legacy support through evangelizing potential offerings.

1089 questions
7
votes
6 answers

How can Microsoft say the size of a word in WinAPI is 16 bits?

I've just started learning the WinAPI. In the MSDN, the following explanation is provided for the WORD data type. WORD A 16-bit unsigned integer. The range is 0 through 65535 decimal. This type is declared in WinDef.h as follows: typedef…
codegrumps
  • 122
  • 6
7
votes
2 answers

How is Win32 Bitmap rendering faster than pixels?

Win32 bitmaps are (a lot) faster to draw compared to SetPixelV or another function such as. How does this work, if at the end the computer will be drawing pixels for the bitmap?
user5818733
7
votes
1 answer

Using collection initializer on my own class

I am trying to add collection initializing to my class. I read about the initializers here: https://msdn.microsoft.com/en-us/library/bb384062.aspx#Anchor_2 I'll quote the important part that puzzles me: Collection initializers let you specify one…
Inrego
  • 1,524
  • 1
  • 15
  • 25
7
votes
2 answers

Unable to Sign In to Visual Studio 2015

I'm having trouble with "sign in" function in VS 2015. After entering my username\password data i'm getting A network connection attempt has timed out. This could be a problem either with our service or your local network connection. But I can…
Horosho
  • 647
  • 1
  • 8
  • 22
7
votes
1 answer

Schema (XSD) for Microsoft .NET configuration file

I'm searching the XSD (XML Schema) for the Microsoft .NET application configuration files. Till now I found only this: Configuration File Schema for the .NET Framework but I'm more interested in the XSD. Or - asked in general - I search also XSDs in…
Gregor
  • 1,691
  • 1
  • 20
  • 22
7
votes
2 answers

ClientScriptManager.GetPostBackEventReference Method

I'm trying to understand what this method means as I'm reading this and have wondered what uses this may have. I don't quite understand the example given. Can anyone give another explanation of it. Examples would help. Thanks
Brian Liang
  • 7,734
  • 10
  • 57
  • 72
7
votes
1 answer

Is it a Wrong Code in MSDN?

I found the following code in MSDN (here) which appears to be wrong (compile-time error). Isn't it? delegate void D(int x); class C { public static void M1(int i) {...} public void M2(int i) {...} } class Test { static void Main() { …
Kamran Bigdely
  • 7,946
  • 18
  • 66
  • 86
7
votes
5 answers

Microsoft.Office.Interop.Word documentation

I need to use the Microsoft.Office.Interop.Word namespace to extract if a Word document contains macros, and which ones. The MSDN documentation for this namespace doesn't give much information compared to the documentation on other .Net…
rold2007
  • 1,297
  • 1
  • 12
  • 25
7
votes
3 answers

Closehandle() not terminating the process

The process is not getting terminated after closing its handle in CloseHandle(). Well I have a process created by CreateProcess() api. Even after closing Its handle it is still running. From the msdn, they say that CloseHandle() closes the handle…
ScarCode
  • 3,074
  • 3
  • 19
  • 32
7
votes
5 answers

Cheap places for MSDN Licenses

A similar question has been asked: MSDN subscriptions on the cheap?, but I am not interested in the solutions provided: I am not developing a product for sale, I am starting up a consulting company, so Empower is not an option. I have visited the…
torial
  • 13,085
  • 9
  • 62
  • 89
6
votes
2 answers

EnumDisplayDevices function not working for me

I'm trying to get info on my monitors programmatically. The content of the loops is not important right now, they just contain debug statements that will be printed when the loop condition is satisfied. Right now, the outer loop code executes…
LeapDayWilliam
  • 197
  • 1
  • 2
  • 11
6
votes
4 answers

Ensure property can't return null

Is that possible in C# to know from MSDN docs that some method/property/field can or can NOT return null value? e.g. Image.RawFormat Property from MSDN says: The ImageFormat that represents the file format of this Image. Can it return null? Should…
Michael Z
  • 3,883
  • 10
  • 43
  • 57
6
votes
3 answers

Download ASP.NET MVC reference and integrate it with local MSDN Library

Is there a way to download ASP.NET MVC reference and make it available through the local MSDN library? I am tired of going to Microsoft's site everytime I need a simple class or method documentation reference. Thanks!
Pablo Santa Cruz
  • 176,835
  • 32
  • 241
  • 292
6
votes
4 answers

In MSDN, What does TBD stand for?

Here is a list of RPC Data Marshaling Functions from MSDN. As you can see, some of the functions there have a description, but some has "TBD" in description field. Actually, only those which end with 64 have it. If you take a closer look to one…
Hayri Uğur Koltuk
  • 2,970
  • 4
  • 31
  • 60
6
votes
2 answers

Windows - safe to call CloseHandle() when an Overlapped I/O is in progress?

I have a program that has multiple threads which need to use the same handle (it is opened with FILE_SHARE_READ) to write. What happens if one thread closes the handle while another currently has an I/O in progress (WriteFile, in my case)? Does…
user2563087
  • 151
  • 1
  • 8