102 references to UnsafeCollabNativeMethods
System.Net (102)
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (8)
44
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabStartup(c_CollabVersion);
150
SafeCertStore certHandle =
UnsafeCollabNativeMethods
.CertOpenStore(new IntPtr(/*CERT_STORE_PROV_PKCS7*/ 5),
199
SafeCertStore certHandle =
UnsafeCollabNativeMethods
.CertOpenStore(new IntPtr(/*CERT_STORE_PROV_MEMORY*/ 2),
213
bool returnCode =
UnsafeCollabNativeMethods
.CertSaveStore(certHandle,
223
returnCode =
UnsafeCollabNativeMethods
.CertSaveStore(certHandle,
457
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
515
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
574
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
net\PeerToPeer\Collaboration\ContactManager.cs (20)
139
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetContact(null, out contact);
261
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
326
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeSubLstChangedEvent,
462
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
527
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeNameChangedEvent,
668
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
734
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safePresenceChangedEvent,
882
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
952
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeAppChangedEvent,
1096
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
1165
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeObjChangedEvent,
1260
errorCode =
UnsafeCollabNativeMethods
.PeerCollabEnumContacts(out handlePeerEnum);
1266
errorCode =
UnsafeCollabNativeMethods
.PeerGetItemCount(handlePeerEnum, ref contactCount);
1279
errorCode =
UnsafeCollabNativeMethods
.PeerGetNextItem(handlePeerEnum, ref contactCount, out contactArray);
1343
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetContact(peerName.ToString(),
1425
errorCode =
UnsafeCollabNativeMethods
.PeerCollabQueryContactData(ptrPeerEP, ref contactData);
1435
errorCode =
UnsafeCollabNativeMethods
.PeerCollabParseContact(contactData, out contact);
1656
errorCode =
UnsafeCollabNativeMethods
.PeerCollabAddContact(contactXml, out contact);
1716
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabDeleteContact(peerName.ToString());
1763
errorCode =
UnsafeCollabNativeMethods
.PeerCollabUpdateContact(ref pc);
net\PeerToPeer\Collaboration\MyContact.cs (6)
96
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
170
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safePresenceChangedEvent,
262
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
336
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeAppChangedEvent,
426
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
504
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeObjChangedEvent,
net\PeerToPeer\Collaboration\Peer.cs (10)
395
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetPresenceInfo(ptrPeerEP, out presenceInfo);
562
errorCode =
UnsafeCollabNativeMethods
.PeerCollabEnumObjects(ptrPeerEP, guidPtr, out handlePeerEnum);
569
errorCode =
UnsafeCollabNativeMethods
.PeerGetItemCount(handlePeerEnum, ref objectCount);
582
errorCode =
UnsafeCollabNativeMethods
.PeerGetNextItem(handlePeerEnum, ref objectCount, out objectArray);
723
errorCode =
UnsafeCollabNativeMethods
.PeerCollabInviteContact(ref pc,
733
errorCode =
UnsafeCollabNativeMethods
.PeerCollabInviteEndpoint(ptrPeerEP, ref pi, out safeResponse);
1188
errorCode =
UnsafeCollabNativeMethods
.PeerCollabAsyncInviteContact( ref pc,
1199
errorCode =
UnsafeCollabNativeMethods
.PeerCollabAsyncInviteEndpoint(ptrPeerEP, ref pi,
1250
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetInvitationResponse(m_SafeCollabInvite, out response);
1383
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabCancelInvitation(m_SafeCollabInvite);
net\PeerToPeer\Collaboration\PeerApplication.cs (2)
276
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
368
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeAppChangedEvent,
net\PeerToPeer\Collaboration\PeerCollaboration.cs (27)
42
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetPresenceInfo(IntPtr.Zero, out safePresenceInfo);
90
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabSetPresenceInfo(ref ppi);
116
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEndpointName(ref localEndPointName);
145
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabSetEndpointName(value);
168
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetSigninOptions(ref peerScope);
236
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetAppLaunchInfo(out appLaunchInfoData);
333
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabSignin(IntPtr.Zero, peerScope);
361
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabSignout(peerScope);
406
errorCode =
UnsafeCollabNativeMethods
.PeerCollabEnumPeopleNearMe(out handlePeerEnum);
413
errorCode =
UnsafeCollabNativeMethods
.PeerGetItemCount(handlePeerEnum, ref pnmCount);
426
errorCode =
UnsafeCollabNativeMethods
.PeerGetNextItem(handlePeerEnum, ref pnmCount, out appArray);
532
errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterApplication(ref appRegInfo, type);
588
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabUnregisterApplication(ref guid, type);
684
errorCode =
UnsafeCollabNativeMethods
.PeerCollabEnumApplications(IntPtr.Zero, IntPtr.Zero, out handlePeerEnum);
690
errorCode =
UnsafeCollabNativeMethods
.PeerGetItemCount(handlePeerEnum, ref appCount);
704
errorCode =
UnsafeCollabNativeMethods
.PeerGetNextItem(handlePeerEnum, ref appCount, out appArray);
754
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetApplicationRegistrationInfo(ref guid,
831
errorCode =
UnsafeCollabNativeMethods
.PeerCollabSetObject(ref po);
870
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabDeleteObject(ref guid);
914
errorCode =
UnsafeCollabNativeMethods
.PeerCollabEnumObjects(IntPtr.Zero, IntPtr.Zero, out handlePeerEnum);
920
errorCode =
UnsafeCollabNativeMethods
.PeerGetItemCount(handlePeerEnum, ref objectCount);
934
errorCode =
UnsafeCollabNativeMethods
.PeerGetNextItem(handlePeerEnum, ref objectCount, out objectArray);
1058
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
1122
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(s_safeNameChangedEvent,
1281
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(s_safePresenceChangedEvent,
1452
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(s_safeObjChangedEvent,
1614
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(s_safeAppChangedEvent,
net\PeerToPeer\Collaboration\PeerContact.cs (15)
256
errorCode =
UnsafeCollabNativeMethods
.PeerCollabEnumEndpoints(ref pc, out handlePeerEnum);
267
errorCode =
UnsafeCollabNativeMethods
.PeerGetItemCount(handlePeerEnum, ref pepCount);
280
errorCode =
UnsafeCollabNativeMethods
.PeerGetNextItem(handlePeerEnum, ref pepCount, out epArray);
359
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabExportContact(PeerName.ToString(), ref xmlContact);
397
errorCode =
UnsafeCollabNativeMethods
.PeerCollabParseContact(peerContactXml, out contact);
418
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetContact(peerContact.PeerName.ToString(),
1048
errorCode =
UnsafeCollabNativeMethods
.PeerCollabEnumApplications(ptrPeerEP, guidPtr, out handlePeerEnum);
1055
errorCode =
UnsafeCollabNativeMethods
.PeerGetItemCount(handlePeerEnum, ref appCount);
1069
errorCode =
UnsafeCollabNativeMethods
.PeerGetNextItem(handlePeerEnum, ref appCount, out appArray);
1251
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
1343
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeAppChangedEvent,
1501
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
1594
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeObjChangedEvent,
1755
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
1846
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safePresenceChangedEvent,
net\PeerToPeer\Collaboration\PeerEndPoint.cs (2)
235
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
304
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeNameChangedEvent,
net\PeerToPeer\Collaboration\PeerNearMe.cs (5)
254
errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
288
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(safeRefreshedEPDataEvent,
395
errorCode =
UnsafeCollabNativeMethods
.PeerCollabRefreshEndpointData(ptrPeerEP);
574
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
640
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(s_safePeerNearMeChangedEvent,
net\PeerToPeer\Collaboration\PeerObject.cs (2)
225
int errorCode =
UnsafeCollabNativeMethods
.PeerCollabRegisterEvent(
313
errorCode =
UnsafeCollabNativeMethods
.PeerCollabGetEventData(m_safeObjChangedEvent,
net\PeerToPeer\Collaboration\UnsafeCollabNativeMethods.cs (5)
37
UnsafeCollabNativeMethods
.PeerFreeData(handle);
61
UnsafeCollabNativeMethods
.PeerEndEnumeration(handle);
85
UnsafeCollabNativeMethods
.PeerCollabCloseHandle(handle);
109
UnsafeCollabNativeMethods
.CertCloseStore(handle, 0);
167
UnsafeCollabNativeMethods
.PeerCollabUnregisterEvent(handle);